Lines Matching refs:authenc
82 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key, in crypto_authenc_setkey() argument
85 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey()
95 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
102 crypto_skcipher_set_flags(enc, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey()
113 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done() local
114 struct aead_instance *inst = aead_alg_instance(authenc); in authenc_geniv_ahash_done()
124 crypto_aead_authsize(authenc), 1); in authenc_geniv_ahash_done()
132 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv() local
133 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_genicv()
134 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv()
153 crypto_aead_authsize(authenc), 1); in crypto_authenc_genicv()
173 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt() local
174 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_encrypt()
175 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt()
208 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail() local
209 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt_tail()
210 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail()
216 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt_tail()
255 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt() local
256 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt()
257 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt()
258 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt()