Home | History | Annotate | Download | only in crypto

Lines Matching refs:nonce_len

26  * @nonce_len: Nonce length in bytes
34 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
44 if (nonce_len > data_len)
45 buf_len = nonce_len;
59 os_memcpy(buf + 16, nonce, nonce_len);
60 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
90 * @nonce_len: Nonce length in bytes
98 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
108 if (nonce_len > data_len)
109 buf_len = nonce_len;
123 os_memcpy(buf + 16, nonce, nonce_len);
124 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) {