/linux-6.12.1/drivers/crypto/tegra/ |
D | tegra-se-hash.c | 667 .halg.digestsize = SHA1_DIGEST_SIZE, 668 .halg.statesize = sizeof(struct tegra_sha_reqctx), 669 .halg.base = { 692 .halg.digestsize = SHA224_DIGEST_SIZE, 693 .halg.statesize = sizeof(struct tegra_sha_reqctx), 694 .halg.base = { 717 .halg.digestsize = SHA256_DIGEST_SIZE, 718 .halg.statesize = sizeof(struct tegra_sha_reqctx), 719 .halg.base = { 742 .halg.digestsize = SHA384_DIGEST_SIZE, [all …]
|
/linux-6.12.1/drivers/crypto/ |
D | atmel-sha.c | 1256 alg->halg.base.cra_priority = ATMEL_SHA_PRIORITY; in atmel_sha_alg_init() 1257 alg->halg.base.cra_flags = CRYPTO_ALG_ASYNC; in atmel_sha_alg_init() 1258 alg->halg.base.cra_ctxsize = sizeof(struct atmel_sha_ctx); in atmel_sha_alg_init() 1259 alg->halg.base.cra_module = THIS_MODULE; in atmel_sha_alg_init() 1260 alg->halg.base.cra_init = atmel_sha_cra_init; in atmel_sha_alg_init() 1262 alg->halg.statesize = sizeof(struct atmel_sha_reqctx); in atmel_sha_alg_init() 1275 .halg.base.cra_name = "sha1", 1276 .halg.base.cra_driver_name = "atmel-sha1", 1277 .halg.base.cra_blocksize = SHA1_BLOCK_SIZE, 1279 .halg.digestsize = SHA1_DIGEST_SIZE, [all …]
|
D | omap-sham.c | 1428 .base.halg.digestsize = SHA1_DIGEST_SIZE, 1429 .base.halg.base = { 1450 .base.halg.digestsize = MD5_DIGEST_SIZE, 1451 .base.halg.base = { 1473 .base.halg.digestsize = SHA1_DIGEST_SIZE, 1474 .base.halg.base = { 1497 .base.halg.digestsize = MD5_DIGEST_SIZE, 1498 .base.halg.base = { 1524 .base.halg.digestsize = SHA224_DIGEST_SIZE, 1525 .base.halg.base = { [all …]
|
D | talitos.c | 2850 .halg.digestsize = MD5_DIGEST_SIZE, 2851 .halg.statesize = sizeof(struct talitos_export_state), 2852 .halg.base = { 2866 .halg.digestsize = SHA1_DIGEST_SIZE, 2867 .halg.statesize = sizeof(struct talitos_export_state), 2868 .halg.base = { 2882 .halg.digestsize = SHA224_DIGEST_SIZE, 2883 .halg.statesize = sizeof(struct talitos_export_state), 2884 .halg.base = { 2898 .halg.digestsize = SHA256_DIGEST_SIZE, [all …]
|
D | mxs-dcp.c | 632 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in mxs_dcp_run_sha() local 636 memcpy(sdcp->coh->sha_out_buf, sha_buf, halg->digestsize); in mxs_dcp_run_sha() 673 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_req_to_buf() local 730 for (i = 0; i < halg->digestsize; i++) in dcp_sha_req_to_buf() 731 req->result[i] = out_buf[halg->digestsize - i - 1]; in dcp_sha_req_to_buf() 778 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_init() local 786 if (strcmp(halg->base.cra_name, "sha1") == 0) in dcp_sha_init() 987 .halg = { 1013 .halg = { 1182 dcp_sha1_alg.halg.base.cra_name); in mxs_dcp_probe() [all …]
|
/linux-6.12.1/drivers/crypto/ccp/ |
D | ccp-crypto-sha.c | 417 struct hash_alg_common *halg; in ccp_register_hmac_alg() local 434 halg = &alg->halg; in ccp_register_hmac_alg() 436 base = &halg->base; in ccp_register_hmac_alg() 461 struct hash_alg_common *halg; in ccp_register_sha_alg() local 482 halg = &alg->halg; in ccp_register_sha_alg() 483 halg->digestsize = def->digest_size; in ccp_register_sha_alg() 484 halg->statesize = sizeof(struct ccp_sha_exp_ctx); in ccp_register_sha_alg() 486 base = &halg->base; in ccp_register_sha_alg()
|
D | ccp-crypto-aes-cmac.c | 353 struct hash_alg_common *halg; in ccp_register_aes_cmac_algs() local 374 halg = &alg->halg; in ccp_register_aes_cmac_algs() 375 halg->digestsize = AES_BLOCK_SIZE; in ccp_register_aes_cmac_algs() 376 halg->statesize = sizeof(struct ccp_aes_cmac_exp_ctx); in ccp_register_aes_cmac_algs() 378 base = &halg->base; in ccp_register_aes_cmac_algs()
|
/linux-6.12.1/crypto/ |
D | ahash.c | 220 !(alg->halg.base.cra_flags & CRYPTO_ALG_OPTIONAL_KEY)) in ahash_set_needkey() 475 crypto_ahash_set_statesize(hash, alg->halg.statesize); in crypto_ahash_init_tfm() 568 static bool crypto_hash_alg_has_setkey(struct hash_alg_common *halg) in crypto_hash_alg_has_setkey() argument 570 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey() 580 struct hash_alg_common *halg = crypto_hash_alg_common(hash); in crypto_clone_ahash() local 586 if (!crypto_hash_alg_has_setkey(halg)) { in crypto_clone_ahash() 635 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg() 638 if (alg->halg.statesize == 0) in ahash_prepare_alg() 641 err = hash_prepare_alg(&alg->halg); in ahash_prepare_alg() 658 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash() [all …]
|
/linux-6.12.1/drivers/crypto/bcm/ |
D | cipher.c | 3674 .halg.digestsize = MD5_DIGEST_SIZE, 3675 .halg.base = { 3695 .halg.digestsize = MD5_DIGEST_SIZE, 3696 .halg.base = { 3713 .halg.digestsize = SHA1_DIGEST_SIZE, 3714 .halg.base = { 3731 .halg.digestsize = SHA1_DIGEST_SIZE, 3732 .halg.base = { 3749 .halg.digestsize = SHA224_DIGEST_SIZE, 3750 .halg.base = { [all …]
|
/linux-6.12.1/fs/verity/ |
D | measure.c | 87 u8 *alg, enum hash_algo *halg) in fsverity_get_digest() argument 100 if (halg) in fsverity_get_digest() 101 *halg = hash_alg->algo_id; in fsverity_get_digest()
|
/linux-6.12.1/drivers/crypto/starfive/ |
D | jh7110-hash.c | 565 .base.halg = { 594 .base.halg = { 622 .base.halg = { 651 .base.halg = { 679 .base.halg = { 708 .base.halg = { 736 .base.halg = { 765 .base.halg = { 793 .base.halg = { 822 .base.halg = {
|
/linux-6.12.1/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-core.c | 318 .halg = { 350 .halg = { 382 .halg = { 414 .halg = { 447 .halg = { 512 ss_algs[i].alg.hash.base.halg.base.cra_driver_name, in sun8i_ss_debugfs_show() 513 ss_algs[i].alg.hash.base.halg.base.cra_name, in sun8i_ss_debugfs_show() 724 ss_algs[i].alg.hash.base.halg.base.cra_name); in sun8i_ss_register_algs() 729 ss_algs[i].alg.hash.base.halg.base.cra_name); in sun8i_ss_register_algs() 733 ss_algs[i].alg.hash.base.halg.base.cra_name); in sun8i_ss_register_algs() [all …]
|
/linux-6.12.1/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-core.c | 434 .halg = { 467 .halg = { 499 .halg = { 531 .halg = { 563 .halg = { 595 .halg = { 680 ce_algs[i].alg.hash.base.halg.base.cra_driver_name, in sun8i_ce_debugfs_show() 681 ce_algs[i].alg.hash.base.halg.base.cra_name, in sun8i_ce_debugfs_show() 926 ce_algs[i].alg.hash.base.halg.base.cra_name); in sun8i_ce_register_algs() 931 ce_algs[i].alg.hash.base.halg.base.cra_name); in sun8i_ce_register_algs() [all …]
|
/linux-6.12.1/include/linux/ |
D | tpm_eventlog.h | 172 u16 halg; in __calc_tpm2_event_size() local 245 memcpy(&halg, mapping, halg_size); in __calc_tpm2_event_size() 249 if (halg == efispecid->digest_sizes[j].alg_id) { in __calc_tpm2_event_size()
|
D | fsverity.h | 147 u8 *alg, enum hash_algo *halg); 201 u8 *alg, enum hash_algo *halg) in fsverity_get_digest() argument
|
/linux-6.12.1/drivers/crypto/aspeed/ |
D | aspeed-hace-hash.c | 861 .halg = { 893 .halg = { 925 .halg = { 959 .halg = { 994 .halg = { 1029 .halg = { 1065 .halg = { 1097 .halg = { 1131 .halg = { 1166 .halg = { [all …]
|
/linux-6.12.1/drivers/crypto/intel/keembay/ |
D | keembay-ocs-hcu-core.c | 891 .base.halg = { 917 .base.halg = { 944 .base.halg = { 970 .base.halg = { 996 .base.halg = { 1022 .base.halg = { 1048 .base.halg = { 1074 .base.halg = { 1100 .base.halg = { 1126 .base.halg = {
|
/linux-6.12.1/include/crypto/internal/ |
D | hash.h | 34 char head[offsetof(struct ahash_alg, halg.base)]; 145 halg); in __crypto_ahash_alg() 151 halg); in crypto_ahash_alg()
|
/linux-6.12.1/drivers/crypto/caam/ |
D | caamhash.c | 1602 .halg = { 1623 .halg = { 1644 .halg = { 1665 .halg = { 1686 .halg = { 1707 .halg = { 1726 .halg = { 1745 .halg = { 1765 struct hash_alg_common *halg = in caam_hash_cra_init() local 1768 container_of(halg, struct ahash_alg, halg); in caam_hash_cra_init() [all …]
|
/linux-6.12.1/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-core.c | 45 .halg = { 71 .halg = { 258 ss_algs[i].alg.hash.halg.base.cra_driver_name, in sun4i_ss_debugfs_show() 259 ss_algs[i].alg.hash.halg.base.cra_name, in sun4i_ss_debugfs_show() 470 ss_algs[i].alg.hash.halg.base.cra_name); in sun4i_ss_probe()
|
/linux-6.12.1/drivers/crypto/inside-secure/ |
D | safexcel_hash.c | 992 .halg = { 1218 .halg = { 1275 .halg = { 1332 .halg = { 1404 .halg = { 1476 .halg = { 1533 .halg = { 1590 .halg = { 1662 .halg = { 1734 .halg = { [all …]
|
/linux-6.12.1/drivers/crypto/stm32/ |
D | stm32-hash.c | 1600 .base.halg = { 1629 .base.halg = { 1660 .base.halg = { 1689 .base.halg = { 1720 .base.halg = { 1749 .base.halg = { 1780 .base.halg = { 1809 .base.halg = { 1840 .base.halg = { 1869 .base.halg = { [all …]
|
/linux-6.12.1/drivers/crypto/rockchip/ |
D | rk3288_crypto.c | 225 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_driver_name, in rk_crypto_debugfs_show() 226 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_name, in rk_crypto_debugfs_show() 268 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_name, in rk_crypto_register() 269 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_driver_name); in rk_crypto_register()
|
/linux-6.12.1/drivers/crypto/chelsio/ |
D | chcr_algo.c | 3939 .halg.digestsize = SHA1_DIGEST_SIZE, 3940 .halg.base = { 3951 .halg.digestsize = SHA256_DIGEST_SIZE, 3952 .halg.base = { 3963 .halg.digestsize = SHA224_DIGEST_SIZE, 3964 .halg.base = { 3975 .halg.digestsize = SHA384_DIGEST_SIZE, 3976 .halg.base = { 3987 .halg.digestsize = SHA512_DIGEST_SIZE, 3988 .halg.base = { [all …]
|
/linux-6.12.1/drivers/crypto/qce/ |
D | sha.c | 285 tmpl->alg.ahash.halg.digestsize); in qce_ahash_final() 322 tmpl->alg.ahash.halg.digestsize); in qce_ahash_digest() 475 alg->halg.digestsize = def->digestsize; in qce_ahash_register_one() 476 alg->halg.statesize = def->statesize; in qce_ahash_register_one() 483 base = &alg->halg.base; in qce_ahash_register_one()
|