/linux-master/drivers/crypto/virtio/ |
H A D | virtio_crypto_akcipher_algs.c | 29 struct crypto_akcipher *tfm; member in struct:virtio_crypto_akcipher_ctx 365 static int virtio_crypto_rsa_set_key(struct crypto_akcipher *tfm, argument 429 static int virtio_crypto_rsa_raw_set_priv_key(struct crypto_akcipher *tfm, argument 439 static int virtio_crypto_p1pad_rsa_sha1_set_priv_key(struct crypto_akcipher *tfm, argument 448 static int virtio_crypto_rsa_raw_set_pub_key(struct crypto_akcipher *tfm, argument 457 static int virtio_crypto_p1pad_rsa_sha1_set_pub_key(struct crypto_akcipher *tfm, argument 466 virtio_crypto_rsa_max_size(struct crypto_akcipher *tfm) argument 474 virtio_crypto_rsa_init_tfm(struct crypto_akcipher *tfm) argument 486 virtio_crypto_rsa_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_comp_algs.c | 72 struct crypto_acomp *tfm = crypto_acomp_reqtfm(areq); local 109 struct crypto_acomp *tfm = crypto_acomp_reqtfm(areq); local 194 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); local 217 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); local 230 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); local [all...] |
/linux-master/drivers/crypto/hisilicon/zip/ |
H A D | zip_crypto.c | 538 static int hisi_zip_acomp_init(struct crypto_acomp *tfm) argument 576 static void hisi_zip_acomp_exit(struct crypto_acomp *tfm) argument
|
/linux-master/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 684 static int sec_skcipher_fbtfm_init(struct crypto_skcipher *tfm) argument 706 static int sec_skcipher_init(struct crypto_skcipher *tfm) argument 740 sec_skcipher_uninit(struct crypto_skcipher *tfm) argument 751 sec_skcipher_3des_setkey(struct crypto_skcipher *tfm, const u8 *key, const u32 keylen) argument 820 sec_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, const u32 keylen, const enum sec_calg c_alg, const enum sec_cmode c_mode) argument 896 struct crypto_aead *tfm; local 947 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); local 1117 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local 1127 sec_aead_fallback_setkey(struct sec_auth_ctx *a_ctx, struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument 1137 sec_aead_setkey(struct crypto_aead *tfm, const u8 *key, const u32 keylen, const enum sec_hash_alg a_alg, const enum sec_calg c_alg, const enum sec_mac_len mac_len, const enum sec_cmode c_mode) argument 1514 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); local 1703 struct crypto_aead *tfm = crypto_aead_reqtfm(a_req); local 1852 sec_skcipher_ctx_init(struct crypto_skcipher *tfm) argument 1872 sec_skcipher_ctx_exit(struct crypto_skcipher *tfm) argument 1877 sec_aead_init(struct crypto_aead *tfm) argument 1919 sec_aead_exit(struct crypto_aead *tfm) argument 1928 sec_aead_ctx_init(struct crypto_aead *tfm, const char *hash_name) argument 1950 sec_aead_ctx_exit(struct crypto_aead *tfm) argument 1958 sec_aead_xcm_ctx_init(struct crypto_aead *tfm) argument 1985 sec_aead_xcm_ctx_exit(struct crypto_aead *tfm) argument 1993 sec_aead_sha1_ctx_init(struct crypto_aead *tfm) argument 1998 sec_aead_sha256_ctx_init(struct crypto_aead *tfm) argument 2003 sec_aead_sha512_ctx_init(struct crypto_aead *tfm) argument 2108 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(sk_req); local 2233 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 2281 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 2354 struct crypto_aead *tfm = crypto_aead_reqtfm(a_req); local [all...] |
/linux-master/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 26 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm) argument 64 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm) argument 75 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 89 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 101 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 208 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 241 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 333 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local [all...] |
/linux-master/crypto/ |
H A D | testmgr.c | 1275 struct crypto_shash *tfm = desc->tfm; local 1458 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1736 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 1864 struct crypto_shash *tfm; local 2031 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 2257 struct crypto_aead *tfm; member in struct:aead_extra_tests_ctx 2310 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 2380 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 2486 struct crypto_aead *tfm = ctx->tfm; local 2667 struct crypto_aead *tfm; local 2717 test_cipher(struct crypto_cipher *tfm, int enc, const struct cipher_testvec *template, unsigned int tcount) argument 2810 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 3023 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 3077 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 3244 struct crypto_skcipher *tfm; local 3294 test_comp(struct crypto_comp *tfm, const struct comp_testvec *ctemplate, const struct comp_testvec *dtemplate, int ctcount, int dtcount) argument 3400 test_acomp(struct crypto_acomp *tfm, const struct comp_testvec *ctemplate, const struct comp_testvec *dtemplate, int ctcount, int dtcount) argument 3598 test_cprng(struct crypto_rng *tfm, const struct cprng_testvec *template, unsigned int tcount) argument 3664 struct crypto_cipher *tfm; local 3723 struct crypto_shash *tfm; local 3887 do_test_kpp(struct crypto_kpp *tfm, const struct kpp_testvec *vec, const char *alg) argument 4029 test_kpp(struct crypto_kpp *tfm, const char *alg, const struct kpp_testvec *vecs, unsigned int tcount) argument 4048 struct crypto_kpp *tfm; local 4071 test_akcipher_one(struct crypto_akcipher *tfm, const struct akcipher_testvec *vecs) argument 4253 test_akcipher(struct crypto_akcipher *tfm, const char *alg, const struct akcipher_testvec *vecs, unsigned int tcount) argument 4276 struct crypto_akcipher *tfm; local [all...] |
H A D | tcrypt.c | 249 struct crypto_aead *tfm; local 524 struct crypto_aead *tfm; local 872 struct crypto_ahash *tfm; local 1065 struct crypto_skcipher *tfm; local 1302 struct crypto_skcipher *tfm; local [all...] |
H A D | scompress.c | 101 static int crypto_scomp_init_tfm(struct crypto_tfm *tfm) argument 115 struct crypto_acomp *tfm = crypto_acomp_reqtfm(req); local 195 static void crypto_exit_scomp_ops_async(struct crypto_tfm *tfm) argument 207 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm) argument 237 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); local 256 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); local [all...] |
H A D | rsa.c | 116 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) argument 123 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 162 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 264 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 303 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, argument 366 rsa_max_size(struct crypto_akcipher *tfm) argument 373 rsa_exit_tfm(struct crypto_akcipher *tfm) argument [all...] |
H A D | dh.c | 42 static inline struct dh_ctx *dh_get_ctx(struct crypto_kpp *tfm) argument 71 static int dh_set_secret(struct crypto_kpp *tfm, const void *buf, argument 169 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 251 static unsigned int dh_max_size(struct crypto_kpp *tfm) argument 258 static void dh_exit_tfm(struct crypto_kpp *tfm) argument 306 dh_safe_prime_instance_ctx( struct crypto_kpp *tfm) argument 312 dh_safe_prime_init_tfm(struct crypto_kpp *tfm) argument 328 dh_safe_prime_exit_tfm(struct crypto_kpp *tfm) argument 457 dh_safe_prime_set_secret(struct crypto_kpp *tfm, const void *buffer, unsigned int len) argument 544 dh_safe_prime_max_size(struct crypto_kpp *tfm) argument [all...] |
H A D | pcbc.c | 66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 20 crypto_pcbc_encrypt_segment(struct skcipher_request *req, struct skcipher_walk *walk, struct crypto_cipher *tfm) argument 42 crypto_pcbc_encrypt_inplace(struct skcipher_request *req, struct skcipher_walk *walk, struct crypto_cipher *tfm) argument 87 crypto_pcbc_decrypt_segment(struct skcipher_request *req, struct skcipher_walk *walk, struct crypto_cipher *tfm) argument 109 crypto_pcbc_decrypt_inplace(struct skcipher_request *req, struct skcipher_walk *walk, struct crypto_cipher *tfm) argument 133 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
H A D | ahash.c | 50 static inline struct crypto_shash *ahash_to_shash(struct crypto_ahash *tfm) argument 122 static void crypto_exit_ahash_using_shash(struct crypto_tfm *tfm) argument 129 static int crypto_init_ahash_using_shash(struct crypto_tfm *tfm) argument 55 prepare_shash_desc(struct ahash_request *req, struct crypto_ahash *tfm) argument 227 ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument 233 ahash_set_needkey(struct crypto_ahash *tfm, struct ahash_alg *alg) argument 240 crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument 271 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 284 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 346 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 361 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 376 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 395 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 470 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 486 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 496 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local 506 crypto_ahash_exit_tfm(struct crypto_tfm *tfm) argument 514 crypto_ahash_init_tfm(struct crypto_tfm *tfm) argument 634 struct crypto_tfm *tfm = crypto_ahash_tfm(hash); local [all...] |
/linux-master/crypto/asymmetric_keys/ |
H A D | verify_pefile.c | 325 struct crypto_shash *tfm; local [all...] |
/linux-master/arch/powerpc/crypto/ |
H A D | ghash.c | 55 static int p8_ghash_setkey(struct crypto_shash *tfm, const u8 *key, argument
|
H A D | aes_ctr.c | 23 static int p8_aes_ctr_init(struct crypto_skcipher *tfm) argument 43 static void p8_aes_ctr_exit(struct crypto_skcipher *tfm) argument 50 static int p8_aes_ctr_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 92 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
|
H A D | aes_xts.c | 26 static int p8_aes_xts_init(struct crypto_skcipher *tfm) argument 46 static void p8_aes_xts_exit(struct crypto_skcipher *tfm) argument 53 static int p8_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 80 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
H A D | aes.c | 28 static int p8_aes_init(struct crypto_tfm *tfm) argument 51 static void p8_aes_exit(struct crypto_tfm *tfm) argument 61 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, argument 81 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 98 p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument [all...] |
H A D | aes_cbc.c | 24 static int p8_aes_cbc_init(struct crypto_skcipher *tfm) argument 44 static void p8_aes_cbc_exit(struct crypto_skcipher *tfm) argument 51 static int p8_aes_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, argument 73 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
|
/linux-master/arch/arm64/crypto/ |
H A D | aes-glue.c | 137 static int skcipher_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key, argument 145 static int __maybe_unused xts_set_key(struct crypto_skcipher *tfm, argument 162 static int __maybe_unused essiv_cbc_set_key(struct crypto_skcipher *tfm, argument 181 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 201 struct crypto_skcipher *tfm local 222 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 251 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 279 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 336 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 391 essiv_cbc_init_tfm(struct crypto_skcipher *tfm) argument 400 essiv_cbc_exit_tfm(struct crypto_skcipher *tfm) argument 409 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 431 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 453 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 499 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 543 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 615 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 800 cbcmac_setkey(struct crypto_shash *tfm, const u8 *in_key, unsigned int key_len) argument 817 cmac_setkey(struct crypto_shash *tfm, const u8 *in_key, unsigned int key_len) argument 841 xcbc_setkey(struct crypto_shash *tfm, const u8 *in_key, unsigned int key_len) argument [all...] |
H A D | aes-ce-ccm-glue.c | 47 static int ccm_setkey(struct crypto_aead *tfm, const u8 *in_key, argument 55 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
|
/linux-master/kernel/ |
H A D | kexec_file.c | 698 struct crypto_shash *tfm; local
|
/linux-master/include/crypto/ |
H A D | acompress.h | 130 static inline struct crypto_tfm *crypto_acomp_tfm(struct crypto_acomp *tfm) argument 141 static inline struct crypto_acomp *__crypto_acomp_tfm(struct crypto_tfm *tfm) argument 152 static inline unsigned int crypto_acomp_reqsize(struct crypto_acomp *tfm) argument 146 crypto_comp_alg_common( struct crypto_acomp *tfm) argument 157 acomp_request_set_tfm(struct acomp_req *req, struct crypto_acomp *tfm) argument 163 acomp_is_async(struct crypto_acomp *tfm) argument 181 crypto_free_acomp(struct crypto_acomp *tfm) argument 296 struct crypto_acomp *tfm = crypto_acomp_reqtfm(req); local 322 struct crypto_acomp *tfm = crypto_acomp_reqtfm(req); local [all...] |
/linux-master/drivers/misc/sgi-gru/ |
H A D | grufault.c | 146 struct gru_tlb_fault_map *tfm; local
|
/linux-master/drivers/md/ |
H A D | dm-verity.h | 42 struct crypto_ahash *tfm; member in struct:dm_verity
|
H A D | dm-crypt.c | 132 struct crypto_skcipher *tfm; member in struct:iv_elephant_private 744 struct crypto_skcipher *tfm = any_tfm(cc); local [all...] |