Lines Matching refs:caam_req
1330 struct caam_request *caam_req = aead_request_ctx_dma(req); in aead_encrypt() local
1338 caam_req->flc = &ctx->flc[ENCRYPT]; in aead_encrypt()
1339 caam_req->flc_dma = ctx->flc_dma[ENCRYPT]; in aead_encrypt()
1340 caam_req->cbk = aead_encrypt_done; in aead_encrypt()
1341 caam_req->ctx = &req->base; in aead_encrypt()
1342 caam_req->edesc = edesc; in aead_encrypt()
1343 ret = dpaa2_caam_enqueue(ctx->dev, caam_req); in aead_encrypt()
1358 struct caam_request *caam_req = aead_request_ctx_dma(req); in aead_decrypt() local
1366 caam_req->flc = &ctx->flc[DECRYPT]; in aead_decrypt()
1367 caam_req->flc_dma = ctx->flc_dma[DECRYPT]; in aead_decrypt()
1368 caam_req->cbk = aead_decrypt_done; in aead_decrypt()
1369 caam_req->ctx = &req->base; in aead_decrypt()
1370 caam_req->edesc = edesc; in aead_decrypt()
1371 ret = dpaa2_caam_enqueue(ctx->dev, caam_req); in aead_decrypt()
1480 struct caam_request *caam_req = skcipher_request_ctx_dma(req); in skcipher_encrypt() local
1494 skcipher_request_set_tfm(&caam_req->fallback_req, ctx->fallback); in skcipher_encrypt()
1495 skcipher_request_set_callback(&caam_req->fallback_req, in skcipher_encrypt()
1499 skcipher_request_set_crypt(&caam_req->fallback_req, req->src, in skcipher_encrypt()
1502 return crypto_skcipher_encrypt(&caam_req->fallback_req); in skcipher_encrypt()
1510 caam_req->flc = &ctx->flc[ENCRYPT]; in skcipher_encrypt()
1511 caam_req->flc_dma = ctx->flc_dma[ENCRYPT]; in skcipher_encrypt()
1512 caam_req->cbk = skcipher_encrypt_done; in skcipher_encrypt()
1513 caam_req->ctx = &req->base; in skcipher_encrypt()
1514 caam_req->edesc = edesc; in skcipher_encrypt()
1515 ret = dpaa2_caam_enqueue(ctx->dev, caam_req); in skcipher_encrypt()
1530 struct caam_request *caam_req = skcipher_request_ctx_dma(req); in skcipher_decrypt() local
1544 skcipher_request_set_tfm(&caam_req->fallback_req, ctx->fallback); in skcipher_decrypt()
1545 skcipher_request_set_callback(&caam_req->fallback_req, in skcipher_decrypt()
1549 skcipher_request_set_crypt(&caam_req->fallback_req, req->src, in skcipher_decrypt()
1552 return crypto_skcipher_decrypt(&caam_req->fallback_req); in skcipher_decrypt()
1560 caam_req->flc = &ctx->flc[DECRYPT]; in skcipher_decrypt()
1561 caam_req->flc_dma = ctx->flc_dma[DECRYPT]; in skcipher_decrypt()
1562 caam_req->cbk = skcipher_decrypt_done; in skcipher_decrypt()
1563 caam_req->ctx = &req->base; in skcipher_decrypt()
1564 caam_req->edesc = edesc; in skcipher_decrypt()
1565 ret = dpaa2_caam_enqueue(ctx->dev, caam_req); in skcipher_decrypt()
3074 struct caam_request caam_req; member
3404 struct ahash_edesc *edesc = state->caam_req.edesc; in ahash_done()
3431 struct ahash_edesc *edesc = state->caam_req.edesc; in ahash_done_bi()
3469 struct ahash_edesc *edesc = state->caam_req.edesc; in ahash_done_ctx_src()
3496 struct ahash_edesc *edesc = state->caam_req.edesc; in ahash_done_ctx_dst()
3533 struct caam_request *req_ctx = &state->caam_req; in ahash_update_ctx()
3652 struct caam_request *req_ctx = &state->caam_req; in ahash_final_ctx()
3723 struct caam_request *req_ctx = &state->caam_req; in ahash_finup_ctx()
3817 struct caam_request *req_ctx = &state->caam_req; in ahash_digest()
3912 struct caam_request *req_ctx = &state->caam_req; in ahash_final_no_ctx()
3985 struct caam_request *req_ctx = &state->caam_req; in ahash_update_no_ctx()
4106 struct caam_request *req_ctx = &state->caam_req; in ahash_finup_no_ctx()
4202 struct caam_request *req_ctx = &state->caam_req; in ahash_update_first()