Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/crypto/
Dskcipher.h216 static inline struct crypto_tfm *crypto_skcipher_tfm( in crypto_skcipher_tfm() function
230 crypto_destroy_tfm(tfm, crypto_skcipher_tfm(tfm)); in crypto_free_skcipher()
253 return crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm)); in crypto_skcipher_driver_name()
259 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg()
301 return crypto_tfm_alg_blocksize(crypto_skcipher_tfm(tfm)); in crypto_skcipher_blocksize()
336 return crypto_tfm_alg_alignmask(crypto_skcipher_tfm(tfm)); in crypto_skcipher_alignmask()
341 return crypto_tfm_get_flags(crypto_skcipher_tfm(tfm)); in crypto_skcipher_get_flags()
347 crypto_tfm_set_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_set_flags()
353 crypto_tfm_clear_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_clear_flags()
493 req->base.tfm = crypto_skcipher_tfm(tfm); in skcipher_request_set_tfm()
/linux-6.6.21/include/crypto/internal/
Ddes.h102 return crypto_des_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des_key()
108 return crypto_des3_ede_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des3_key()
/linux-6.6.21/arch/sparc/crypto/
Ddes_glue.c68 return des_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des_set_key_skcipher()
217 return des3_ede_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des3_ede_set_key_skcipher()
Dcamellia_glue.c56 return camellia_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in camellia_set_key_skcipher()
Daes_glue.c202 return aes_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in aes_set_key_skcipher()
/linux-6.6.21/arch/s390/crypto/
Ddes_s390.c52 return des_setkey(crypto_skcipher_tfm(tfm), key, key_len); in des_setkey_skcipher()
217 return des3_setkey(crypto_skcipher_tfm(tfm), key, key_len); in des3_setkey_skcipher()
/linux-6.6.21/drivers/crypto/intel/ixp4xx/
Dixp4xx_crypto.c632 struct crypto_tfm *ctfm = crypto_skcipher_tfm(tfm); in init_tfm_ablk()
645 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(ctx->fallback_tfm)) in init_tfm_ablk()
649 return init_tfm(crypto_skcipher_tfm(tfm)); in init_tfm_ablk()
668 struct crypto_tfm *ctfm = crypto_skcipher_tfm(tfm); in exit_tfm_ablk()
672 exit_tfm(crypto_skcipher_tfm(tfm)); in exit_tfm_ablk()
/linux-6.6.21/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c111 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_aes_setkey()
255 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_cipher_hw_init()
/linux-6.6.21/drivers/crypto/ccree/
Dcc_cipher.c304 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_sethkey()
404 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_setkey()
881 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_process()
/linux-6.6.21/drivers/crypto/gemini/
Dsl3516-ce-cipher.c340 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm))); in sl3516_ce_cipher_init()
/linux-6.6.21/drivers/crypto/hisilicon/sec/
Dsec_algs.c147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context()
711 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_crypto()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey()
/linux-6.6.21/drivers/crypto/
Dpadlock-aes.c165 return aes_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in aes_set_key_skcipher()
Dn2_core.c730 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_aes_setkey()
758 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_des_setkey()
777 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_3des_setkey()
Dmxs-dcp.c521 const char *name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm)); in mxs_dcp_aes_fallback_init_tfm()
Domap-des.c454 struct crypto_tfm *tfm = crypto_skcipher_tfm( in omap_des_crypt_dma_start()
/linux-6.6.21/drivers/crypto/qce/
Dskcipher.c173 struct crypto_tfm *tfm = crypto_skcipher_tfm(ablk); in qce_skcipher_setkey()
/linux-6.6.21/arch/powerpc/crypto/
Daes-spe-glue.c122 return ppc_aes_setkey(crypto_skcipher_tfm(tfm), in_key, key_len); in ppc_aes_setkey_skcipher()
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c413 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm)), in sun8i_ss_cipher_init()
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c438 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm)), in sun8i_ce_cipher_init()
/linux-6.6.21/drivers/crypto/inside-secure/
Dsafexcel_cipher.c374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey()
1434 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesctr_setkey()
2469 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesxts_setkey()
3076 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4_setkey()
3268 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4ctr_setkey()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_algs.c1020 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_encrypt()
1087 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_decrypt()
/linux-6.6.21/drivers/crypto/marvell/cesa/
Dcipher.c263 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in mv_cesa_aes_setkey()
/linux-6.6.21/drivers/crypto/aspeed/
Daspeed-hace-crypto.c432 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in aspeed_des_setkey()
/linux-6.6.21/crypto/
Dcryptd.c320 queue = cryptd_get_queue(crypto_skcipher_tfm(tfm)); in cryptd_skcipher_enqueue()

12