Home
last modified time | relevance | path

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

/Linux-v5.4/include/crypto/
Dskcipher.h197 static inline struct crypto_tfm *crypto_skcipher_tfm( in crypto_skcipher_tfm() function
209 crypto_destroy_tfm(tfm, crypto_skcipher_tfm(tfm)); in crypto_free_skcipher()
249 return crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm)); in crypto_skcipher_driver_name()
255 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg()
304 return crypto_tfm_alg_blocksize(crypto_skcipher_tfm(tfm)); in crypto_skcipher_blocksize()
316 return crypto_tfm_alg_alignmask(crypto_skcipher_tfm(tfm)); in crypto_skcipher_alignmask()
321 return crypto_tfm_get_flags(crypto_skcipher_tfm(tfm)); in crypto_skcipher_get_flags()
327 crypto_tfm_set_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_set_flags()
333 crypto_tfm_clear_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_clear_flags()
470 req->base.tfm = crypto_skcipher_tfm(tfm); in skcipher_request_set_tfm()
/Linux-v5.4/include/crypto/internal/
Ddes.h111 return crypto_des_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des_key()
117 return crypto_des3_ede_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des3_key()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c96 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey()
277 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_xts_setkey()
304 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_ctr_rfc3686_setkey()
/Linux-v5.4/crypto/
Dskcipher.c641 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_blkcipher()
650 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_blkcipher()
740 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_ablkcipher()
749 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_ablkcipher()
Dcryptd.c346 queue = cryptd_get_queue(crypto_skcipher_tfm(tfm)); in cryptd_skcipher_enqueue()
/Linux-v5.4/arch/x86/crypto/
Daesni-intel_glue.c376 return aes_set_key_common(crypto_skcipher_tfm(tfm), in aesni_skcipher_setkey()
542 err = aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_crypt_ctx, in xts_aesni_setkey()
548 return aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_tweak_ctx, in xts_aesni_setkey()
/Linux-v5.4/drivers/crypto/ccree/
Dcc_cipher.c280 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_sethkey()
382 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_setkey()
816 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_process()
/Linux-v5.4/drivers/crypto/hisilicon/sec/
Dsec_algs.c147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context()
710 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_crypto()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_cipher.c273 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey()
1279 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesctr_setkey()
1953 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesxts_setkey()
/Linux-v5.4/drivers/crypto/marvell/
Dcipher.c250 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in mv_cesa_aes_setkey()