/kernel/linux/linux-6.6/include/crypto/ |
H A D | hash.h | 15 struct crypto_ahash; 166 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 168 int (*init_tfm)(struct crypto_ahash *tfm); 169 void (*exit_tfm)(struct crypto_ahash *tfm); 170 int (*clone_tfm)(struct crypto_ahash *dst, struct crypto_ahash *src); 252 struct crypto_ahash { struct 260 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 283 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() 285 return container_of(tfm, struct crypto_ahash, bas in __crypto_ahash_cast() [all...] |
/kernel/linux/linux-5.10/include/crypto/ |
H A D | hash.h | 14 struct crypto_ahash; 142 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 144 int (*init_tfm)(struct crypto_ahash *tfm); 145 void (*exit_tfm)(struct crypto_ahash *tfm); 224 struct crypto_ahash { struct 232 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 254 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() 256 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast() 267 * crypto_ahash is the cipher handle that is required for any subsequent 273 struct crypto_ahash *crypto_alloc_ahas [all...] |
H A D | cryptd.h | 34 struct crypto_ahash base; 38 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | hash.h | 136 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() 141 static inline void *crypto_ahash_ctx_dma(struct crypto_ahash *tfm) in crypto_ahash_ctx_dma() 152 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg() 158 static inline void crypto_ahash_set_statesize(struct crypto_ahash *tfm, in crypto_ahash_set_statesize() 164 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() 170 static inline void crypto_ahash_set_reqsize_dma(struct crypto_ahash *ahash, in crypto_ahash_set_reqsize_dma() 190 struct crypto_ahash *ahash) in ahash_alg_instance() 220 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | ahash.c | 130 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned() 150 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey() 156 static void ahash_set_needkey(struct crypto_ahash *tfm) in ahash_set_needkey() 165 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey() 189 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req() 290 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op() 304 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final() 316 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_finup() 332 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest() 400 struct crypto_ahash *tf in ahash_def_finup() [all...] |
H A D | hash.h | 35 struct crypto_ahash *crypto_clone_shash_ops_async(struct crypto_ahash *nhash, 36 struct crypto_ahash *hash);
|
H A D | authencesn.c | 32 struct crypto_ahash *auth; 62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() 92 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail() 124 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv() 226 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail() 274 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt() 324 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
|
/kernel/linux/linux-6.6/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 273 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_init() 291 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_update() 308 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_final() 325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_finup() 342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest_fb() 357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest() 381 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_export() 395 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_import() 406 static int starfive_hash_init_tfm(struct crypto_ahash *hash, in starfive_hash_init_tfm() 434 static void starfive_hash_exit_tfm(struct crypto_ahash *has [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | ahash.c | 35 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg() 137 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned() 157 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey() 163 static void ahash_set_needkey(struct crypto_ahash *tfm) in ahash_set_needkey() 172 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey() 201 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req() 331 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op() 342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final() 356 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_finup() 370 struct crypto_ahash *tf in crypto_ahash_digest() [all...] |
H A D | authencesn.c | 32 struct crypto_ahash *auth; 62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() 92 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail() 125 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv() 228 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail() 277 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt() 327 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
|
/kernel/linux/linux-5.10/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 40 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() 56 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() 79 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_reg_init() 114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() 127 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() 142 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() 156 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() 173 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() 186 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() 221 struct crypto_ahash *tf in rk_hash_prepare() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 47 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() 67 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() 123 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() 136 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() 151 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() 165 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() 182 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() 195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() 261 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_run() 344 static int rk_hash_init_tfm(struct crypto_ahash *tf [all...] |
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | gss_krb5_internal.h | 71 struct crypto_ahash *acceptor_sign; 72 struct crypto_ahash *initiator_sign; 73 struct crypto_ahash *initiator_integ; 74 struct crypto_ahash *acceptor_integ; 162 u32 gss_krb5_checksum(struct crypto_ahash *tfm, char *header, int hdrlen, 205 struct crypto_ahash *tfm, const struct xdr_buf *body,
|
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 26 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_init_tfm() 64 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_exit_tfm() 75 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() 89 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() 101 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() 113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() 138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() 208 struct crypto_ahash *tf in sun8i_ce_hash_need_fallback() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | ah.h | 7 struct crypto_ahash; 13 struct crypto_ahash *ahash;
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ah.h | 7 struct crypto_ahash; 13 struct crypto_ahash *ahash;
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 76 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() 90 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() 102 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() 114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() 137 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() 152 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() 219 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest() 253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_run()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | ghash-clmulni-intel_glue.c | 162 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 176 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 194 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 234 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 253 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 257 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
|
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | ghash-clmulni-intel_glue.c | 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 213 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 272 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 276 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
|
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 64 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key, in sun8i_ss_hmac_setkey() 112 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_init_tfm() 150 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_exit_tfm() 164 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() 178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() 190 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() 202 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() 228 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() 243 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() 272 struct crypto_ahash *tf in sun8i_ss_hash_digest_fb() [all...] |
H A D | sun8i-ss.h | 232 struct crypto_ahash *fallback_tfm; 307 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm); 308 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm); 317 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key,
|
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 34 struct crypto_ahash *fback; 233 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_req_result() 524 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_inv_result() 1121 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() 1190 static int safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_alg_setkey() 1199 static int safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha1_setkey() 1352 static int safexcel_hmac_sha224_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha224_setkey() 1424 static int safexcel_hmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha256_setkey() 1610 static int safexcel_hmac_sha512_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha512_setkey() 1682 static int safexcel_hmac_sha384_setkey(struct crypto_ahash *tf [all...] |
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 76 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() 90 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() 102 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() 114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() 137 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() 152 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() 284 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest() 321 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_run()
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | hash.h | 132 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() 143 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() 162 struct crypto_ahash *ahash) in ahash_alg_instance() 182 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash()
|
/kernel/linux/linux-5.10/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 201 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 215 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 233 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 250 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 272 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import() 289 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 293 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
|