/kernel/linux/linux-5.10/include/crypto/ |
D | skcipher.h | 126 #define SYNC_SKCIPHER_REQUEST_ON_STACK(name, tfm) \ argument 165 struct crypto_tfm *tfm) in __crypto_skcipher_cast() 191 struct crypto_skcipher *tfm) in crypto_skcipher_tfm() 202 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher() 207 static inline void crypto_free_sync_skcipher(struct crypto_sync_skcipher *tfm) in crypto_free_sync_skcipher() 225 struct crypto_skcipher *tfm) in crypto_skcipher_driver_name() 231 struct crypto_skcipher *tfm) in crypto_skcipher_alg() 251 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) in crypto_skcipher_ivsize() 257 struct crypto_sync_skcipher *tfm) in crypto_sync_skcipher_ivsize() 273 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize() [all …]
|
D | hash.h | 151 struct crypto_shash *tfm; member 254 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() 276 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() 287 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash() 304 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name() 309 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) in crypto_ahash_driver_name() 315 struct crypto_ahash *tfm) in crypto_ahash_alignmask() 329 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize() 341 struct crypto_ahash *tfm) in crypto_hash_alg_common() 356 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize() [all …]
|
D | aead.h | 159 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast() 180 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() 258 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize() 263 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask() 268 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags() 273 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_set_flags() [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() 180 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) in crypto_free_akcipher() 194 struct crypto_akcipher *tfm, gfp_t gfp) in akcipher_request_alloc() 270 static inline unsigned int crypto_akcipher_maxsize(struct crypto_akcipher *tfm) in crypto_akcipher_maxsize() 289 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_encrypt() local 313 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_decrypt() local [all …]
|
D | kpp.h | 107 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm() 117 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm() 122 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg() 127 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize() 133 struct crypto_kpp *tfm) in kpp_request_set_tfm() 143 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags() 148 static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags) in crypto_kpp_set_flags() 160 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp() 173 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc() 283 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret() [all …]
|
D | rng.h | 92 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() 105 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 117 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() 136 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate() 160 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes() 198 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) in crypto_rng_seedsize()
|
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/ |
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 983 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local 1054 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_send() local 1073 static int safexcel_cipher_exit_inv(struct crypto_tfm *tfm, in safexcel_cipher_exit_inv() 1107 static int safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) in safexcel_skcipher_exit_inv() 1122 static int safexcel_aead_exit_inv(struct crypto_tfm *tfm) in safexcel_aead_exit_inv() 1186 static int safexcel_skcipher_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_cra_init() 1205 static int safexcel_cipher_cra_exit(struct crypto_tfm *tfm) in safexcel_cipher_cra_exit() 1219 static void safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) in safexcel_skcipher_cra_exit() [all …]
|
D | safexcel_hash.c | 620 static int safexcel_ahash_exit_inv(struct crypto_tfm *tfm) in safexcel_ahash_exit_inv() 916 static int safexcel_ahash_cra_init(struct crypto_tfm *tfm) in safexcel_ahash_cra_init() 959 static void safexcel_ahash_cra_exit(struct crypto_tfm *tfm) in safexcel_ahash_cra_exit() 1145 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() local 1214 static int safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_alg_setkey() 1223 static int safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha1_setkey() 1376 static int safexcel_hmac_sha224_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha224_setkey() 1448 static int safexcel_hmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha256_setkey() 1634 static int safexcel_hmac_sha512_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha512_setkey() 1706 static int safexcel_hmac_sha384_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha384_setkey() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-cipher.c | 17 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local 146 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll_fallback() local 167 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local 386 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() local 397 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() local 409 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() local 420 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() local 432 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() local 443 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() local 455 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_des_encrypt() local [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 40 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() local 56 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local 79 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_reg_init() local 114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() local 127 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() local 142 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() local 156 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() local 173 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() local 186 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() local 221 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_prepare() local [all …]
|
D | rk3288_crypto_skcipher.c | 19 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_cipher_need_fallback() local 57 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in rk_cipher_fallback() local 88 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_aes_setkey() local 134 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_ecb_encrypt() local 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_ecb_decrypt() local 156 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_cbc_encrypt() local 167 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_aes_cbc_decrypt() local 178 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_des_ecb_encrypt() local 189 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_des_ecb_decrypt() local 200 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_des_cbc_encrypt() local [all …]
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
D | scompress.h | 45 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 50 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() 55 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() 60 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm) in crypto_scomp_alg() 65 static inline void *crypto_scomp_alloc_ctx(struct crypto_scomp *tfm) in crypto_scomp_alloc_ctx() 70 static inline void crypto_scomp_free_ctx(struct crypto_scomp *tfm, in crypto_scomp_free_ctx() 76 static inline int crypto_scomp_compress(struct crypto_scomp *tfm, in crypto_scomp_compress() 83 static inline int crypto_scomp_decompress(struct crypto_scomp *tfm, in crypto_scomp_decompress()
|
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()
|
/kernel/linux/linux-5.10/crypto/ |
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()
|
D | cfb.c | 30 static unsigned int crypto_cfb_bsize(struct crypto_skcipher *tfm) in crypto_cfb_bsize() 35 static void crypto_cfb_encrypt_one(struct crypto_skcipher *tfm, in crypto_cfb_encrypt_one() 43 struct crypto_skcipher *tfm) in crypto_cfb_final() 58 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_segment() 81 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_inplace() 104 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_encrypt() local 128 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_segment() 151 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_inplace() 170 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_blocks() 180 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_decrypt() local
|
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()
|
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()
|
D | des_generic.c | 19 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 37 static void crypto_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_encrypt() 44 static void crypto_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_decrypt() 51 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey() 69 static void crypto_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_encrypt() 77 static void crypto_des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_decrypt()
|
D | lzo-rle.c | 18 static void *lzorle_alloc_ctx(struct crypto_scomp *tfm) in lzorle_alloc_ctx() 29 static int lzorle_init(struct crypto_tfm *tfm) in lzorle_init() 40 static void lzorle_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzorle_free_ctx() 45 static void lzorle_exit(struct crypto_tfm *tfm) in lzorle_exit() 67 static int lzorle_compress(struct crypto_tfm *tfm, const u8 *src, in lzorle_compress() 75 static int lzorle_scompress(struct crypto_scomp *tfm, const u8 *src, in lzorle_scompress() 97 static int lzorle_decompress(struct crypto_tfm *tfm, const u8 *src, in lzorle_decompress() 103 static int lzorle_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzorle_sdecompress()
|
D | lzo.c | 18 static void *lzo_alloc_ctx(struct crypto_scomp *tfm) in lzo_alloc_ctx() 29 static int lzo_init(struct crypto_tfm *tfm) in lzo_init() 40 static void lzo_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzo_free_ctx() 45 static void lzo_exit(struct crypto_tfm *tfm) in lzo_exit() 67 static int lzo_compress(struct crypto_tfm *tfm, const u8 *src, in lzo_compress() 75 static int lzo_scompress(struct crypto_scomp *tfm, const u8 *src, in lzo_scompress() 97 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, in lzo_decompress() 103 static int lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzo_sdecompress()
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 21 int sun8i_ss_hash_crainit(struct crypto_tfm *tfm) in sun8i_ss_hash_crainit() 65 void sun8i_ss_hash_craexit(struct crypto_tfm *tfm) in sun8i_ss_hash_craexit() 76 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() local 90 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() local 102 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() local 114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() local 137 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() local 152 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() local 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() local 284 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest() local [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 21 int sun8i_ce_hash_crainit(struct crypto_tfm *tfm) in sun8i_ce_hash_crainit() 65 void sun8i_ce_hash_craexit(struct crypto_tfm *tfm) in sun8i_ce_hash_craexit() 76 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() local 90 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() local 102 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() local 114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() local 137 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() local 152 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() local 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() local 219 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest() local [all …]
|
D | sun8i-ce-cipher.c | 26 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_need_fallback() local 55 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_fallback() local 82 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_prepare() local 276 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(breq); in sun8i_ce_cipher_run() local 293 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_cipher_unprepare() local 338 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skdecrypt() local 357 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun8i_ce_skencrypt() local 374 int sun8i_ce_cipher_init(struct crypto_tfm *tfm) in sun8i_ce_cipher_init() 418 void sun8i_ce_cipher_exit(struct crypto_tfm *tfm) in sun8i_ce_cipher_exit() 427 int sun8i_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sun8i_ce_aes_setkey() [all …]
|
/kernel/linux/linux-5.10/arch/arm/crypto/ |
D | aes-neonbs-glue.c | 65 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey() 89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 124 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey() 148 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 163 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 189 static int cbc_init(struct crypto_skcipher *tfm) in cbc_init() 206 static void cbc_exit(struct crypto_skcipher *tfm) in cbc_exit() 213 static int aesbs_ctr_setkey_sync(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_ctr_setkey_sync() 234 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local 274 static void ctr_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) in ctr_encrypt_one() [all …]
|
/kernel/linux/linux-5.10/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()
|