/Linux-v6.6/drivers/crypto/ |
D | exynos-rng.c | 194 static int exynos_rng_generate(struct crypto_rng *tfm, in exynos_rng_generate() 225 static int exynos_rng_seed(struct crypto_rng *tfm, const u8 *seed, in exynos_rng_seed() 245 static int exynos_rng_kcapi_init(struct crypto_tfm *tfm) in exynos_rng_kcapi_init()
|
D | talitos.c | 1705 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash_unmap() local 1792 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash() local 1915 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_edesc_alloc() local 1930 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_init() local 1983 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_process_req() local 2135 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_export() local 2159 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_import() local 2186 static int keyhash(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen, in keyhash() 2217 static int ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey() 3069 static int talitos_cra_init_aead(struct crypto_aead *tfm) in talitos_cra_init_aead() [all …]
|
/Linux-v6.6/arch/x86/crypto/ |
D | polyval-clmulni_glue.c | 52 static inline struct polyval_tfm_ctx *polyval_tfm_ctx(struct crypto_shash *tfm) in polyval_tfm_ctx() 81 static int polyval_x86_setkey(struct crypto_shash *tfm, in polyval_x86_setkey()
|
/Linux-v6.6/crypto/ |
D | chacha20poly1305.c | 171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail() local 362 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey() local 491 static int chachapoly_setauthsize(struct crypto_aead *tfm, in chachapoly_setauthsize() 500 static int chachapoly_init(struct crypto_aead *tfm) in chachapoly_init() 538 static void chachapoly_exit(struct crypto_aead *tfm) in chachapoly_exit()
|
D | twofish_generic.c | 95 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_encrypt() 130 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_decrypt()
|
D | rng.c | 31 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) in crypto_rng_reset() 60 static int crypto_rng_init_tfm(struct crypto_tfm *tfm) in crypto_rng_init_tfm()
|
D | polyval-generic.c | 119 static int polyval_setkey(struct crypto_shash *tfm, in polyval_setkey() 204 static void polyval_exit_tfm(struct crypto_tfm *tfm) in polyval_exit_tfm()
|
D | pcrypt.c | 37 struct crypto_aead *tfm) in pcrypt_tfm_ictx() 171 static int pcrypt_aead_init_tfm(struct crypto_aead *tfm) in pcrypt_aead_init_tfm() 199 static void pcrypt_aead_exit_tfm(struct crypto_aead *tfm) in pcrypt_aead_exit_tfm()
|
D | xts.c | 86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_xor_tweak() local 295 static int xts_init_tfm(struct crypto_skcipher *tfm) in xts_init_tfm() 323 static void xts_exit_tfm(struct crypto_skcipher *tfm) in xts_exit_tfm()
|
D | gcm.c | 146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, in crypto_gcm_setauthsize() 519 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) in crypto_gcm_init_tfm() 557 static void crypto_gcm_exit_tfm(struct crypto_aead *tfm) in crypto_gcm_exit_tfm() 787 static int crypto_rfc4106_init_tfm(struct crypto_aead *tfm) in crypto_rfc4106_init_tfm() 812 static void crypto_rfc4106_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4106_exit_tfm() 985 static int crypto_rfc4543_init_tfm(struct crypto_aead *tfm) in crypto_rfc4543_init_tfm() 1023 static void crypto_rfc4543_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4543_exit_tfm()
|
/Linux-v6.6/security/keys/encrypted-keys/ |
D | encrypted.c | 88 struct crypto_skcipher *tfm; in aes_get_sizes() local 335 struct crypto_shash *tfm; in calc_hmac() local 387 struct crypto_skcipher *tfm; in init_skcipher_req() local 458 struct crypto_skcipher *tfm; in derived_key_encrypt() local 560 struct crypto_skcipher *tfm; in derived_key_decrypt() local
|
/Linux-v6.6/arch/arm/crypto/ |
D | crc32-ce-glue.c | 36 static int crc32_cra_init(struct crypto_tfm *tfm) in crc32_cra_init() 44 static int crc32c_cra_init(struct crypto_tfm *tfm) in crc32c_cra_init()
|
D | chacha-glue.c | 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in do_chacha() local 163 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in do_xchacha() local
|
/Linux-v6.6/fs/smb/server/ |
D | crypto_ctx.c | 41 struct crypto_aead *tfm = NULL; in alloc_aead() local 65 struct crypto_shash *tfm = NULL; in alloc_shash_desc() local
|
/Linux-v6.6/arch/loongarch/crypto/ |
D | crc32-loongarch.c | 127 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int keylen) in chksum_setkey() 211 static int chksum_cra_init(struct crypto_tfm *tfm) in chksum_cra_init() 219 static int chksumc_cra_init(struct crypto_tfm *tfm) in chksumc_cra_init()
|
/Linux-v6.6/drivers/crypto/stm32/ |
D | stm32-crc32.c | 72 static int stm32_crc32_cra_init(struct crypto_tfm *tfm) in stm32_crc32_cra_init() 81 static int stm32_crc32c_cra_init(struct crypto_tfm *tfm) in stm32_crc32c_cra_init() 90 static int stm32_crc_setkey(struct crypto_shash *tfm, const u8 *key, in stm32_crc_setkey()
|
D | stm32-cryp.c | 830 static int stm32_cryp_init_tfm(struct crypto_skcipher *tfm) in stm32_cryp_init_tfm() 839 static int stm32_cryp_aes_aead_init(struct crypto_aead *tfm) in stm32_cryp_aes_aead_init() 875 static int stm32_cryp_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_setkey() 886 static int stm32_cryp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_aes_setkey() 896 static int stm32_cryp_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_des_setkey() 903 static int stm32_cryp_tdes_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_tdes_setkey() 910 static int stm32_cryp_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, in stm32_cryp_aes_aead_setkey() 925 static int stm32_cryp_aes_gcm_setauthsize(struct crypto_aead *tfm, in stm32_cryp_aes_gcm_setauthsize() 944 static int stm32_cryp_aes_ccm_setauthsize(struct crypto_aead *tfm, in stm32_cryp_aes_ccm_setauthsize()
|
/Linux-v6.6/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 44 static int ccm_setkey(struct crypto_aead *tfm, const u8 *in_key, in ccm_setkey() 52 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize()
|
D | sm4-ce-gcm-glue.c | 43 static int gcm_setkey(struct crypto_aead *tfm, const u8 *key, in gcm_setkey() 61 static int gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_setauthsize()
|
D | sm4-ce-ccm-glue.c | 30 static int ccm_setkey(struct crypto_aead *tfm, const u8 *key, in ccm_setkey() 46 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize()
|
/Linux-v6.6/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 98 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local 195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cvm_enc_dec() local 334 static int cvm_enc_dec_init(struct crypto_skcipher *tfm) in cvm_enc_dec_init()
|
/Linux-v6.6/include/crypto/internal/ |
D | sig.h | 13 static inline void *crypto_sig_ctx(struct crypto_sig *tfm) in crypto_sig_ctx()
|
/Linux-v6.6/drivers/crypto/aspeed/ |
D | aspeed-hace-crypto.c | 30 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in aspeed_crypto_do_fallback() local 432 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in aspeed_des_setkey() local 702 static int aspeed_crypto_cra_init(struct crypto_skcipher *tfm) in aspeed_crypto_cra_init() 730 static void aspeed_crypto_cra_exit(struct crypto_skcipher *tfm) in aspeed_crypto_cra_exit()
|
/Linux-v6.6/drivers/crypto/axis/ |
D | artpec6_crypto.c | 1236 static int artpec6_crypto_aead_init(struct crypto_aead *tfm) in artpec6_crypto_aead_init() 1248 static int artpec6_crypto_aead_set_key(struct crypto_aead *tfm, const u8 *key, in artpec6_crypto_aead_set_key() 1534 static int artpec6_crypto_aes_ecb_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ecb_init() 1544 static int artpec6_crypto_aes_ctr_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ctr_init() 1560 static int artpec6_crypto_aes_cbc_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_cbc_init() 1570 static int artpec6_crypto_aes_xts_init(struct crypto_skcipher *tfm) in artpec6_crypto_aes_xts_init() 1580 static void artpec6_crypto_aes_exit(struct crypto_skcipher *tfm) in artpec6_crypto_aes_exit() 1587 static void artpec6_crypto_aes_ctr_exit(struct crypto_skcipher *tfm) in artpec6_crypto_aes_ctr_exit() 2225 artpec6_crypto_hash_set_key(struct crypto_ahash *tfm, in artpec6_crypto_hash_set_key() 2388 static int artpec6_crypto_ahash_init_common(struct crypto_tfm *tfm, in artpec6_crypto_ahash_init_common() [all …]
|
/Linux-v6.6/drivers/crypto/qce/ |
D | sha.c | 185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in qce_ahash_update() local 329 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in qce_ahash_hmac_setkey() 393 static int qce_ahash_cra_init(struct crypto_tfm *tfm) in qce_ahash_cra_init()
|