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 D | crypto_box_seal.c | 15 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 D | crypto_box.c | 31 return crypto_box_NONCEBYTES; in crypto_box_noncebytes()
|
/netbsd/sys/external/isc/libsodium/dist/test/default/ |
H A D | box7.c | 9 static unsigned char n[crypto_box_NONCEBYTES]; 29 randombytes_buf(n, crypto_box_NONCEBYTES); in main()
|
H A D | box8.c | 9 static unsigned char n[crypto_box_NONCEBYTES]; 29 randombytes_buf(n, crypto_box_NONCEBYTES); in main()
|
H A D | box_easy2.c | 42 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 D | dnscrypt.h | 25 #define crypto_box_HALF_NONCEBYTES (crypto_box_NONCEBYTES / 2U) 34 (DNSCRYPT_MAGIC_HEADER_LEN + crypto_box_NONCEBYTES + crypto_box_MACBYTES)
|
H A D | dnscrypt.c | 252 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 D | crypto_box.h | 35 #define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES macro
|
/netbsd/external/apache2/mDNSResponder/dist/Clients/ |
H A D | dnssdutil.c | 4889 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()
|