Searched refs:crypto_box_NONCEBYTES (Results 1 – 8 of 8) sorted by relevance
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()
31 return crypto_box_NONCEBYTES; in crypto_box_noncebytes()
9 static unsigned char n[crypto_box_NONCEBYTES];29 randombytes_buf(n, crypto_box_NONCEBYTES); in main()
42 nonce = (unsigned char *) sodium_malloc(crypto_box_NONCEBYTES); in main()49 randombytes_buf(nonce, crypto_box_NONCEBYTES); in main()
25 #define crypto_box_HALF_NONCEBYTES (crypto_box_NONCEBYTES / 2U)34 (DNSCRYPT_MAGIC_HEADER_LEN + crypto_box_NONCEBYTES + crypto_box_MACBYTES)
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()
35 #define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES macro