Home
last modified time | relevance | path

Searched refs:nonce_hex (Results 1 – 25 of 33) sorted by relevance

12

/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/
H A Dsodium_utils.c40 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
44 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
48 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
52 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
57 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
134 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
139 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
143 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
151 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
157 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
[all …]
H A Dchacha20.c10 const char *nonce_hex; in tv() member
35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv()
36 strlen(tests[i].nonce_hex), NULL, NULL, NULL); in tv()
85 const char *nonce_hex; in tv_ietf() member
122 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv_ietf()
123 strlen(tests[i].nonce_hex), ": ", NULL, NULL); in tv_ietf()
H A Daead_chacha20poly13052.c7 const char nonce_hex[crypto_aead_chacha20poly1305_ietf_NPUBBYTES * 2 + 1]; member
976 assert(strlen(tests[i].nonce_hex) == in tv()
979 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL, in tv()
H A Daead_aes256gcm2.c7 const char nonce_hex[crypto_aead_aes256gcm_NPUBBYTES * 2 + 1]; member
206 assert(strlen(tests[i].nonce_hex) == in tv()
209 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL, in tv()
H A Daead_aes256gcm.c7 const char *nonce_hex; member
3110 assert(strlen(tests[i].nonce_hex) == 2 * crypto_aead_aes256gcm_NPUBBYTES); in tv()
3112 tests[i].nonce_hex, strlen(tests[i].nonce_hex), in tv()
/dports/security/libsodium/libsodium-1.0.18/test/default/
H A Dsodium_utils.c40 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
44 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
48 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
52 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
57 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
134 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
139 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
143 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
151 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
157 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
[all …]
H A Dchacha20.c10 const char *nonce_hex; in tv() member
35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv()
36 strlen(tests[i].nonce_hex), NULL, NULL, NULL); in tv()
85 const char *nonce_hex; in tv_ietf() member
122 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv_ietf()
123 strlen(tests[i].nonce_hex), ": ", NULL, NULL); in tv_ietf()
H A Daead_aes256gcm2.c7 const char nonce_hex[crypto_aead_aes256gcm_NPUBBYTES * 2 + 1]; member
206 assert(strlen(tests[i].nonce_hex) == in tv()
209 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL, in tv()
H A Daead_chacha20poly13052.c7 const char nonce_hex[crypto_aead_chacha20poly1305_ietf_NPUBBYTES * 2 + 1];
976 assert(strlen(tests[i].nonce_hex) ==
979 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL,
H A Daead_aes256gcm.c7 const char *nonce_hex; member
3110 assert(strlen(tests[i].nonce_hex) == 2 * crypto_aead_aes256gcm_NPUBBYTES); in tv()
3112 tests[i].nonce_hex, strlen(tests[i].nonce_hex), in tv()
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/test/default/
H A Dsodium_utils.c40 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
44 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
48 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
52 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
57 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
134 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
139 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
143 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
151 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
157 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
[all …]
H A Dchacha20.c10 const char *nonce_hex; in tv() member
35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv()
36 strlen(tests[i].nonce_hex), NULL, NULL, NULL); in tv()
85 const char *nonce_hex; in tv_ietf() member
122 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv_ietf()
123 strlen(tests[i].nonce_hex), ": ", NULL, NULL); in tv_ietf()
H A Daead_chacha20poly13052.c7 const char nonce_hex[crypto_aead_chacha20poly1305_ietf_NPUBBYTES * 2 + 1]; member
976 assert(strlen(tests[i].nonce_hex) == in tv()
979 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL, in tv()
H A Daead_aes256gcm2.c7 const char nonce_hex[crypto_aead_aes256gcm_NPUBBYTES * 2 + 1]; member
206 assert(strlen(tests[i].nonce_hex) == in tv()
209 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL, in tv()
H A Daead_aes256gcm.c7 const char *nonce_hex; member
3110 assert(strlen(tests[i].nonce_hex) == 2 * crypto_aead_aes256gcm_NPUBBYTES); in tv()
3112 tests[i].nonce_hex, strlen(tests[i].nonce_hex), in tv()
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/
H A Dsodium_utils.c40 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
44 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
48 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
52 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
57 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
134 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
139 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
143 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
151 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
157 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
[all …]
H A Dchacha20.c10 const char *nonce_hex; in tv() member
35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv()
36 strlen(tests[i].nonce_hex), NULL, NULL, NULL); in tv()
85 const char *nonce_hex; in tv_ietf() member
122 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv_ietf()
123 strlen(tests[i].nonce_hex), ": ", NULL, NULL); in tv_ietf()
H A Daead_chacha20poly13052.c7 const char nonce_hex[crypto_aead_chacha20poly1305_ietf_NPUBBYTES * 2 + 1]; member
976 assert(strlen(tests[i].nonce_hex) == in tv()
979 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL, in tv()
H A Daead_aes256gcm2.c7 const char nonce_hex[crypto_aead_aes256gcm_NPUBBYTES * 2 + 1]; member
206 assert(strlen(tests[i].nonce_hex) == in tv()
209 tests[i].nonce_hex, strlen(tests[i].nonce_hex), NULL, in tv()
H A Daead_aes256gcm.c7 const char *nonce_hex; member
3110 assert(strlen(tests[i].nonce_hex) == 2 * crypto_aead_aes256gcm_NPUBBYTES); in tv()
3112 tests[i].nonce_hex, strlen(tests[i].nonce_hex), in tv()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/ethash/test/unittests/
H A Dtest_managed.cpp28 const uint64_t nonce = std::stoull(t.nonce_hex, nullptr, 16); in TEST()
49 const uint64_t nonce = std::stoull(t.nonce_hex, nullptr, 16); in TEST()
75 const uint64_t nonce = std::stoull(t.nonce_hex, nullptr, 16); in TEST()
98 const uint64_t nonce = std::stoull(t.nonce_hex, nullptr, 16); in TEST()
H A Dtest_cases.hpp17 const char* nonce_hex; member
H A Dprogpow_test_vectors.hpp17 const char* nonce_hex; member
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/Doc/src/hash/
H A Dpoly1305.rst28 >>> # with its MAC 'mac_tag_hex' and the nonce 'nonce_hex'
31 >>> nonce = unhexlify(nonce_hex)
/dports/security/py-pycryptodome/pycryptodome-3.10.1/Doc/src/hash/
H A Dpoly1305.rst28 >>> # with its MAC 'mac_tag_hex' and the nonce 'nonce_hex'
31 >>> nonce = unhexlify(nonce_hex)

12