Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/inside-secure/
Dsafexcel_hash.c34 struct crypto_ahash *fback; member
2381 ahash_request_set_tfm(subreq, ctx->fback); in safexcel_sha3_fbcheck()
2392 crypto_ahash_blocksize(ctx->fback) / 2); in safexcel_sha3_fbcheck()
2394 crypto_ahash_blocksize(ctx->fback) / 2, in safexcel_sha3_fbcheck()
2396 crypto_ahash_blocksize(ctx->fback) / 2); in safexcel_sha3_fbcheck()
2397 ret = crypto_ahash_setkey(ctx->fback, key, in safexcel_sha3_fbcheck()
2398 crypto_ahash_blocksize(ctx->fback)); in safexcel_sha3_fbcheck()
2400 crypto_ahash_blocksize(ctx->fback)); in safexcel_sha3_fbcheck()
2494 ctx->fback = crypto_alloc_ahash(crypto_tfm_alg_name(tfm), 0, in safexcel_sha3_cra_init()
2497 if (IS_ERR(ctx->fback)) in safexcel_sha3_cra_init()
[all …]
Dsafexcel_cipher.c66 struct crypto_aead *fback; member
2848 ret = crypto_aead_setkey(ctx->fback, (u8 *)key, in safexcel_aead_chachapoly_crypt()
2852 ret = crypto_aead_setkey(ctx->fback, (u8 *)key, in safexcel_aead_chachapoly_crypt()
2857 crypto_aead_set_flags(aead, crypto_aead_get_flags(ctx->fback) & in safexcel_aead_chachapoly_crypt()
2862 aead_request_set_tfm(subreq, ctx->fback); in safexcel_aead_chachapoly_crypt()
2893 ctx->fback = crypto_alloc_aead(alg->base.cra_name, 0, in safexcel_aead_fallback_cra_init()
2896 if (IS_ERR(ctx->fback)) in safexcel_aead_fallback_cra_init()
2897 return PTR_ERR(ctx->fback); in safexcel_aead_fallback_cra_init()
2901 crypto_aead_reqsize(ctx->fback))); in safexcel_aead_fallback_cra_init()
2924 crypto_free_aead(ctx->fback); in safexcel_aead_fallback_cra_exit()
[all …]