/openbmc/linux/include/crypto/ |
H A D | hash.h | 15 struct crypto_ahash; 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 285 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast() 305 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *tfm); 346 struct crypto_ahash *tfm) in crypto_ahash_alignmask() 372 struct crypto_ahash *tfm) in crypto_hash_alg_common() 632 struct crypto_ahash *tfm) in ahash_request_set_tfm() [all …]
|
H A D | cryptd.h | 35 struct crypto_ahash base; 39 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
|
/openbmc/linux/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()
|
/openbmc/linux/crypto/ |
H A D | ahash.c | 156 static void ahash_set_needkey(struct crypto_ahash *tfm) in ahash_set_needkey() 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 *tfm = crypto_ahash_reqtfm(req); in ahash_def_finup() 416 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_exit_tfm() 517 .tfmsize = offsetof(struct crypto_ahash, base), 542 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *hash) in crypto_clone_ahash() [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()
|
H A D | cryptd.c | 430 static int cryptd_hash_init_tfm(struct crypto_ahash *tfm) in cryptd_hash_init_tfm() 449 static int cryptd_hash_clone_tfm(struct crypto_ahash *ntfm, in cryptd_hash_clone_tfm() 450 struct crypto_ahash *tfm) in cryptd_hash_clone_tfm() 464 static void cryptd_hash_exit_tfm(struct crypto_ahash *tfm) in cryptd_hash_exit_tfm() 471 static int cryptd_hash_setkey(struct crypto_ahash *parent, in cryptd_hash_setkey() 487 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue() 516 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_complete() 534 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_init() 610 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_digest() 641 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_import() [all …]
|
H A D | authenc.c | 29 struct crypto_ahash *auth; 88 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey() 138 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_genicv() 283 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt() 310 struct crypto_ahash *auth; in crypto_authenc_init_tfm()
|
H A D | algif_hash.c | 233 struct crypto_ahash *tfm; in hash_accept() 303 struct crypto_ahash *tfm; in hash_check_key() 414 struct crypto_ahash *tfm = private; in hash_accept_parent_nokey() 441 struct crypto_ahash *tfm = private; in hash_accept_parent()
|
/openbmc/linux/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() 448 struct crypto_ahash *ahash_tfm; in starfive_hash_long_setkey() 487 static int starfive_hash_setkey(struct crypto_ahash *hash, in starfive_hash_setkey() [all …]
|
/openbmc/linux/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 *tfm) in rk_hash_init_tfm() [all …]
|
/openbmc/linux/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 *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_need_fallback() [all …]
|
H A D | sun8i-ce.h | 287 struct crypto_ahash *fallback_tfm; 360 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm); 361 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm);
|
/openbmc/linux/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,
|
/openbmc/linux/include/net/ |
H A D | ah.h | 7 struct crypto_ahash; 13 struct crypto_ahash *ahash;
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
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,
|
H A D | sun8i-ss-hash.c | 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 *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() 359 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_need_fallback() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/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() 2375 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_fbcheck() 2412 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_update() 2422 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_final() 2432 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_finup() 2447 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_digest_fallback() 2467 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_export() [all …]
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 58 static struct crypto_ahash *ima_ahash_tfm; 290 static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) in ima_alloc_atfm() 292 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm() 312 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm() 331 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm() 442 struct crypto_ahash *tfm; in ima_calc_file_ahash() 665 struct crypto_ahash *tfm) in calc_buffer_ahash_atfm() 706 struct crypto_ahash *tfm; in calc_buffer_ahash()
|
/openbmc/linux/net/ipv4/ |
H A D | ah4.c | 25 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp() 49 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv() 55 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req() 68 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg() 154 struct crypto_ahash *ahash; in ah_output() 312 struct crypto_ahash *ahash; in ah_input() 478 struct crypto_ahash *ahash; in ah_init_state()
|
/openbmc/linux/net/ipv6/ |
H A D | ah6.c | 49 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp() 78 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv() 84 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req() 97 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg() 328 struct crypto_ahash *ahash; in ah6_output() 514 struct crypto_ahash *ahash; in ah6_input() 673 struct crypto_ahash *ahash; in ah6_init_state()
|
/openbmc/linux/drivers/net/wireless/intersil/orinoco/ |
H A D | mic.h | 15 struct crypto_ahash;
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 205 static int ahash_set_sh_desc(struct crypto_ahash *ahash) in ahash_set_sh_desc() 261 static int axcbc_set_sh_desc(struct crypto_ahash *ahash) in axcbc_set_sh_desc() 313 static int acmac_set_sh_desc(struct crypto_ahash *ahash) in acmac_set_sh_desc() 424 static int ahash_setkey(struct crypto_ahash *ahash, in ahash_setkey() 590 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_cpy() 641 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_switch() 822 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx() 947 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx() 1008 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx() 1082 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_digest() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 232 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 250 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 267 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 289 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import() 306 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 310 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
|