/linux-6.3-rc2/include/crypto/ |
A D | skcipher.h | 169 struct crypto_tfm *tfm) in __crypto_skcipher_cast() 195 struct crypto_skcipher *tfm) in crypto_skcipher_tfm() 229 struct crypto_skcipher *tfm) in crypto_skcipher_driver_name() 235 struct crypto_skcipher *tfm) in crypto_skcipher_alg() 261 struct crypto_sync_skcipher *tfm) in crypto_sync_skcipher_ivsize() 277 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize() 300 struct crypto_skcipher *tfm) in crypto_skcipher_chunksize() 306 struct crypto_sync_skcipher *tfm) in crypto_sync_skcipher_blocksize() 312 struct crypto_skcipher *tfm) in crypto_skcipher_alignmask() 378 struct crypto_skcipher *tfm) in crypto_skcipher_min_keysize() [all …]
|
A D | hash.h | 151 struct crypto_shash *tfm; member 315 struct crypto_ahash *tfm) in crypto_ahash_alignmask() 341 struct crypto_ahash *tfm) in crypto_hash_alg_common() 509 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_import() local 530 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init() local 551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_update() local 582 struct crypto_ahash *tfm) in ahash_request_set_tfm() 600 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc() 750 struct crypto_shash *tfm) in crypto_shash_alignmask() 922 struct crypto_shash *tfm = desc->tfm; in crypto_shash_import() local [all …]
|
A D | aead.h | 182 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() 193 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead() 198 static inline const char *crypto_aead_driver_name(struct crypto_aead *tfm) in crypto_aead_driver_name() 203 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg() 223 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize() 240 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize() 265 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize() 270 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask() 275 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags() 388 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm) in crypto_aead_reqsize() [all …]
|
A D | akcipher.h | 135 struct crypto_akcipher *tfm) in crypto_akcipher_tfm() 146 struct crypto_tfm *tfm) in __crypto_akcipher_tfm() 152 struct crypto_akcipher *tfm) in crypto_akcipher_alg() 163 struct crypto_akcipher *tfm) in akcipher_request_set_tfm() 181 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) in crypto_free_akcipher() 195 struct crypto_akcipher *tfm, gfp_t gfp) in akcipher_request_alloc() 290 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_encrypt() local 314 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_decrypt() local 338 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_sign() local 365 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_verify() local [all …]
|
A D | kpp.h | 110 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm() 120 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm() 125 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg() 130 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize() 136 struct crypto_kpp *tfm) in kpp_request_set_tfm() 146 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags() 163 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp() 286 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret() 314 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_generate_public_key() local 337 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_compute_shared_secret() local [all …]
|
/linux-6.3-rc2/drivers/crypto/inside-secure/ |
A D | safexcel_cipher.c | 374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local 405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local 1001 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local 2580 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_gcm_setkey() local 2682 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_ccm_setkey() local 2899 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_chachapoly_crypt() local 3378 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setkey() local 3389 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setauthsize() local 3400 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_fallback_crypt() local 3559 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4106_gcm_setkey() local [all …]
|
A D | safexcel_hash.c | 1121 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() local 2357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in safexcel_sha3_224_init() local 2375 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_fbcheck() local 2412 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_update() local 2422 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_final() local 2432 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_finup() local 2447 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_digest_fallback() local 2467 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_export() local 2477 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_import() local 2551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in safexcel_sha3_256_init() local [all …]
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-cipher.c | 17 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local 150 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll_fallback() local 178 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local 399 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() local 410 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() local 422 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() local 433 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() local 445 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() local 456 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() local 534 int sun4i_ss_cipher_init(struct crypto_tfm *tfm) in sun4i_ss_cipher_init() [all …]
|
/linux-6.3-rc2/include/crypto/internal/ |
A D | cipher.h | 37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() 66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() 75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() 109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() 114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() 119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags() 124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags() 130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags() 213 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
|
A D | scompress.h | 46 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 51 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() 56 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() 61 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm) in crypto_scomp_alg() 66 static inline void *crypto_scomp_alloc_ctx(struct crypto_scomp *tfm) in crypto_scomp_alloc_ctx() 71 static inline void crypto_scomp_free_ctx(struct crypto_scomp *tfm, in crypto_scomp_free_ctx() 77 static inline int crypto_scomp_compress(struct crypto_scomp *tfm, in crypto_scomp_compress() 84 static inline int crypto_scomp_decompress(struct crypto_scomp *tfm, in crypto_scomp_decompress()
|
A D | des.h | 26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key() 91 static inline int crypto_des3_ede_verify_key(struct crypto_tfm *tfm, in crypto_des3_ede_verify_key() 99 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, in verify_skcipher_des_key() 105 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm, in verify_skcipher_des3_key() 111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key() 119 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
|
/linux-6.3-rc2/crypto/ |
A D | cfb.c | 31 static unsigned int crypto_cfb_bsize(struct crypto_skcipher *tfm) in crypto_cfb_bsize() 36 static void crypto_cfb_encrypt_one(struct crypto_skcipher *tfm, in crypto_cfb_encrypt_one() 44 struct crypto_skcipher *tfm) in crypto_cfb_final() 59 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_segment() 82 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_inplace() 105 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_encrypt() local 129 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_segment() 152 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_inplace() 171 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_blocks() 181 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_decrypt() local
|
A D | 842.c | 31 static void *crypto842_alloc_ctx(struct crypto_scomp *tfm) in crypto842_alloc_ctx() 42 static int crypto842_init(struct crypto_tfm *tfm) in crypto842_init() 53 static void crypto842_free_ctx(struct crypto_scomp *tfm, void *ctx) in crypto842_free_ctx() 58 static void crypto842_exit(struct crypto_tfm *tfm) in crypto842_exit() 65 static int crypto842_compress(struct crypto_tfm *tfm, in crypto842_compress() 74 static int crypto842_scompress(struct crypto_scomp *tfm, in crypto842_scompress() 81 static int crypto842_decompress(struct crypto_tfm *tfm, in crypto842_decompress() 88 static int crypto842_sdecompress(struct crypto_scomp *tfm, in crypto842_sdecompress()
|
A D | lz4.c | 19 static void *lz4_alloc_ctx(struct crypto_scomp *tfm) in lz4_alloc_ctx() 30 static int lz4_init(struct crypto_tfm *tfm) in lz4_init() 41 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4_free_ctx() 46 static void lz4_exit(struct crypto_tfm *tfm) in lz4_exit() 66 static int lz4_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4_scompress() 73 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_compress_crypto() 93 static int lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4_sdecompress() 100 static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_decompress_crypto()
|
A D | lz4hc.c | 18 static void *lz4hc_alloc_ctx(struct crypto_scomp *tfm) in lz4hc_alloc_ctx() 29 static int lz4hc_init(struct crypto_tfm *tfm) in lz4hc_init() 40 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4hc_free_ctx() 45 static void lz4hc_exit(struct crypto_tfm *tfm) in lz4hc_exit() 65 static int lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_scompress() 72 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_compress_crypto() 94 static int lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_sdecompress() 101 static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_decompress_crypto()
|
A D | ecdh.c | 21 static inline struct ecdh_ctx *ecdh_get_ctx(struct crypto_kpp *tfm) in ecdh_get_ctx() 26 static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, in ecdh_set_secret() 52 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in ecdh_compute_value() local 118 static unsigned int ecdh_max_size(struct crypto_kpp *tfm) in ecdh_max_size() 126 static int ecdh_nist_p192_init_tfm(struct crypto_kpp *tfm) in ecdh_nist_p192_init_tfm() 151 static int ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm) in ecdh_nist_p256_init_tfm() 176 static int ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm) in ecdh_nist_p384_init_tfm()
|
/linux-6.3-rc2/drivers/crypto/cavium/zip/ |
A D | zip_crypto.c | 199 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_deflate() 206 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_lzs() 213 void zip_free_comp_ctx(struct crypto_tfm *tfm) in zip_free_comp_ctx() 220 int zip_comp_compress(struct crypto_tfm *tfm, in zip_comp_compress() 229 int zip_comp_decompress(struct crypto_tfm *tfm, in zip_comp_decompress() 239 void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_deflate() 258 void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_lzs() 277 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *ctx) in zip_free_scomp_ctx() 285 int zip_scomp_compress(struct crypto_scomp *tfm, in zip_scomp_compress() 294 int zip_scomp_decompress(struct crypto_scomp *tfm, in zip_scomp_decompress()
|
/linux-6.3-rc2/arch/arm/crypto/ |
A D | aes-neonbs-glue.c | 68 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey() 92 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 127 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey() 151 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 166 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 192 static int cbc_init(struct crypto_skcipher *tfm) in cbc_init() 209 static void cbc_exit(struct crypto_skcipher *tfm) in cbc_exit() 237 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local 314 static int xts_init(struct crypto_skcipher *tfm) in xts_init() 329 static void xts_exit(struct crypto_skcipher *tfm) in xts_exit() [all …]
|
/linux-6.3-rc2/drivers/crypto/rockchip/ |
A D | rk3288_crypto_ahash.c | 41 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() local 61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local 117 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() local 130 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() local 145 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() local 159 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() local 176 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() local 189 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() local 256 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_run() local 333 static int rk_cra_hash_init(struct crypto_tfm *tfm) in rk_cra_hash_init() [all …]
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ce/ |
A D | sun8i-ce-hash.c | 22 int sun8i_ce_hash_crainit(struct crypto_tfm *tfm) in sun8i_ce_hash_crainit() 66 void sun8i_ce_hash_craexit(struct crypto_tfm *tfm) in sun8i_ce_hash_craexit() 77 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() local 91 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() local 103 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() local 115 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() local 138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() local 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() local 178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() local 202 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_need_fallback() local [all …]
|
A D | sun8i-ce-cipher.c | 26 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_need_fallback() local 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_fallback() local 118 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_prepare() local 300 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(breq); in sun8i_ce_cipher_run() local 317 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_unprepare() local 362 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skdecrypt() local 381 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skencrypt() local 398 int sun8i_ce_cipher_init(struct crypto_tfm *tfm) in sun8i_ce_cipher_init() 441 void sun8i_ce_cipher_exit(struct crypto_tfm *tfm) in sun8i_ce_cipher_exit() 450 int sun8i_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ce_aes_setkey() [all …]
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | aesni-intel_glue.c | 294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 316 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 338 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 360 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 382 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local 784 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_encrypt() local 803 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_decrypt() local 829 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt() local 857 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt() local 1160 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt() local [all …]
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ss/ |
A D | sun8i-ss-cipher.c | 25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_need_fallback() local 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_cipher_fallback() local 117 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_setup_ivs() local 180 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_cipher() local 342 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_skdecrypt() local 363 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ss_skencrypt() local 382 int sun8i_ss_cipher_init(struct crypto_tfm *tfm) in sun8i_ss_cipher_init() 427 void sun8i_ss_cipher_exit(struct crypto_tfm *tfm) in sun8i_ss_cipher_exit() 436 int sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ss_aes_setkey() 465 int sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ss_des3_setkey()
|
/linux-6.3-rc2/drivers/crypto/caam/ |
A D | caampkc.c | 61 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_pub_unmap() local 73 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() local 85 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() local 102 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() local 152 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f_done() local 246 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() local 373 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_do_one_req() local 401 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() local 447 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() local 494 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() local [all …]
|
/linux-6.3-rc2/arch/s390/crypto/ |
A D | aes_s390.c | 84 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 128 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 145 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 224 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_crypt() local 254 static int fallback_init_skcipher(struct crypto_skcipher *tfm) in fallback_init_skcipher() 320 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_crypt() local 420 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_aes_crypt() local 486 static int xts_fallback_init(struct crypto_skcipher *tfm) in xts_fallback_init() 504 static void xts_fallback_exit(struct crypto_skcipher *tfm) in xts_fallback_exit() 567 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_aes_crypt() local [all …]
|