Home
last modified time | relevance | path

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

/netbsd/sys/external/isc/libsodium/dist/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()
/netbsd/sys/external/isc/libsodium/dist/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()
/netbsd/external/bsd/unbound/dist/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()
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
H A Dcrypto_box.h35 #define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES macro
/netbsd/external/apache2/mDNSResponder/dist/Clients/
H A Ddnssdutil.c4889 check_compile_time( ( kDNSCryptHalfNonceLength * 2 ) == crypto_box_NONCEBYTES );
5177 uint8_t nonce[ crypto_box_NONCEBYTES ]; in DNSCryptReceiveResponseHandler()
5218 memcpy( nonce, hdr->clientNonce, crypto_box_NONCEBYTES ); in DNSCryptReceiveResponseHandler()
5345 uint8_t nonce[ crypto_box_NONCEBYTES ]; in DNSCryptBuildQuery()