Lines Matching refs:skreq
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()
374 err = crypto_skcipher_decrypt(skreq); in crypto_ccm_decrypt()