Lines Matching refs:skreq
48 struct skcipher_request skreq; member
289 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_encrypt() local
308 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt()
309 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_encrypt()
311 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt()
312 err = crypto_skcipher_encrypt(skreq); in crypto_ccm_encrypt()
349 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_decrypt() local
373 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt()
374 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_decrypt()
376 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt()
377 err = crypto_skcipher_decrypt(skreq); in crypto_ccm_decrypt()