Searched refs:atfm (Results 1 – 4 of 4) sorted by relevance
142 static void sec_alg_skcipher_init_context(struct crypto_skcipher *atfm, in sec_alg_skcipher_init_context() argument147 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() local462 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 …]
214 struct crypto_akcipher *atfm = crypto_akcipher_reqtfm(req); in __virtio_crypto_akcipher_do_req() local215 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in __virtio_crypto_akcipher_do_req()275 struct crypto_akcipher *atfm = crypto_akcipher_reqtfm(req); in virtio_crypto_rsa_do_req() local276 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in virtio_crypto_rsa_do_req()312 struct crypto_akcipher *atfm = crypto_akcipher_reqtfm(req); in virtio_crypto_rsa_req() local313 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in virtio_crypto_rsa_req()
466 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(req); in virtio_crypto_skcipher_encrypt() local467 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); in virtio_crypto_skcipher_encrypt()489 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(req); in virtio_crypto_skcipher_decrypt() local490 struct virtio_crypto_skcipher_ctx *ctx = crypto_skcipher_ctx(atfm); in virtio_crypto_skcipher_decrypt()
1903 struct crypto_ahash *atfm = NULL; in __alg_test_hash() local1918 atfm = crypto_alloc_ahash(driver, type, mask); in __alg_test_hash()1919 if (IS_ERR(atfm)) { in __alg_test_hash()1920 if (PTR_ERR(atfm) == -ENOENT) in __alg_test_hash()1923 driver, PTR_ERR(atfm)); in __alg_test_hash()1924 return PTR_ERR(atfm); in __alg_test_hash()1926 driver = crypto_ahash_driver_name(atfm); in __alg_test_hash()1928 req = ahash_request_alloc(atfm, GFP_KERNEL); in __alg_test_hash()1954 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash()1985 crypto_free_ahash(atfm); in __alg_test_hash()