Lines Matching refs:data
21 * @hdr: Header data to be authenticity protected
22 * @hdr_len: Length of the header data bytes
23 * @data: Data to encrypt in-place
24 * @data_len: Length of data in bytes
30 u8 *data, size_t data_len, u8 *tag)
62 if (aes_128_ctr_encrypt(key, nonce_mac, data, data_len))
65 os_memcpy(buf + 16, data, data_len);
85 * @hdr: Header data to be authenticity protected
86 * @hdr_len: Length of the header data bytes
87 * @data: Data to encrypt in-place
88 * @data_len: Length of data in bytes
94 u8 *data, size_t data_len, const u8 *tag)
131 os_memcpy(buf + 16, data, data_len);
144 return aes_128_ctr_encrypt(key, nonce_mac, data, data_len);