Home
last modified time | relevance | path

Searched refs:fallback_tfm (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c88 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_init()
101 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_update()
116 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_final()
130 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_finup()
147 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_import()
160 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_export()
296 tctx->fallback_tfm = crypto_alloc_ahash(alg_name, 0, in rk_cra_hash_init()
298 if (IS_ERR(tctx->fallback_tfm)) { in rk_cra_hash_init()
300 return PTR_ERR(tctx->fallback_tfm); in rk_cra_hash_init()
304 crypto_ahash_reqsize(tctx->fallback_tfm)); in rk_cra_hash_init()
Drk3288_crypto.h233 struct crypto_ahash *fallback_tfm; member
/Linux-v4.19/drivers/crypto/
Dn2_core.c284 struct crypto_ahash *fallback_tfm; member
314 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_init()
326 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_update()
340 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_final()
353 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_finup()
377 struct crypto_ahash *fallback_tfm; in n2_hash_cra_init() local
380 fallback_tfm = crypto_alloc_ahash(fallback_driver_name, 0, in n2_hash_cra_init()
382 if (IS_ERR(fallback_tfm)) { in n2_hash_cra_init()
385 err = PTR_ERR(fallback_tfm); in n2_hash_cra_init()
390 crypto_ahash_reqsize(fallback_tfm))); in n2_hash_cra_init()
[all …]
Dpadlock-sha.c208 struct crypto_shash *fallback_tfm; in padlock_cra_init() local
212 fallback_tfm = crypto_alloc_shash(fallback_driver_name, 0, in padlock_cra_init()
214 if (IS_ERR(fallback_tfm)) { in padlock_cra_init()
217 err = PTR_ERR(fallback_tfm); in padlock_cra_init()
221 ctx->fallback = fallback_tfm; in padlock_cra_init()
222 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_cra_init()
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c206 struct crypto_skcipher *fallback_tfm; in ccp_aes_xts_cra_init() local
211 fallback_tfm = crypto_alloc_skcipher("xts(aes)", 0, in ccp_aes_xts_cra_init()
214 if (IS_ERR(fallback_tfm)) { in ccp_aes_xts_cra_init()
216 return PTR_ERR(fallback_tfm); in ccp_aes_xts_cra_init()
218 ctx->u.aes.tfm_skcipher = fallback_tfm; in ccp_aes_xts_cra_init()