Searched refs:crypto_box_NONCEBYTES (Results 1 – 6 of 6) 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()
35 #define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES macro