Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/crypto/
HDchacha20_poly1305.c57 char local_nonce[12]; in chacha20_poly1305_encrypt() local
62 memcpy(local_nonce, nonce, sizeof(local_nonce)); in chacha20_poly1305_encrypt()
64 memset(local_nonce, 0, 4); in chacha20_poly1305_encrypt()
65 memcpy(local_nonce + 4, nonce, 8); in chacha20_poly1305_encrypt()
68 aad, aad_len, NULL, local_nonce, key); in chacha20_poly1305_encrypt()
76 char local_nonce[12]; in chacha20_poly1305_decrypt() local
82 memcpy(local_nonce, nonce, sizeof(local_nonce)); in chacha20_poly1305_decrypt()
84 memset(local_nonce, 0, 4); in chacha20_poly1305_decrypt()
85 memcpy(local_nonce + 4, nonce, 8); in chacha20_poly1305_decrypt()
88 src, src_len, aad, aad_len, local_nonce, key); in chacha20_poly1305_decrypt()
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
HDmesh_rsn.c587 os_memcpy(ampe->local_nonce, sta->my_nonce, WPA_NONCE_LEN); in mesh_rsn_protect_frame()
738 os_memcpy(sta->peer_nonce, ampe->local_nonce, in mesh_rsn_process_ampe()
739 sizeof(ampe->local_nonce)); in mesh_rsn_process_ampe()
/freebsd-13-stable/contrib/wpa/src/common/
HDieee802_11_defs.h1228 u8 local_nonce[32]; member