Lines Matching refs:skreq
49 struct skcipher_request skreq; member
290 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_encrypt() local
309 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt()
310 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_encrypt()
312 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt()
313 err = crypto_skcipher_encrypt(skreq); in crypto_ccm_encrypt()
350 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_decrypt() local
374 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt()
375 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_decrypt()
377 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt()
378 err = crypto_skcipher_decrypt(skreq); in crypto_ccm_decrypt()