Lines Matching refs:skreq
181 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null); in crypto_authenc_copy_assoc()
183 skcipher_request_set_sync_tfm(skreq, ctx->null); in crypto_authenc_copy_assoc()
184 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_copy_assoc()
186 skcipher_request_set_crypt(skreq, req->src, req->dst, req->assoclen, in crypto_authenc_copy_assoc()
189 return crypto_skcipher_encrypt(skreq); in crypto_authenc_copy_assoc()
201 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt() local
217 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt()
218 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_encrypt()
220 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
222 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_encrypt()
238 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail() local
255 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail()
256 skcipher_request_set_callback(skreq, flags, in crypto_authenc_decrypt_tail()
258 skcipher_request_set_crypt(skreq, src, dst, in crypto_authenc_decrypt_tail()
261 return crypto_skcipher_decrypt(skreq); in crypto_authenc_decrypt_tail()