Searched refs:crypto_box_ZEROBYTES (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | box7.c | 25 memset(m, 0, crypto_box_ZEROBYTES); in main() 28 for (mlen = 0; mlen + crypto_box_ZEROBYTES <= mlen_max; mlen++) { in main() 30 randombytes_buf(m + crypto_box_ZEROBYTES, mlen); in main() 31 ret = crypto_box(c, m, mlen + crypto_box_ZEROBYTES, n, bobpk, alicesk); in main() 33 if (crypto_box_open(m2, c, mlen + crypto_box_ZEROBYTES, n, alicepk, in main() 35 for (i = 0; i < mlen + crypto_box_ZEROBYTES; ++i) { in main()
|
H A D | box8.c | 28 for (mlen = 0; mlen + crypto_box_ZEROBYTES <= mlen_max; mlen++) { in main() 30 randombytes_buf(m + crypto_box_ZEROBYTES, mlen); in main() 31 ret = crypto_box(c, m, mlen + crypto_box_ZEROBYTES, n, bobpk, alicesk); in main() 39 c[rand() % (mlen + crypto_box_ZEROBYTES)] = rand(); in main() 40 if (crypto_box_open(m2, c, mlen + crypto_box_ZEROBYTES, n, alicepk, in main() 42 for (i = 0; i < mlen + crypto_box_ZEROBYTES; ++i) { in main()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/ |
H A D | crypto_box.c | 37 return crypto_box_ZEROBYTES; in crypto_box_zerobytes()
|
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/ |
H A D | crypto_box.h | 138 #define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES macro
|
/freebsd/contrib/unbound/dnscrypt/ |
H A D | dnscrypt.c | 494 0, crypto_box_ZEROBYTES); in dnscrypt_server_curve()
|