Lines Matching defs:cipher
36 * @cipher: Wrapped key, (n + 1) * 64 bits
39 int aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher)
45 a = cipher;
46 r = cipher + 8;
64 r = cipher + 8;
79 * These are already in @cipher due to the location of temporary
96 * @cipher: Wrapped key to be unwrapped, (n + 1) * 64 bits
100 int aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain)
107 os_memcpy(a, cipher, 8);
109 os_memcpy(r, cipher + 8, 8 * n);
179 * This is a mode for using block cipher (AES in this case) for authentication.
252 * This is a mode for using block cipher (AES in this case) for authentication.