Home
last modified time | relevance | path

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

/Linux-v5.10/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()
431 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(skreq); in sec_skcipher_alg_callback() local
462 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
464 crypto_skcipher_ivsize(atfm)); in sec_skcipher_alg_callback()
469 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
471 crypto_skcipher_ivsize(atfm)); in sec_skcipher_alg_callback()
527 if (crypto_skcipher_ivsize(atfm)) { in sec_skcipher_alg_callback()
529 crypto_skcipher_ivsize(atfm), in sec_skcipher_alg_callback()
710 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(skreq); in sec_alg_skcipher_crypto() local
[all …]
/Linux-v5.10/drivers/crypto/virtio/
Dvirtio_crypto_algs.c484 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(req); in virtio_crypto_skcipher_encrypt() local
485 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); in virtio_crypto_skcipher_encrypt()
509 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(req); in virtio_crypto_skcipher_decrypt() local
510 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); in virtio_crypto_skcipher_decrypt()
/Linux-v5.10/crypto/
Dtestmgr.c1802 struct crypto_ahash *atfm = NULL; in __alg_test_hash() local
1817 atfm = crypto_alloc_ahash(driver, type, mask); in __alg_test_hash()
1818 if (IS_ERR(atfm)) { in __alg_test_hash()
1820 driver, PTR_ERR(atfm)); in __alg_test_hash()
1821 return PTR_ERR(atfm); in __alg_test_hash()
1824 req = ahash_request_alloc(atfm, GFP_KERNEL); in __alg_test_hash()
1850 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash()
1879 crypto_free_ahash(atfm); in __alg_test_hash()