Home
last modified time | relevance | path

Searched refs:sha3_256 (Results 1 – 25 of 710) sorted by relevance

12345678910>>...29

/dports/security/p5-CryptX/CryptX-0.075/t/
H A Ddigest_sha3_256.t18 is( sha3_256("A","A","A"), pack("H*","7dcb827a1f5a7cbea423e763a7dd0c7824e3512c7f1ce48cd5710f603b4f1…
20 is( sha3_256_b64("A","A","A"), "fcuCeh9afL6kI+djp90MeCTjUSx/HOSM1XEPYDtPHvo=", 'sha3_256 (base64/tr…
21 is( sha3_256_b64u("A","A","A"), "fcuCeh9afL6kI-djp90MeCTjUSx_HOSM1XEPYDtPHvo", 'sha3_256 (base64url…
30 is( sha3_256(""), pack("H*","a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a"), 's…
31 is( sha3_256_hex(""), "a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a", 'sha3_256
32 is( sha3_256_b64(""), "p//G+L8e12ZRwUdWoGHWYvWA/03kO0n6gtgKS4D4Q0o=", 'sha3_256 (base64/1)');
39 is( sha3_256("123"), pack("H*","a03ab19b866fc585b5cb1812a2f63ca861e7e7643ee5d43fd7106b623725fd67"),…
40 …ex("123"), "a03ab19b866fc585b5cb1812a2f63ca861e7e7643ee5d43fd7106b623725fd67", 'sha3_256 (hex/2)');
41 is( sha3_256_b64("123"), "oDqxm4ZvxYW1yxgSovY8qGHn52Q+5dQ/1xBrYjcl/Wc=", 'sha3_256 (base64/2)');
48 is( sha3_256("test\0test\0test\n"), pack("H*","fb08b084e0cff0f17d0d7054aaed12269d2fa08e4c770c4ad497…
[all …]
/dports/security/liboqs/liboqs-0.7.0/src/kem/saber/pqclean_lightsaber_avx2/
H A Dkem.c19sha3_256(sk + SABER_SECRETKEYBYTES - 64, pk, SABER_INDCPA_PUBLICKEYBYTES); // Then hash(pk) is app… in PQCLEAN_LIGHTSABER_AVX2_crypto_kem_keypair()
33sha3_256(buf, buf, 32); // BUF[0:31] <-- random message (will be used as the key for client) Note:… in PQCLEAN_LIGHTSABER_AVX2_crypto_kem_enc()
35sha3_256(buf + 32, pk, SABER_INDCPA_PUBLICKEYBYTES); // BUF[32:63] <-- Hash(public key); Multitar… in PQCLEAN_LIGHTSABER_AVX2_crypto_kem_enc()
42 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); in PQCLEAN_LIGHTSABER_AVX2_crypto_kem_enc()
44 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_LIGHTSABER_AVX2_crypto_kem_enc()
70 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); // overwrite coins in kr with h(c) in PQCLEAN_LIGHTSABER_AVX2_crypto_kem_dec()
74 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_LIGHTSABER_AVX2_crypto_kem_dec()
/dports/security/liboqs/liboqs-0.7.0/src/kem/saber/pqclean_saber_clean/
H A Dkem.c19sha3_256(sk + SABER_SECRETKEYBYTES - 64, pk, SABER_INDCPA_PUBLICKEYBYTES); // Then hash(pk) is app… in PQCLEAN_SABER_CLEAN_crypto_kem_keypair()
33sha3_256(buf, buf, 32); // BUF[0:31] <-- random message (will be used as the key for client) Note:… in PQCLEAN_SABER_CLEAN_crypto_kem_enc()
35sha3_256(buf + 32, pk, SABER_INDCPA_PUBLICKEYBYTES); // BUF[32:63] <-- Hash(public key); Multitar… in PQCLEAN_SABER_CLEAN_crypto_kem_enc()
42 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); in PQCLEAN_SABER_CLEAN_crypto_kem_enc()
44 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_SABER_CLEAN_crypto_kem_enc()
70 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); // overwrite coins in kr with h(c) in PQCLEAN_SABER_CLEAN_crypto_kem_dec()
74 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_SABER_CLEAN_crypto_kem_dec()
/dports/security/liboqs/liboqs-0.7.0/src/kem/saber/pqclean_firesaber_avx2/
H A Dkem.c19sha3_256(sk + SABER_SECRETKEYBYTES - 64, pk, SABER_INDCPA_PUBLICKEYBYTES); // Then hash(pk) is app… in PQCLEAN_FIRESABER_AVX2_crypto_kem_keypair()
33sha3_256(buf, buf, 32); // BUF[0:31] <-- random message (will be used as the key for client) Note:… in PQCLEAN_FIRESABER_AVX2_crypto_kem_enc()
35sha3_256(buf + 32, pk, SABER_INDCPA_PUBLICKEYBYTES); // BUF[32:63] <-- Hash(public key); Multitar… in PQCLEAN_FIRESABER_AVX2_crypto_kem_enc()
42 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); in PQCLEAN_FIRESABER_AVX2_crypto_kem_enc()
44 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_FIRESABER_AVX2_crypto_kem_enc()
70 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); // overwrite coins in kr with h(c) in PQCLEAN_FIRESABER_AVX2_crypto_kem_dec()
74 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_FIRESABER_AVX2_crypto_kem_dec()
/dports/security/liboqs/liboqs-0.7.0/src/kem/saber/pqclean_lightsaber_clean/
H A Dkem.c19sha3_256(sk + SABER_SECRETKEYBYTES - 64, pk, SABER_INDCPA_PUBLICKEYBYTES); // Then hash(pk) is app…
33sha3_256(buf, buf, 32); // BUF[0:31] <-- random message (will be used as the key for client) Note:…
35sha3_256(buf + 32, pk, SABER_INDCPA_PUBLICKEYBYTES); // BUF[32:63] <-- Hash(public key); Multitar…
42 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC);
44 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k
70 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); // overwrite coins in kr with h(c)
74 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k
/dports/security/liboqs/liboqs-0.7.0/src/kem/saber/pqclean_firesaber_clean/
H A Dkem.c19sha3_256(sk + SABER_SECRETKEYBYTES - 64, pk, SABER_INDCPA_PUBLICKEYBYTES); // Then hash(pk) is app…
33sha3_256(buf, buf, 32); // BUF[0:31] <-- random message (will be used as the key for client) Note:…
35sha3_256(buf + 32, pk, SABER_INDCPA_PUBLICKEYBYTES); // BUF[32:63] <-- Hash(public key); Multitar…
42 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC);
44 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k
70 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); // overwrite coins in kr with h(c)
74 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k
/dports/security/liboqs/liboqs-0.7.0/src/kem/saber/pqclean_saber_avx2/
H A Dkem.c19sha3_256(sk + SABER_SECRETKEYBYTES - 64, pk, SABER_INDCPA_PUBLICKEYBYTES); // Then hash(pk) is app… in PQCLEAN_SABER_AVX2_crypto_kem_keypair()
33sha3_256(buf, buf, 32); // BUF[0:31] <-- random message (will be used as the key for client) Note:… in PQCLEAN_SABER_AVX2_crypto_kem_enc()
35sha3_256(buf + 32, pk, SABER_INDCPA_PUBLICKEYBYTES); // BUF[32:63] <-- Hash(public key); Multitar… in PQCLEAN_SABER_AVX2_crypto_kem_enc()
42 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); in PQCLEAN_SABER_AVX2_crypto_kem_enc()
44 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_SABER_AVX2_crypto_kem_enc()
70 sha3_256(kr + 32, c, SABER_BYTES_CCA_DEC); // overwrite coins in kr with h(c) in PQCLEAN_SABER_AVX2_crypto_kem_dec()
74 sha3_256(k, kr, 64); // hash concatenation of pre-k and h(c) to k in PQCLEAN_SABER_AVX2_crypto_kem_dec()
/dports/security/erlang-jose/erlang-jose-1.11.1/src/
H A Djose_sha3.erl14 -callback sha3_256(InputBytes::binary()) -> OutputBytes::binary().
22 -export([sha3_256/1]).
38 sha3_256(InputBytes) -> function
39 ?JOSE_SHA3:sha3_256(InputBytes).
H A Djose_sha3_keccakf1600_driver.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 keccakf1600_fips202:sha3_256(InputBytes).
H A Djose_sha3_keccakf1600_nif.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 keccakf1600:hash(sha3_256, InputBytes).
H A Djose_sha3_libdecaf.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 libdecaf_sha3:hash(sha3_256, InputBytes).
/dports/security/elixir-jose/erlang-jose-1.11.1/src/
H A Djose_sha3.erl14 -callback sha3_256(InputBytes::binary()) -> OutputBytes::binary().
22 -export([sha3_256/1]).
38 sha3_256(InputBytes) -> function
39 ?JOSE_SHA3:sha3_256(InputBytes).
H A Djose_sha3_keccakf1600_driver.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 keccakf1600_fips202:sha3_256(InputBytes).
H A Djose_sha3_keccakf1600_nif.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 keccakf1600:hash(sha3_256, InputBytes).
H A Djose_sha3_libdecaf.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 libdecaf_sha3:hash(sha3_256, InputBytes).
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/jose/src/
H A Djose_sha3.erl14 -callback sha3_256(InputBytes::binary()) -> OutputBytes::binary().
22 -export([sha3_256/1]).
38 sha3_256(InputBytes) -> function
39 ?JOSE_SHA3:sha3_256(InputBytes).
H A Djose_sha3_keccakf1600_driver.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 keccakf1600_fips202:sha3_256(InputBytes).
H A Djose_sha3_keccakf1600_nif.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 keccakf1600:hash(sha3_256, InputBytes).
H A Djose_sha3_libdecaf.erl17 -export([sha3_256/1]).
30 sha3_256(InputBytes) -> function
31 libdecaf_sha3:hash(sha3_256, InputBytes).
/dports/security/s2n/s2n-tls-1.1.2/pq-crypto/kyber_r3/
H A Dkyber512r3_kem.c40sha3_256(sk+S2N_KYBER_512_R3_SECRET_KEY_BYTES-2*S2N_KYBER_512_R3_SYMBYTES, pk, S2N_KYBER_512_R3_PU… in s2n_kyber_512_r3_crypto_kem_keypair()
70 sha3_256(buf, buf, S2N_KYBER_512_R3_SYMBYTES); in s2n_kyber_512_r3_crypto_kem_enc()
73 sha3_256(buf+S2N_KYBER_512_R3_SYMBYTES, pk, S2N_KYBER_512_R3_PUBLIC_KEY_BYTES); in s2n_kyber_512_r3_crypto_kem_enc()
87 sha3_256(kr+S2N_KYBER_512_R3_SYMBYTES, ct, S2N_KYBER_512_R3_CIPHERTEXT_BYTES); in s2n_kyber_512_r3_crypto_kem_enc()
149 sha3_256(kr+S2N_KYBER_512_R3_SYMBYTES, ct, S2N_KYBER_512_R3_CIPHERTEXT_BYTES); in s2n_kyber_512_r3_crypto_kem_dec()
/dports/security/py-pysha3/pysha3-1.0.2/
H A Dsha3.py9 from _pysha3 import sha3_224, sha3_256, sha3_384, sha3_512
20 _hashlib.sha3_256 = sha3_256
/dports/security/tor/tor-0.4.6.8/src/test/
H A Dhs_build_address.py16 m = sha3.sha3_256(TEST_INPUT)
18 m = hashlib.sha3_256(TEST_INPUT)
44 checksum = hashlib.sha3_256(data).digest()
H A Dhs_indexes.py29 if TEST_VALUE != sha3.sha3_256(b"Hello World").hexdigest():
51 hsdir_index = hashlib.sha3_256(data).hexdigest()
73 hs_index = hashlib.sha3_256(data).hexdigest()
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/test/
H A Dhs_indexes.py29 if TEST_VALUE != sha3.sha3_256(b"Hello World").hexdigest():
51 hsdir_index = hashlib.sha3_256(data).hexdigest()
73 hs_index = hashlib.sha3_256(data).hexdigest()
H A Dhs_build_address.py16 m = sha3.sha3_256(TEST_INPUT)
18 m = hashlib.sha3_256(TEST_INPUT)
44 checksum = hashlib.sha3_256(data).digest()

12345678910>>...29