Searched refs:atfm (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 142 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/drivers/crypto/virtio/ |
H A D | virtio_crypto_skcipher_algs.c | 468 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()
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 591 static int cpt_aead_init(struct crypto_aead *atfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument 593 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx_dma(atfm); in cpt_aead_init() 594 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); in cpt_aead_init() 668 crypto_aead_set_reqsize_dma(atfm, sizeof(struct otx2_cpt_req_ctx)); in cpt_aead_init()
|
/linux/crypto/ |
H A D | testmgr.c | 1932 struct crypto_ahash *atfm = NULL; in __alg_test_hash() local 1947 atfm = crypto_alloc_ahash(driver, type, mask); in __alg_test_hash() 1948 if (IS_ERR(atfm)) { in __alg_test_hash() 1949 if (PTR_ERR(atfm) == -ENOENT) in __alg_test_hash() 1952 driver, PTR_ERR(atfm)); in __alg_test_hash() 1953 return PTR_ERR(atfm); in __alg_test_hash() 1955 driver = crypto_ahash_driver_name(atfm); in __alg_test_hash() 1957 req = ahash_request_alloc(atfm, GFP_KERNEL); in __alg_test_hash() 1983 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash() 2014 crypto_free_ahash(atfm); in __alg_test_hash()
|