Home
last modified time | relevance | path

Searched refs:atfm (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/crypto/hisilicon/sec/
Dsec_algs.c142 static void sec_alg_skcipher_init_context(struct crypto_skcipher *atfm, in sec_alg_skcipher_init_context() argument
147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context()
430 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(skreq); in sec_skcipher_alg_callback() local
461 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
463 crypto_skcipher_ivsize(atfm)); in sec_skcipher_alg_callback()
468 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
470 crypto_skcipher_ivsize(atfm)); in sec_skcipher_alg_callback()
526 if (crypto_skcipher_ivsize(atfm)) { in sec_skcipher_alg_callback()
528 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
709 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(skreq); in sec_alg_skcipher_crypto() local
[all …]
/Linux-v5.4/drivers/crypto/virtio/
Dvirtio_crypto_algs.c478 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in virtio_crypto_ablkcipher_encrypt() local
479 struct virtio_crypto_ablkcipher_ctx *ctx = crypto_ablkcipher_ctx(atfm); in virtio_crypto_ablkcipher_encrypt()
498 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in virtio_crypto_ablkcipher_decrypt() local
499 struct virtio_crypto_ablkcipher_ctx *ctx = crypto_ablkcipher_ctx(atfm); in virtio_crypto_ablkcipher_decrypt()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_algs.c1050 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_encrypt() local
1051 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_encrypt()
1110 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_decrypt() local
1111 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_decrypt()
/Linux-v5.4/crypto/
Dtestmgr.c1713 struct crypto_ahash *atfm = NULL; in __alg_test_hash() local
1728 atfm = crypto_alloc_ahash(driver, type, mask); in __alg_test_hash()
1729 if (IS_ERR(atfm)) { in __alg_test_hash()
1731 driver, PTR_ERR(atfm)); in __alg_test_hash()
1732 return PTR_ERR(atfm); in __alg_test_hash()
1735 req = ahash_request_alloc(atfm, GFP_KERNEL); in __alg_test_hash()
1761 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash()
1790 crypto_free_ahash(atfm); in __alg_test_hash()