Searched refs:fback (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/ |
D | safexcel_hash.c | 32 struct crypto_ahash *fback; member 2426 ahash_request_set_tfm(subreq, ctx->fback); in safexcel_sha3_fbcheck() 2437 crypto_ahash_blocksize(ctx->fback) / 2); in safexcel_sha3_fbcheck() 2439 crypto_ahash_blocksize(ctx->fback) / 2, in safexcel_sha3_fbcheck() 2441 crypto_ahash_blocksize(ctx->fback) / 2); in safexcel_sha3_fbcheck() 2442 ret = crypto_ahash_setkey(ctx->fback, key, in safexcel_sha3_fbcheck() 2443 crypto_ahash_blocksize(ctx->fback)); in safexcel_sha3_fbcheck() 2445 crypto_ahash_blocksize(ctx->fback)); in safexcel_sha3_fbcheck() 2539 ctx->fback = crypto_alloc_ahash(crypto_tfm_alg_name(tfm), 0, in safexcel_sha3_cra_init() 2542 if (IS_ERR(ctx->fback)) in safexcel_sha3_cra_init() [all …]
|
D | safexcel_cipher.c | 66 struct crypto_aead *fback; member 2915 ret = crypto_aead_setkey(ctx->fback, (u8 *)key, in safexcel_aead_chachapoly_crypt() 2919 ret = crypto_aead_setkey(ctx->fback, (u8 *)key, in safexcel_aead_chachapoly_crypt() 2924 crypto_aead_set_flags(aead, crypto_aead_get_flags(ctx->fback) & in safexcel_aead_chachapoly_crypt() 2929 aead_request_set_tfm(subreq, ctx->fback); in safexcel_aead_chachapoly_crypt() 2960 ctx->fback = crypto_alloc_aead(alg->base.cra_name, 0, in safexcel_aead_fallback_cra_init() 2963 if (IS_ERR(ctx->fback)) in safexcel_aead_fallback_cra_init() 2964 return PTR_ERR(ctx->fback); in safexcel_aead_fallback_cra_init() 2968 crypto_aead_reqsize(ctx->fback))); in safexcel_aead_fallback_cra_init() 2991 crypto_free_aead(ctx->fback); in safexcel_aead_fallback_cra_exit() [all …]
|