Home | History | Annotate | Download | only in crypto

Lines Matching refs:nonce_len

20  * @nonce_len: Nonce length in bytes
28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
38 if (nonce_len > data_len)
39 buf_len = nonce_len;
53 os_memcpy(buf + 16, nonce, nonce_len);
54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
84 * @nonce_len: Nonce length in bytes
92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
102 if (nonce_len > data_len)
103 buf_len = nonce_len;
117 os_memcpy(buf + 16, nonce, nonce_len);
118 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) {