Lines Matching defs:hash_subkey

54 	u8 hash_subkey[16] AESNI_ALIGN_ATTR;
60 u8 hash_subkey[16] AESNI_ALIGN_ATTR;
121 * u8 *hash_subkey, the Hash sub key input. Data starts on a 16-byte boundary.
131 u8 *hash_subkey, const u8 *aad, unsigned long aad_len,
142 * u8 *hash_subkey, the Hash sub key input. Data starts on a 16-byte boundary.
153 u8 *hash_subkey, const u8 *aad, unsigned long aad_len,
160 u8 *hash_subkey, const u8 *aad,
175 u8 *hash_subkey, const u8 *aad, unsigned long aad_len);
200 * u8 *hash_subkey, the Hash sub key input. Data starts on a 16-byte boundary.
205 u8 *hash_subkey,
242 * u8 *hash_subkey, the Hash sub key input. Data starts on a 16-byte boundary.
247 u8 *hash_subkey,
612 rfc4106_set_hash_subkey(u8 *hash_subkey, const u8 *key, unsigned int key_len)
623 memset(hash_subkey, 0, RFC4106_HASH_SUBKEY_SIZE);
625 aes_encrypt(&ctx, hash_subkey, hash_subkey);
646 rfc4106_set_hash_subkey(ctx->hash_subkey, key, key_len);
686 unsigned int assoclen, u8 *hash_subkey,
742 gcm_tfm->init(aes_ctx, data, iv, hash_subkey, assoc, assoclen);
816 u8 *hash_subkey, u8 *iv, void *aes_ctx)
818 return gcmaes_crypt_by_sg(true, req, assoclen, hash_subkey, iv,
823 u8 *hash_subkey, u8 *iv, void *aes_ctx)
825 return gcmaes_crypt_by_sg(false, req, assoclen, hash_subkey, iv,
852 return gcmaes_encrypt(req, req->assoclen - 8, ctx->hash_subkey, iv,
880 return gcmaes_decrypt(req, req->assoclen - 8, ctx->hash_subkey, iv,
985 rfc4106_set_hash_subkey(ctx->hash_subkey, key, key_len);
1000 return gcmaes_encrypt(req, req->assoclen, ctx->hash_subkey, iv,
1016 return gcmaes_decrypt(req, req->assoclen, ctx->hash_subkey, iv,