Home
last modified time | relevance | path

Searched refs:first_cdesc (Results 1 – 2 of 2) sorted by relevance

/drivers/crypto/inside-secure/
Dsafexcel_hash.c318 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()
Dsafexcel_cipher.c680 struct safexcel_command_desc *first_cdesc = NULL; in safexcel_send_req() local
767 first_cdesc = safexcel_add_cdesc(priv, ring, in safexcel_send_req()
771 if (IS_ERR(first_cdesc)) { in safexcel_send_req()
773 ret = PTR_ERR(first_cdesc); in safexcel_send_req()
799 first_cdesc = cdesc; in safexcel_send_req()
808 safexcel_context_control(ctx, base, sreq, first_cdesc); in safexcel_send_req()
810 safexcel_aead_token(ctx, iv, first_cdesc, atoken, in safexcel_send_req()
814 safexcel_skcipher_token(ctx, iv, first_cdesc, atoken, in safexcel_send_req()