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()
179 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc() local
180 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc()
194 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt() local
195 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_encrypt()
196 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt()
232 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail() local
233 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt_tail()
234 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail()
240 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt_tail()
280 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt() local
281 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt()
282 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt()
283 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt()