Home
last modified time | relevance | path

Searched refs:CHACHA20POLY1305_NONCE_SIZE (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sys/crypto/
H A Dchachapoly.h23 #define CHACHA20POLY1305_NONCE_SIZE 12 macro
37 const uint8_t[CHACHA20POLY1305_NONCE_SIZE],
41 const uint8_t[CHACHA20POLY1305_NONCE_SIZE],
64 const uint8_t[CHACHA20POLY1305_NONCE_SIZE],
67 const uint8_t[CHACHA20POLY1305_NONCE_SIZE],
H A Dchachapoly.c49 const uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE], in _chacha20poly1305_init() argument
207 const uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE], in chacha20poly1305_encrypt() argument
227 const uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE], in chacha20poly1305_decrypt() argument
262 uint8_t derived_nonce[CHACHA20POLY1305_NONCE_SIZE]; in xchacha20poly1305_encrypt()
284 uint8_t derived_nonce[CHACHA20POLY1305_NONCE_SIZE]; in xchacha20poly1305_decrypt()
361 const uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE], in chacha20poly1305_encrypt_mbuf() argument
383 const uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE], in chacha20poly1305_decrypt_mbuf() argument
/dragonfly/sys/net/wg/
H A Dwg_noise.c992 uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE]; in noise_keypair_encrypt()
1011 uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE]; in noise_keypair_decrypt()
1557 static const uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE] = { 0 }; in noise_msg_encrypt()
1570 static const uint8_t nonce[CHACHA20POLY1305_NONCE_SIZE] = { 0 }; in noise_msg_decrypt()