Searched refs:skreq (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_skcipher.c | 51 static void free_src_sglist(struct skcipher_request *skreq) in free_src_sglist() argument 53 struct nitrox_kcrypt_request *nkreq = skcipher_request_ctx(skreq); in free_src_sglist() 58 static void free_dst_sglist(struct skcipher_request *skreq) in free_dst_sglist() argument 60 struct nitrox_kcrypt_request *nkreq = skcipher_request_ctx(skreq); in free_dst_sglist() 67 struct skcipher_request *skreq = arg; in nitrox_skcipher_callback() local 69 free_src_sglist(skreq); in nitrox_skcipher_callback() 70 free_dst_sglist(skreq); in nitrox_skcipher_callback() 76 skcipher_request_complete(skreq, err); in nitrox_skcipher_callback() 81 struct skcipher_request *skreq = arg; in nitrox_cbc_cipher_callback() local 82 struct nitrox_kcrypt_request *nkreq = skcipher_request_ctx(skreq); in nitrox_cbc_cipher_callback() [all …]
|
| /linux/crypto/ |
| H A D | authenc.c | 196 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt() local 209 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt() 210 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_encrypt() 212 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_encrypt() 214 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_encrypt() 237 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() 260 skcipher_request_set_crypt(skreq, src, dst, in crypto_authenc_decrypt_tail() 263 return crypto_skcipher_decrypt(skreq); in crypto_authenc_decrypt_tail()
|
| H A D | ccm.c | 50 struct skcipher_request skreq; member 287 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_encrypt() local 306 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt() 307 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_encrypt() 309 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt() 310 err = crypto_skcipher_encrypt(skreq); in crypto_ccm_encrypt() 346 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_decrypt() local 370 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt() 371 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_decrypt() 373 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt() [all …]
|