| /Linux-v4.19/include/crypto/ |
| D | hash.h | 148 struct crypto_shash *tfm; member 230 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() 252 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() 261 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash() 278 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name() 283 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) in crypto_ahash_driver_name() 289 struct crypto_ahash *tfm) in crypto_ahash_alignmask() 303 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize() 315 struct crypto_ahash *tfm) in crypto_hash_alg_common() 330 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize() [all …]
|
| D | skcipher.h | 142 #define SKCIPHER_REQUEST_ON_STACK(name, tfm) \ argument 178 struct crypto_tfm *tfm) in __crypto_skcipher_cast() 201 struct crypto_skcipher *tfm) in crypto_skcipher_tfm() 210 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher() 245 struct crypto_skcipher *tfm) in crypto_skcipher_driver_name() 251 struct crypto_skcipher *tfm) in crypto_skcipher_alg() 278 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) in crypto_skcipher_ivsize() 321 struct crypto_skcipher *tfm) in crypto_skcipher_chunksize() 338 struct crypto_skcipher *tfm) in crypto_skcipher_walksize() 354 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize() [all …]
|
| D | akcipher.h | 134 struct crypto_akcipher *tfm) in crypto_akcipher_tfm() 145 struct crypto_tfm *tfm) in __crypto_akcipher_tfm() 151 struct crypto_akcipher *tfm) in crypto_akcipher_alg() 156 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm) in crypto_akcipher_reqsize() 162 struct crypto_akcipher *tfm) in akcipher_request_set_tfm() 178 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) in crypto_free_akcipher() 192 struct crypto_akcipher *tfm, gfp_t gfp) in akcipher_request_alloc() 267 static inline unsigned int crypto_akcipher_maxsize(struct crypto_akcipher *tfm) in crypto_akcipher_maxsize() 286 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_encrypt() local 304 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_decrypt() local [all …]
|
| D | aead.h | 161 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast() 182 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() 191 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead() 196 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg() 216 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() 233 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize() 248 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize() 253 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask() 258 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags() 263 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_set_flags() [all …]
|
| D | kpp.h | 112 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm() 122 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm() 127 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg() 132 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize() 138 struct crypto_kpp *tfm) in kpp_request_set_tfm() 148 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags() 153 static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags) in crypto_kpp_set_flags() 163 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp() 176 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc() 286 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret() [all …]
|
| D | rng.h | 97 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() 110 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 120 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() 139 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate() 157 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes() 195 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) in crypto_rng_seedsize()
|
| /Linux-v4.19/include/linux/ |
| D | crypto.h | 175 struct crypto_tfm *tfm; member 194 struct crypto_blkcipher *tfm; member 200 struct crypto_tfm *tfm; member 660 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm() 670 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name() 675 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name() 680 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority() 685 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type() 690 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize() 695 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask() [all …]
|
| /Linux-v4.19/drivers/crypto/rockchip/ |
| D | rk3288_crypto_ablkcipher.c | 36 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in rk_aes_setkey() local 52 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in rk_tdes_setkey() local 76 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_encrypt() local 86 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_decrypt() local 96 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_encrypt() local 106 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_decrypt() local 116 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_encrypt() local 126 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_decrypt() local 136 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_cbc_encrypt() local 146 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_cbc_decrypt() local [all …]
|
| D | rk3288_crypto_ahash.c | 23 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local 85 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() local 98 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() local 113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() local 127 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() local 144 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() local 157 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() local 199 struct crypto_ahash *tfm; in rk_ahash_start() local 236 struct crypto_ahash *tfm; in rk_ahash_crypto_rx() local 275 static int rk_cra_hash_init(struct crypto_tfm *tfm) in rk_cra_hash_init() [all …]
|
| /Linux-v4.19/drivers/crypto/sunxi-ss/ |
| D | sun4i-ss-cipher.c | 21 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local 129 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local 322 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() local 333 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() local 345 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() local 356 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() local 368 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() local 379 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() local 391 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_des_encrypt() local 402 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_des_decrypt() local [all …]
|
| /Linux-v4.19/include/crypto/internal/ |
| D | scompress.h | 50 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 55 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() 60 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() 65 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm) in crypto_scomp_alg() 70 static inline void *crypto_scomp_alloc_ctx(struct crypto_scomp *tfm) in crypto_scomp_alloc_ctx() 75 static inline void crypto_scomp_free_ctx(struct crypto_scomp *tfm, in crypto_scomp_free_ctx() 81 static inline int crypto_scomp_compress(struct crypto_scomp *tfm, in crypto_scomp_compress() 88 static inline int crypto_scomp_decompress(struct crypto_scomp *tfm, in crypto_scomp_decompress()
|
| /Linux-v4.19/crypto/ |
| D | 842.c | 40 static void *crypto842_alloc_ctx(struct crypto_scomp *tfm) in crypto842_alloc_ctx() 51 static int crypto842_init(struct crypto_tfm *tfm) in crypto842_init() 62 static void crypto842_free_ctx(struct crypto_scomp *tfm, void *ctx) in crypto842_free_ctx() 67 static void crypto842_exit(struct crypto_tfm *tfm) in crypto842_exit() 74 static int crypto842_compress(struct crypto_tfm *tfm, in crypto842_compress() 83 static int crypto842_scompress(struct crypto_scomp *tfm, in crypto842_scompress() 90 static int crypto842_decompress(struct crypto_tfm *tfm, in crypto842_decompress() 97 static int crypto842_sdecompress(struct crypto_scomp *tfm, in crypto842_sdecompress()
|
| D | cfb.c | 36 static unsigned int crypto_cfb_bsize(struct crypto_skcipher *tfm) in crypto_cfb_bsize() 44 static void crypto_cfb_encrypt_one(struct crypto_skcipher *tfm, in crypto_cfb_encrypt_one() 54 struct crypto_skcipher *tfm) in crypto_cfb_final() 69 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_segment() 90 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_inplace() 113 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_encrypt() local 137 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_segment() 160 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_inplace() 181 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_blocks() 207 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_decrypt() local [all …]
|
| D | lz4.c | 32 static void *lz4_alloc_ctx(struct crypto_scomp *tfm) in lz4_alloc_ctx() 43 static int lz4_init(struct crypto_tfm *tfm) in lz4_init() 54 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4_free_ctx() 59 static void lz4_exit(struct crypto_tfm *tfm) in lz4_exit() 79 static int lz4_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4_scompress() 86 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_compress_crypto() 106 static int lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4_sdecompress() 113 static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_decompress_crypto()
|
| D | lz4hc.c | 31 static void *lz4hc_alloc_ctx(struct crypto_scomp *tfm) in lz4hc_alloc_ctx() 42 static int lz4hc_init(struct crypto_tfm *tfm) in lz4hc_init() 53 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4hc_free_ctx() 58 static void lz4hc_exit(struct crypto_tfm *tfm) in lz4hc_exit() 78 static int lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_scompress() 85 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_compress_crypto() 107 static int lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_sdecompress() 114 static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_decompress_crypto()
|
| D | cryptd.c | 199 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) in cryptd_get_queue() 245 struct crypto_ablkcipher *tfm; in cryptd_blkcipher_crypt() local 297 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in cryptd_blkcipher_enqueue() local 317 static int cryptd_blkcipher_init_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_init_tfm() 335 static void cryptd_blkcipher_exit_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_exit_tfm() 466 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_complete() local 484 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_encrypt() local 512 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_decrypt() local 539 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cryptd_skcipher_enqueue() local 559 static int cryptd_skcipher_init_tfm(struct crypto_skcipher *tfm) in cryptd_skcipher_init_tfm() [all …]
|
| D | lzo.c | 31 static void *lzo_alloc_ctx(struct crypto_scomp *tfm) in lzo_alloc_ctx() 42 static int lzo_init(struct crypto_tfm *tfm) in lzo_init() 53 static void lzo_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzo_free_ctx() 58 static void lzo_exit(struct crypto_tfm *tfm) in lzo_exit() 80 static int lzo_compress(struct crypto_tfm *tfm, const u8 *src, in lzo_compress() 88 static int lzo_scompress(struct crypto_scomp *tfm, const u8 *src, in lzo_scompress() 110 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, in lzo_decompress() 116 static int lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzo_sdecompress()
|
| D | deflate.c | 126 static void *gen_deflate_alloc_ctx(struct crypto_scomp *tfm, int format) in gen_deflate_alloc_ctx() 144 static void *deflate_alloc_ctx(struct crypto_scomp *tfm) in deflate_alloc_ctx() 149 static void *zlib_deflate_alloc_ctx(struct crypto_scomp *tfm) in zlib_deflate_alloc_ctx() 154 static int deflate_init(struct crypto_tfm *tfm) in deflate_init() 167 static void deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) in deflate_free_ctx() 173 static void deflate_exit(struct crypto_tfm *tfm) in deflate_exit() 209 static int deflate_compress(struct crypto_tfm *tfm, const u8 *src, in deflate_compress() 217 static int deflate_scompress(struct crypto_scomp *tfm, const u8 *src, in deflate_scompress() 265 static int deflate_decompress(struct crypto_tfm *tfm, const u8 *src, in deflate_decompress() 273 static int deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, in deflate_sdecompress()
|
| D | rsa.c | 81 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) in rsa_get_key() 88 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_enc() local 127 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_dec() local 165 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_sign() local 204 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_verify() local 267 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_pub_key() 301 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_priv_key() 339 static unsigned int rsa_max_size(struct crypto_akcipher *tfm) in rsa_max_size() 346 static void rsa_exit_tfm(struct crypto_akcipher *tfm) in rsa_exit_tfm()
|
| D | cipher.c | 24 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned() 47 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 66 struct crypto_tfm *tfm, in cipher_crypt_unaligned() 79 static void cipher_encrypt_unaligned(struct crypto_tfm *tfm, in cipher_encrypt_unaligned() 93 static void cipher_decrypt_unaligned(struct crypto_tfm *tfm, in cipher_decrypt_unaligned() 107 int crypto_init_cipher_ops(struct crypto_tfm *tfm) in crypto_init_cipher_ops()
|
| /Linux-v4.19/security/integrity/ima/ |
| D | ima_crypto.c | 83 struct crypto_shash *tfm = ima_shash_tfm; in ima_alloc_tfm() local 100 static void ima_free_tfm(struct crypto_shash *tfm) in ima_free_tfm() 170 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm() local 190 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm() 209 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm() 319 struct crypto_ahash *tfm; in ima_calc_file_ahash() local 335 struct crypto_shash *tfm) in ima_calc_file_hash_tfm() 392 struct crypto_shash *tfm; in ima_calc_file_shash() local 452 struct crypto_shash *tfm) in ima_calc_field_array_hash_tfm() 499 struct crypto_shash *tfm; in ima_calc_field_array_hash() local [all …]
|
| /Linux-v4.19/arch/arm/crypto/ |
| D | aes-neonbs-glue.c | 60 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey() 84 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 119 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey() 139 static void cbc_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) in cbc_encrypt_one() 153 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 179 static int cbc_init(struct crypto_tfm *tfm) in cbc_init() 188 static void cbc_exit(struct crypto_tfm *tfm) in cbc_exit() 197 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local 237 static int aesbs_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_xts_setkey() 255 static int xts_init(struct crypto_tfm *tfm) in xts_init() [all …]
|
| /Linux-v4.19/drivers/crypto/cavium/zip/ |
| D | zip_crypto.c | 199 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_deflate() 209 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_lzs() 219 void zip_free_comp_ctx(struct crypto_tfm *tfm) in zip_free_comp_ctx() 226 int zip_comp_compress(struct crypto_tfm *tfm, in zip_comp_compress() 238 int zip_comp_decompress(struct crypto_tfm *tfm, in zip_comp_decompress() 251 void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_deflate() 270 void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_lzs() 289 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *ctx) in zip_free_scomp_ctx() 297 int zip_scomp_compress(struct crypto_scomp *tfm, in zip_scomp_compress() 309 int zip_scomp_decompress(struct crypto_scomp *tfm, in zip_scomp_decompress()
|
| /Linux-v4.19/drivers/crypto/caam/ |
| D | caampkc.c | 40 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_pub_unmap() local 52 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() local 64 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() local 81 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() local 215 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() local 304 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() local 349 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() local 393 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() local 468 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f3_pdb() local 558 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_enc() local [all …]
|
| /Linux-v4.19/drivers/crypto/ccree/ |
| D | cc_aead.c | 71 static void cc_aead_exit(struct crypto_aead *tfm) in cc_aead_exit() 125 static int cc_aead_init(struct crypto_aead *tfm) in cc_aead_init() 211 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); in cc_aead_complete() local 418 static int cc_get_plain_hmac_key(struct crypto_aead *tfm, const u8 *key, in cc_get_plain_hmac_key() 539 static int cc_aead_setkey(struct crypto_aead *tfm, const u8 *key, in cc_aead_setkey() 646 static int cc_rfc4309_ccm_setkey(struct crypto_aead *tfm, const u8 *key, in cc_rfc4309_ccm_setkey() 715 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_set_assoc_desc() local 759 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_authen_desc() local 823 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_cipher_desc() local 865 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_digest_desc() local [all …]
|