Searched refs:first_cdesc (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 318 struct safexcel_command_desc *cdesc, *first_cdesc = NULL; in safexcel_ahash_send_req() local 406 first_cdesc = safexcel_add_cdesc(priv, ring, 1, in safexcel_ahash_send_req() 411 if (IS_ERR(first_cdesc)) { in safexcel_ahash_send_req() 412 ret = PTR_ERR(first_cdesc); in safexcel_ahash_send_req() 456 first_cdesc = cdesc; in safexcel_ahash_send_req() 467 safexcel_context_control(ctx, req, first_cdesc); in safexcel_ahash_send_req() 470 safexcel_hash_token(first_cdesc, len, req->digest_sz, ctx->cbcmac); in safexcel_ahash_send_req()
|
H A D | safexcel_cipher.c | 685 struct safexcel_command_desc *first_cdesc = NULL; in safexcel_send_req() local 781 first_cdesc = safexcel_add_cdesc(priv, ring, in safexcel_send_req() 785 if (IS_ERR(first_cdesc)) { in safexcel_send_req() 787 ret = PTR_ERR(first_cdesc); in safexcel_send_req() 813 first_cdesc = cdesc; in safexcel_send_req() 822 safexcel_context_control(ctx, base, sreq, first_cdesc); in safexcel_send_req() 824 safexcel_aead_token(ctx, iv, first_cdesc, atoken, in safexcel_send_req() 828 safexcel_skcipher_token(ctx, iv, first_cdesc, atoken, in safexcel_send_req()
|