/linux/include/crypto/ |
A D | hash.h | 14 struct crypto_ahash; 144 int (*init_tfm)(struct crypto_ahash *tfm); 145 void (*exit_tfm)(struct crypto_ahash *tfm); 224 struct crypto_ahash { struct 256 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast() 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() 530 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init() 582 struct crypto_ahash *tfm) in ahash_request_set_tfm() [all …]
|
A D | cryptd.h | 34 struct crypto_ahash base; 38 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
|
/linux/crypto/ |
A D | ahash.c | 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 *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest() 433 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_def_finup() 449 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_exit_tfm() 457 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_init_tfm() [all …]
|
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()
|
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() 285 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt() 312 struct crypto_ahash *auth; in crypto_authenc_init_tfm()
|
/linux/drivers/crypto/rockchip/ |
A D | rk3288_crypto_ahash.c | 21 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() 83 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() 96 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() 111 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() 125 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() 142 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() 155 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() 197 struct crypto_ahash *tfm; in rk_ahash_start() 234 struct crypto_ahash *tfm; in rk_ahash_crypto_rx()
|
/linux/drivers/crypto/allwinner/sun8i-ce/ |
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()
|
/linux/arch/arm/crypto/ |
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()
|
/linux/arch/x86/crypto/ |
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()
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
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()
|
/linux/include/crypto/internal/ |
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()
|
/linux/include/net/ |
A D | ah.h | 7 struct crypto_ahash; 13 struct crypto_ahash *ahash;
|
/linux/drivers/crypto/inside-secure/ |
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() 1147 struct crypto_ahash *tfm; in __safexcel_hmac_setkey() 2422 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_fbcheck() 2459 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_update() 2469 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_final() 2479 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_finup() 2494 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_digest_fallback() 2514 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_export() [all …]
|
/linux/security/integrity/ima/ |
A D | ima_crypto.c | 58 static struct crypto_ahash *ima_ahash_tfm; 289 static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) in ima_alloc_atfm() 291 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm() 311 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm() 330 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm() 441 struct crypto_ahash *tfm; in ima_calc_file_ahash() 664 struct crypto_ahash *tfm) in calc_buffer_ahash_atfm() 705 struct crypto_ahash *tfm; in calc_buffer_ahash()
|
/linux/net/ipv4/ |
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()
|
/linux/net/ipv6/ |
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() 331 struct crypto_ahash *ahash; in ah6_output() 517 struct crypto_ahash *ahash; in ah6_input() 676 struct crypto_ahash *ahash; in ah6_init_state()
|
/linux/drivers/crypto/caam/ |
A D | caamhash.c | 200 static int ahash_set_sh_desc(struct crypto_ahash *ahash) in ahash_set_sh_desc() 256 static int axcbc_set_sh_desc(struct crypto_ahash *ahash) in axcbc_set_sh_desc() 308 static int acmac_set_sh_desc(struct crypto_ahash *ahash) in acmac_set_sh_desc() 421 static int ahash_setkey(struct crypto_ahash *ahash, in ahash_setkey() 581 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_cpy() 632 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_switch() 697 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_edesc_alloc() 814 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx() 939 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx() 1000 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx() [all …]
|
/linux/drivers/crypto/ |
A D | n2_core.c | 287 struct crypto_ahash *fallback_tfm; 314 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init() 326 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update() 340 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final() 353 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_finup() 378 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hash_cra_init() 380 struct crypto_ahash *fallback_tfm; in n2_hash_cra_init() 416 struct crypto_ahash *fallback_tfm; in n2_hmac_cra_init() 465 struct crypto_ahash *fallback_tfm; in n2_hmac_async_setkey() 524 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_do_async_digest() [all …]
|
A D | img-hash.c | 114 struct crypto_ahash *fallback; 485 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init() 550 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update() 565 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final() 579 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup() 595 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_import() 608 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_export() 620 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_digest()
|
/linux/drivers/crypto/ccree/ |
A D | cc_hash.c | 287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete() 305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete() 325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete() 345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result() 368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_hmac() 421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_digest() 559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_update() 635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_do_finup() 715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_init() 921 static int cc_xcbc_setkey(struct crypto_ahash *ahash, in cc_xcbc_setkey() [all …]
|
/linux/drivers/crypto/ccp/ |
A D | ccp-crypto-sha.c | 30 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_complete() 61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_sha_update() 184 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_init() 272 static int ccp_sha_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_sha_setkey() 317 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_sha_cra_init()
|
A D | ccp-crypto-aes-cmac.c | 27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete() 58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update() 256 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_aes_cmac_setkey() 338 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_aes_cmac_cra_init()
|
/linux/drivers/crypto/ux500/hash/ |
A D | hash_core.c | 552 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ux500_hash_init() 858 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_dma_final() 965 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_final() 1074 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_update() 1342 static int hash_setkey(struct crypto_ahash *tfm, in hash_setkey() 1364 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha1_init() 1377 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha256_init() 1430 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha1_init() 1443 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha256_init() 1484 static int hmac_sha1_setkey(struct crypto_ahash *tfm, in hmac_sha1_setkey() [all …]
|
/linux/drivers/crypto/keembay/ |
A D | keembay-ocs-hcu-core.c | 166 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_find_dev() 378 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in prepare_ipad() 416 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_do_one_request() 565 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_init() 654 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in kmb_ocs_hcu_fin_common() 747 static int kmb_ocs_hcu_setkey(struct crypto_ahash *tfm, const u8 *key, in kmb_ocs_hcu_setkey() 753 struct crypto_ahash *ahash_tfm; in kmb_ocs_hcu_setkey()
|
/linux/drivers/crypto/qce/ |
A D | sha.c | 40 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_done() 183 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in qce_ahash_update() 327 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in qce_ahash_hmac_setkey() 336 struct crypto_ahash *ahash_tfm; in qce_ahash_hmac_setkey() 393 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in qce_ahash_cra_init()
|