Lines Matching refs:skreq
53 struct skcipher_request skreq; member
300 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_encrypt() local
319 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt()
320 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_encrypt()
322 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt()
323 err = crypto_skcipher_encrypt(skreq); in crypto_ccm_encrypt()
360 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_decrypt() local
384 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt()
385 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_decrypt()
387 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt()
388 err = crypto_skcipher_decrypt(skreq); in crypto_ccm_decrypt()