Home | History | Annotate | Download | only in crypto

Lines Matching refs:mac

2  * One-key CBC MAC (OMAC1) hash with AES-128
30 * omac1_aes_128_vector - One-Key CBC MAC (OMAC1) hash with AES-128
35 * @mac: Buffer for MAC (128 bits, i.e., 16 bytes)
43 const u8 *addr[], const size_t *len, u8 *mac)
97 aes_encrypt(ctx, pad, mac);
104 * omac1_aes_128 - One-Key CBC MAC (OMAC1) hash with AES-128 (aka AES-CMAC)
106 * @data: Data buffer for which a MAC is determined
108 * @mac: Buffer for MAC (128 bits, i.e., 16 bytes)
115 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac)
117 return omac1_aes_128_vector(key, 1, &data, &data_len, mac);