Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context()
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()
761 if (crypto_skcipher_ivsize(atfm)) { in sec_alg_skcipher_crypto()
763 crypto_skcipher_ivsize(atfm), in sec_alg_skcipher_crypto()
844 if (crypto_skcipher_ivsize(atfm)) in sec_alg_skcipher_crypto()
[all …]
/openbmc/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c468 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(req); in virtio_crypto_skcipher_encrypt() local
469 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); in virtio_crypto_skcipher_encrypt()
493 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(req); in virtio_crypto_skcipher_decrypt() local
494 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); in virtio_crypto_skcipher_decrypt()
H A Dvirtio_crypto_akcipher_algs.c328 struct crypto_akcipher *atfm = crypto_akcipher_reqtfm(req); in virtio_crypto_rsa_req() local
329 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in virtio_crypto_rsa_req()
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c574 static int cpt_aead_init(struct crypto_aead *atfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument
576 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx_dma(atfm); in cpt_aead_init()
577 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); in cpt_aead_init()
633 crypto_aead_set_reqsize_dma(atfm, sizeof(struct otx2_cpt_req_ctx)); in cpt_aead_init()
/openbmc/linux/crypto/
H A Dtestmgr.c1902 struct crypto_ahash *atfm = NULL; in __alg_test_hash() local
1917 atfm = crypto_alloc_ahash(driver, type, mask); in __alg_test_hash()
1918 if (IS_ERR(atfm)) { in __alg_test_hash()
1920 driver, PTR_ERR(atfm)); in __alg_test_hash()
1921 return PTR_ERR(atfm); in __alg_test_hash()
1923 driver = crypto_ahash_driver_name(atfm); in __alg_test_hash()
1925 req = ahash_request_alloc(atfm, GFP_KERNEL); in __alg_test_hash()
1951 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash()
1982 crypto_free_ahash(atfm); in __alg_test_hash()