Lines Matching refs:authenc

84 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key,  in crypto_authenc_setkey()  argument
87 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey()
97 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
104 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
115 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done() local
116 struct aead_instance *inst = aead_alg_instance(authenc); in authenc_geniv_ahash_done()
126 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_done()
134 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv() local
135 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_genicv()
136 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv()
158 crypto_aead_authsize(authenc), 1); in crypto_authenc_genicv()
178 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc() local
179 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc()
193 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt() local
194 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_encrypt()
195 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt()
231 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail() local
232 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt_tail()
233 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail()
239 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt_tail()
278 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt() local
279 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt()
280 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt()
281 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt()