Home
last modified time | relevance | path

Searched refs:crypto_box_ZEROBYTES (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dbox7.c25 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 Dbox8.c28 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 Dcrypto_box.c37 return crypto_box_ZEROBYTES; in crypto_box_zerobytes()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_box.h138 #define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES macro
/freebsd/contrib/unbound/dnscrypt/
H A Ddnscrypt.c494 0, crypto_box_ZEROBYTES); in dnscrypt_server_curve()