/linux-master/drivers/crypto/qce/ |
H A D | aead.c | 188 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 332 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 412 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 504 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 565 qce_aead_ccm_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 595 qce_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 651 qce_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 667 qce_aead_init(struct crypto_aead *tfm) argument 683 qce_aead_exit(struct crypto_aead *tfm) argument [all...] |
/linux-master/drivers/md/ |
H A D | dm-ima.c | 188 struct crypto_shash *tfm = NULL; local
|
/linux-master/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 173 static int ghash_setkey(struct crypto_shash *tfm, argument 218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 232 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 250 struct crypto_ahash *tfm local 267 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 289 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 306 ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument 318 ghash_async_init_tfm(struct crypto_tfm *tfm) argument 334 ghash_async_exit_tfm(struct crypto_tfm *tfm) argument 382 gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, unsigned int keylen) argument 416 gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 673 rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, unsigned int keylen) argument 688 rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument [all...] |
/linux-master/arch/arm64/crypto/ |
H A D | ghash-ce-glue.c | 189 static int ghash_setkey(struct crypto_shash *tfm, argument 232 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, argument 264 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 480 static int rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, argument 495 rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument [all...] |
/linux-master/drivers/target/iscsi/ |
H A D | iscsi_target_login.c | 80 struct crypto_ahash *tfm; local 1170 struct crypto_ahash *tfm; local [all...] |
/linux-master/drivers/crypto/marvell/cesa/ |
H A D | cipher.c | 241 static void mv_cesa_skcipher_cra_exit(struct crypto_tfm *tfm) argument 248 static int mv_cesa_skcipher_cra_init(struct crypto_tfm *tfm) argument 263 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); local 426 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/drivers/crypto/aspeed/ |
H A D | aspeed-hace-hash.c | 351 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 537 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 561 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 584 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 612 static int aspeed_sham_shash_digest(struct crypto_shash *tfm, u32 flags, argument 625 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 639 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 664 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 751 aspeed_sham_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument 788 aspeed_sham_cra_init(struct crypto_tfm *tfm) argument 819 aspeed_sham_cra_exit(struct crypto_tfm *tfm) argument [all...] |
H A D | aspeed-hace-crypto.c | 30 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); local 432 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); local 634 static int aspeed_crypto_cra_init(struct crypto_skcipher *tfm) argument 662 aspeed_crypto_cra_exit(struct crypto_skcipher *tfm) argument [all...] |
/linux-master/drivers/crypto/virtio/ |
H A D | virtio_crypto_skcipher_algs.c | 20 struct crypto_skcipher *tfm; member in struct:virtio_crypto_skcipher_ctx 281 static int virtio_crypto_skcipher_setkey(struct crypto_skcipher *tfm, argument 327 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 516 static int virtio_crypto_skcipher_init(struct crypto_skcipher *tfm) argument 526 virtio_crypto_skcipher_exit(struct crypto_skcipher *tfm) argument [all...] |
/linux-master/crypto/ |
H A D | essiv.c | 66 static int essiv_skcipher_setkey(struct crypto_skcipher *tfm, argument 93 static int essiv_aead_setkey(struct crypto_aead *tfm, const u8 *key, argument 126 static int essiv_aead_setauthsize(struct crypto_aead *tfm, argument 143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 185 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 297 essiv_skcipher_init_tfm(struct crypto_skcipher *tfm) argument 322 essiv_aead_init_tfm(struct crypto_aead *tfm) argument 355 essiv_skcipher_exit_tfm(struct crypto_skcipher *tfm) argument 364 essiv_aead_exit_tfm(struct crypto_aead *tfm) argument [all...] |
H A D | rsa-pkcs1pad.c | 130 static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 151 static int pkcs1pad_set_priv_key(struct crypto_akcipher *tfm, const void *key, argument 172 static unsigned int pkcs1pad_get_max_size(struct crypto_akcipher *tfm) argument 199 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 251 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 299 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 366 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 399 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 456 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 553 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 586 pkcs1pad_init_tfm(struct crypto_akcipher *tfm) argument 605 pkcs1pad_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
H A D | hctr2.c | 129 static int hctr2_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 172 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 231 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 267 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 334 hctr2_init_tfm(struct crypto_skcipher *tfm) argument 385 hctr2_exit_tfm(struct crypto_skcipher *tfm) argument [all...] |
H A D | adiantum.c | 117 static int adiantum_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 221 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 280 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 340 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 427 adiantum_init_tfm(struct crypto_skcipher *tfm) argument 479 adiantum_exit_tfm(struct crypto_skcipher *tfm) argument [all...] |
H A D | chacha20poly1305.c | 171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 362 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 491 static int chachapoly_setauthsize(struct crypto_aead *tfm, argument 500 static int chachapoly_init(struct crypto_aead *tfm) argument 538 chachapoly_exit(struct crypto_aead *tfm) argument [all...] |
H A D | lskcipher.c | 51 static int lskcipher_setkey_unaligned(struct crypto_lskcipher *tfm, argument 72 int crypto_lskcipher_setkey(struct crypto_lskcipher *tfm, const u8 *key, argument 20 __crypto_lskcipher_cast( struct crypto_tfm *tfm) argument 88 crypto_lskcipher_crypt_unaligned( struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, u32 flags)) argument 142 crypto_lskcipher_crypt(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, u32 flags)) argument 166 crypto_lskcipher_encrypt(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv) argument 182 crypto_lskcipher_decrypt(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv) argument 198 crypto_lskcipher_crypt_sg(struct skcipher_request *req, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *ivs, u32 flags)) argument 207 struct crypto_lskcipher *tfm = *ctx; local 259 crypto_lskcipher_exit_tfm(struct crypto_tfm *tfm) argument 267 crypto_lskcipher_init_tfm(struct crypto_tfm *tfm) argument 364 crypto_lskcipher_exit_tfm_sg(struct crypto_tfm *tfm) argument 371 crypto_init_lskcipher_ops_sg(struct crypto_tfm *tfm) argument 490 lskcipher_setkey_simple(struct crypto_lskcipher *tfm, const u8 *key, unsigned int keylen) argument 501 lskcipher_init_tfm_simple(struct crypto_lskcipher *tfm) argument 517 lskcipher_exit_tfm_simple(struct crypto_lskcipher *tfm) argument [all...] |
/linux-master/include/crypto/internal/ |
H A D | skcipher.h | 225 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) argument 230 static inline void *crypto_lskcipher_ctx(struct crypto_lskcipher *tfm) argument 235 static inline void *crypto_skcipher_ctx_dma(struct crypto_skcipher *tfm) argument 265 skcipher_cipher_simple(struct crypto_skcipher *tfm) argument 283 lskcipher_cipher_simple( struct crypto_lskcipher *tfm) argument [all...] |
/linux-master/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-hcu-core.c | 166 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 378 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 416 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 565 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 654 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 747 kmb_ocs_hcu_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument 823 __cra_init(struct crypto_tfm *tfm, struct ocs_hcu_ctx *ctx) argument 829 kmb_ocs_hcu_sha_cra_init(struct crypto_tfm *tfm) argument 838 kmb_ocs_hcu_sm3_cra_init(struct crypto_tfm *tfm) argument 849 kmb_ocs_hcu_hmac_sm3_cra_init(struct crypto_tfm *tfm) argument 861 kmb_ocs_hcu_hmac_cra_init(struct crypto_tfm *tfm) argument 873 kmb_ocs_hcu_hmac_cra_exit(struct crypto_tfm *tfm) argument [all...] |
/linux-master/drivers/crypto/hisilicon/trng/ |
H A D | trng.c | 83 static int hisi_trng_seed(struct crypto_rng *tfm, const u8 *seed, argument 112 static int hisi_trng_generate(struct crypto_rng *tfm, const u8 *src, argument 154 static int hisi_trng_init(struct crypto_tfm *tfm) argument 174 static void hisi_trng_exit(struct crypto_tfm *tfm) argument
|
/linux-master/include/crypto/ |
H A D | algapi.h | 184 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) argument 189 static inline void *crypto_tfm_ctx_align(struct crypto_tfm *tfm, argument 208 static inline void *crypto_tfm_ctx_dma(struct crypto_tfm *tfm) argument 272 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) argument 213 crypto_tfm_alg_instance( struct crypto_tfm *tfm) argument [all...] |
/linux-master/arch/x86/kernel/cpu/sgx/ |
H A D | ioctl.c | 459 static int __sgx_get_key_hash(struct crypto_shash *tfm, const void *modulus, argument 471 struct crypto_shash *tfm; local [all...] |
/linux-master/drivers/crypto/stm32/ |
H A D | stm32-crc32.c | 72 static int stm32_crc32_cra_init(struct crypto_tfm *tfm) argument 81 static int stm32_crc32c_cra_init(struct crypto_tfm *tfm) argument 90 static int stm32_crc_setkey(struct crypto_shash *tfm, const u8 *key, argument
|
/linux-master/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 282 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 314 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 446 static int starfive_rsa_setkey(struct crypto_akcipher *tfm, const void *key, argument 497 static int starfive_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 510 starfive_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument 523 starfive_rsa_max_size(struct crypto_akcipher *tfm) argument 533 starfive_rsa_init_tfm(struct crypto_akcipher *tfm) argument 553 starfive_rsa_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
/linux-master/security/integrity/ima/ |
H A D | ima_crypto.c | 61 struct crypto_shash *tfm; member in struct:ima_algo_desc 93 struct crypto_shash *tfm = ima_shash_tfm; local 214 ima_free_tfm(struct crypto_shash *tfm) argument 292 struct crypto_ahash *tfm = ima_ahash_tfm; local 312 ima_free_atfm(struct crypto_ahash *tfm) argument 329 ima_calc_file_hash_atfm(struct file *file, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument 442 struct crypto_ahash *tfm; local 456 ima_calc_file_hash_tfm(struct file *file, struct ima_digest_data *hash, struct crypto_shash *tfm) argument 509 struct crypto_shash *tfm; local 663 calc_buffer_ahash_atfm(const void *buf, loff_t len, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument 706 struct crypto_ahash *tfm; local 720 calc_buffer_shash_tfm(const void *buf, loff_t size, struct ima_digest_data *hash, struct crypto_shash *tfm) argument 753 struct crypto_shash *tfm; local 800 ima_calc_boot_aggregate_tfm(char *digest, u16 alg_id, struct crypto_shash *tfm) argument 846 struct crypto_shash *tfm; local [all...] |
/linux-master/drivers/nvme/common/ |
H A D | auth.c | 318 struct crypto_shash *tfm; local 343 struct crypto_shash *tfm; local [all...] |
/linux-master/fs/crypto/ |
H A D | fname.c | 98 struct crypto_skcipher *tfm = ci->ci_enc_key.tfm; local 155 struct crypto_skcipher *tfm = ci->ci_enc_key.tfm; local
|