Home
last modified time | relevance | path

Searched refs:crypto_hash_sha256_BYTES (Results 1 – 25 of 46) sorted by relevance

12

/dports/games/0ad/0ad-0.0.23b-alpha/source/third_party/encryption/
H A Dpkcs5_pbkdf2.cpp31 if (key_len > crypto_hash_sha256_BYTES) in hmac_sha256()
36 key_len = crypto_hash_sha256_BYTES; in hmac_sha256()
39 unsigned char k_pad[crypto_hash_sha256_BYTES]; in hmac_sha256()
68 …gned char asalt[crypto_hash_sha256_BYTES + 4], obuf[crypto_hash_sha256_BYTES], d1[crypto_hash_sha2… in pbkdf2()
73 …if (salt_len > crypto_hash_sha256_BYTES) salt_len = crypto_hash_sha256_BYTES; // length cap for th… in pbkdf2()
84 memcpy(obuf, d1, crypto_hash_sha256_BYTES); in pbkdf2()
89 memcpy(d1, d2, crypto_hash_sha256_BYTES); in pbkdf2()
94 memcpy(output, obuf, crypto_hash_sha256_BYTES); in pbkdf2()
95 key += crypto_hash_sha256_BYTES; in pbkdf2()
96 if (key_len < crypto_hash_sha256_BYTES) in pbkdf2()
[all …]
H A Dpkcs5_pbkdf2.h38 int pbkdf2(unsigned char (&output)[crypto_hash_sha256_BYTES],
/dports/games/0ad/0ad-0.0.23b-alpha/source/third_party/encryption/tests/
H A Dtest_pkcs5_pbkdf5.h28 const unsigned char salt_buffer[crypto_hash_sha256_BYTES] = { in test_pkcs5_pbkd2()
36 unsigned char encrypted1A[crypto_hash_sha256_BYTES], encrypted1B[crypto_hash_sha256_BYTES]; in test_pkcs5_pbkd2()
37 …rypted1A, (unsigned char*)password1, sizeof(password1), salt_buffer, crypto_hash_sha256_BYTES, 50); in test_pkcs5_pbkd2()
38 …rypted1B, (unsigned char*)password1, sizeof(password1), salt_buffer, crypto_hash_sha256_BYTES, 50); in test_pkcs5_pbkd2()
48 unsigned char encrypted2A[crypto_hash_sha256_BYTES], encrypted2B[crypto_hash_sha256_BYTES]; in test_pkcs5_pbkd2()
49 …ypted2A, (unsigned char*)password1, sizeof(password1), salt_buffer, crypto_hash_sha256_BYTES, 100); in test_pkcs5_pbkd2()
50 …ypted2B, (unsigned char*)password1, sizeof(password1), salt_buffer, crypto_hash_sha256_BYTES, 100); in test_pkcs5_pbkd2()
59 unsigned char encrypted3A[crypto_hash_sha256_BYTES], encrypted3B[crypto_hash_sha256_BYTES]; in test_pkcs5_pbkd2()
60 …rypted3A, (unsigned char*)password2, sizeof(password2), salt_buffer, crypto_hash_sha256_BYTES, 50); in test_pkcs5_pbkd2()
61 …rypted3B, (unsigned char*)password2, sizeof(password2), salt_buffer, crypto_hash_sha256_BYTES, 50); in test_pkcs5_pbkd2()
/dports/security/py-pynacl/PyNaCl-1.4.0/src/nacl/bindings/
H A Dcrypto_hash.py24 crypto_hash_sha256_BYTES = lib.crypto_hash_sha256_bytes() variable
50 digest = ffi.new("unsigned char[]", crypto_hash_sha256_BYTES)
55 return ffi.buffer(digest, crypto_hash_sha256_BYTES)[:]
H A D__init__.py71 crypto_hash_sha256_BYTES, crypto_hash_sha512, crypto_hash_sha512_BYTES,
/dports/net/cjdns/cjdns-cjdns-v21.1/node_build/dependencies/cnacl/commandline/
H A Dnacl-sha256.c20 unsigned char h[crypto_hash_sha256_BYTES];
25 for (i = 0;i < crypto_hash_sha256_BYTES;++i) printf("%02x",255 & (int) h[i]); in h_print()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/
H A Dhash.c28 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
33 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
/dports/security/libsodium/libsodium-1.0.18/test/default/
H A Dhash.c28 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
33 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/test/default/
H A Dhash.c28 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
33 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/
H A Dhash.c28 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
33 for (i = 0; i < crypto_hash_sha256_BYTES; ++i) { in main()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/sodiumoxide-0.2.7/src/crypto/hash/
H A Dsha256.rs10 crypto_hash_sha256, crypto_hash_sha256_BYTES, crypto_hash_sha256_final,
20 crypto_hash_sha256_BYTES as usize,
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/crypto_hash/sha256/
H A Dhash_sha256.c6 return crypto_hash_sha256_BYTES; in crypto_hash_sha256_bytes()
/dports/security/libsodium/libsodium-1.0.18/src/libsodium/crypto_hash/sha256/
H A Dhash_sha256.c6 return crypto_hash_sha256_BYTES;
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/src/libsodium/crypto_hash/sha256/
H A Dhash_sha256.c6 return crypto_hash_sha256_BYTES; in crypto_hash_sha256_bytes()
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/crypto_hash/sha256/
H A Dhash_sha256.c6 return crypto_hash_sha256_BYTES; in crypto_hash_sha256_bytes()
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/libsodium-sys-stable-1.19.19/tests/crypto/
H A Dcrypto_hash_sha256.rs7 assert!(unsafe { crypto_hash_sha256_bytes() } == crypto_hash_sha256_BYTES as usize) in test_crypto_hash_sha256_bytes()
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/tests/crypto/
H A Dcrypto_hash_sha256.rs7 assert!(unsafe { crypto_hash_sha256_bytes() } == crypto_hash_sha256_BYTES as usize) in test_crypto_hash_sha256_bytes()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/tests/crypto/
H A Dcrypto_hash_sha256.rs7 assert!(unsafe { crypto_hash_sha256_bytes() } == crypto_hash_sha256_BYTES as usize) in test_crypto_hash_sha256_bytes()
/dports/security/libsodium/libsodium-1.0.18/src/libsodium/include/sodium/
H A Dcrypto_hash_sha256.h33 #define crypto_hash_sha256_BYTES 32U macro
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/src/libsodium/include/sodium/
H A Dcrypto_hash_sha256.h33 #define crypto_hash_sha256_BYTES 32U macro
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/include/sodium/
H A Dcrypto_hash_sha256.h33 #define crypto_hash_sha256_BYTES 32U macro
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/src/libsodium/include/sodium/
H A Dcrypto_hash_sha256.h33 #define crypto_hash_sha256_BYTES 32U macro
/dports/security/py-libnacl/libnacl-1.6.1/tests/unit/
H A Dtest_raw_hash.py23 self.assertEqual(ref256.digest_size, libnacl.crypto_hash_sha256_BYTES)
/dports/net-im/tox/c-toxcore-0.2.13/toxencryptsave/
H A Dtoxencryptsave.c125 uint8_t passkey[crypto_hash_sha256_BYTES]; in tox_pass_key_derive_with_salt()
143 crypto_memzero(passkey, crypto_hash_sha256_BYTES); /* wipe plaintext pw */ in tox_pass_key_derive_with_salt()
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dtweetnacl.h146 #define crypto_hash_sha256_BYTES crypto_hash_sha256_tweet_BYTES macro

12