Home
last modified time | relevance | path

Searched refs:crypto_box_NONCEBYTES (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/
H A Dcrypto_box_seal.c15 crypto_generichash_init(&st, NULL, 0U, crypto_box_NONCEBYTES); in _crypto_box_seal_nonce()
18 crypto_generichash_final(&st, nonce, crypto_box_NONCEBYTES); in _crypto_box_seal_nonce()
27 unsigned char nonce[crypto_box_NONCEBYTES]; in crypto_box_seal()
51 unsigned char nonce[crypto_box_NONCEBYTES]; in crypto_box_seal_open()
H A Dcrypto_box.c31 return crypto_box_NONCEBYTES; in crypto_box_noncebytes()
/freebsd/sys/contrib/libsodium/test/default/
H A Dbox7.c9 static unsigned char n[crypto_box_NONCEBYTES];
29 randombytes_buf(n, crypto_box_NONCEBYTES); in main()
H A Dbox8.c9 static unsigned char n[crypto_box_NONCEBYTES];
29 randombytes_buf(n, crypto_box_NONCEBYTES); in main()
H A Dbox_easy2.c42 nonce = (unsigned char *) sodium_malloc(crypto_box_NONCEBYTES); in main()
49 randombytes_buf(nonce, crypto_box_NONCEBYTES); in main()
/freebsd/contrib/unbound/dnscrypt/
H A Ddnscrypt.h25 #define crypto_box_HALF_NONCEBYTES (crypto_box_NONCEBYTES / 2U)
34 (DNSCRYPT_MAGIC_HEADER_LEN + crypto_box_NONCEBYTES + crypto_box_MACBYTES)
H A Ddnscrypt.c252 uint8_t nonce[crypto_box_NONCEBYTES]; in dnscrypt_server_uncurve()
472 uint8_t nonce[crypto_box_NONCEBYTES]; in dnscrypt_server_curve()
522 crypto_box_NONCEBYTES); in dnscrypt_server_curve()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_box.h35 #define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES macro