Home
last modified time | relevance | path

Searched refs:crypto_skcipher_tfm (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/include/crypto/
Dskcipher.h200 static inline struct crypto_tfm *crypto_skcipher_tfm( in crypto_skcipher_tfm() function
212 crypto_destroy_tfm(tfm, crypto_skcipher_tfm(tfm)); in crypto_free_skcipher()
247 return crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm)); in crypto_skcipher_driver_name()
253 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg()
356 return crypto_tfm_alg_blocksize(crypto_skcipher_tfm(tfm)); in crypto_skcipher_blocksize()
362 return crypto_tfm_alg_alignmask(crypto_skcipher_tfm(tfm)); in crypto_skcipher_alignmask()
367 return crypto_tfm_get_flags(crypto_skcipher_tfm(tfm)); in crypto_skcipher_get_flags()
373 crypto_tfm_set_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_set_flags()
379 crypto_tfm_clear_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_clear_flags()
500 req->base.tfm = crypto_skcipher_tfm(tfm); in skcipher_request_set_tfm()
/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_algs.c117 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey()
241 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_xts_setkey()
268 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_ctr_rfc3686_setkey()
/Linux-v4.19/drivers/crypto/marvell/
Dcipher.c253 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in mv_cesa_aes_setkey()
278 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in mv_cesa_des_setkey()
302 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in mv_cesa_des3_ede_setkey()
/Linux-v4.19/crypto/
Dskcipher.c628 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_blkcipher()
637 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_blkcipher()
726 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_ablkcipher()
735 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_ablkcipher()
Dcryptd.c542 queue = cryptd_get_queue(crypto_skcipher_tfm(tfm)); in cryptd_skcipher_enqueue()
Dtestmgr.c1105 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm)); in __test_skcipher()
/Linux-v4.19/drivers/crypto/ccree/
Dcc_cipher.c237 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_sethkey()
305 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_setkey()
632 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_complete()
676 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_process()
775 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_decrypt()
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_cipher.c155 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey()
932 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_des_setkey()
1042 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_des3_ede_setkey()
/Linux-v4.19/drivers/crypto/hisilicon/sec/
Dsec_algs.c147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context()
723 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_crypto()
/Linux-v4.19/arch/x86/crypto/
Daesni-intel_glue.c423 return aes_set_key_common(crypto_skcipher_tfm(tfm), in aesni_skcipher_setkey()
589 err = aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_crypt_ctx, in xts_aesni_setkey()
595 return aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_tweak_ctx, in xts_aesni_setkey()
/Linux-v4.19/arch/arm64/crypto/
Daes-glue.c108 return aes_setkey(crypto_skcipher_tfm(tfm), in_key, key_len); in skcipher_aes_setkey()
/Linux-v4.19/drivers/md/
Ddm-crypt.c2330 alg_name = crypto_tfm_alg_name(crypto_skcipher_tfm(any_tfm(cc))); in crypt_ctr_blkdev_cipher()