/linux-6.3-rc2/drivers/crypto/ |
A D | atmel-sha.c | 1275 .halg.base.cra_name = "sha1", 1279 .halg.digestsize = SHA1_DIGEST_SIZE, 1282 .halg.base.cra_name = "sha256", 1286 .halg.digestsize = SHA256_DIGEST_SIZE, 1291 .halg.base.cra_name = "sha224", 1300 .halg.base.cra_name = "sha384", 1303 .halg.base.cra_alignmask = 0x3, 1308 .halg.base.cra_name = "sha512", 1311 .halg.base.cra_alignmask = 0x3, 2038 .halg.base.cra_name = "hmac(sha1)", [all …]
|
A D | omap-sham.c | 1434 .halg.base = { 1456 .halg.base = { 1479 .halg.base = { 1503 .halg.base = { 1530 .halg.base = { 1552 .halg.base = { 1575 .halg.base = { 1599 .halg.base = { 1625 .halg.base = { 1647 .halg.base = { [all …]
|
A D | talitos.c | 2851 .halg.base = { 2867 .halg.base = { 2883 .halg.base = { 2899 .halg.base = { 2915 .halg.base = { 2931 .halg.base = { 2947 .halg.base = { 2963 .halg.base = { 2979 .halg.base = { 2995 .halg.base = { [all …]
|
A D | mxs-dcp.c | 582 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in mxs_dcp_run_sha() local 586 memcpy(sdcp->coh->sha_out_buf, sha_buf, halg->digestsize); in mxs_dcp_run_sha() 623 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_req_to_buf() local 680 for (i = 0; i < halg->digestsize; i++) in dcp_sha_req_to_buf() 681 req->result[i] = out_buf[halg->digestsize - i - 1]; in dcp_sha_req_to_buf() 728 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_init() local 736 if (strcmp(halg->base.cra_name, "sha1") == 0) in dcp_sha_init() 904 .halg = { 931 .halg = { 1107 dcp_sha1_alg.halg.base.cra_name); in mxs_dcp_probe() [all …]
|
A D | s5p-sss.c | 1739 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN, 1740 .halg.digestsize = SHA1_DIGEST_SIZE, 1741 .halg.base = { 1764 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN, 1765 .halg.digestsize = MD5_DIGEST_SIZE, 1766 .halg.base = { 1789 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN, 1790 .halg.digestsize = SHA256_DIGEST_SIZE, 1791 .halg.base = { 2282 alg->halg.base.cra_driver_name, err); in s5p_aes_probe()
|
/linux-6.3-rc2/drivers/crypto/ccp/ |
A 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()
|
A 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.3-rc2/drivers/crypto/bcm/ |
A D | cipher.c | 3732 .halg.base = { 3753 .halg.base = { 3771 .halg.base = { 3789 .halg.base = { 3807 .halg.base = { 3825 .halg.base = { 3843 .halg.base = { 3861 .halg.base = { 3880 .halg.base = { 3899 .halg.base = { [all …]
|
/linux-6.3-rc2/crypto/ |
A D | ahash.c | 38 halg); in crypto_ahash_alg() 539 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg() 541 if (alg->halg.digestsize > HASH_MAX_DIGESTSIZE || in ahash_prepare_alg() 542 alg->halg.statesize > HASH_MAX_STATESIZE || in ahash_prepare_alg() 543 alg->halg.statesize == 0) in ahash_prepare_alg() 555 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash() 568 crypto_unregister_alg(&alg->halg.base); in crypto_unregister_ahash() 617 bool crypto_hash_alg_has_setkey(struct hash_alg_common *halg) in crypto_hash_alg_has_setkey() argument 619 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey()
|
/linux-6.3-rc2/drivers/crypto/aspeed/ |
A D | aspeed-hace-hash.c | 928 .halg = { 957 .halg = { 986 .halg = { 1017 .halg = { 1049 .halg = { 1081 .halg = { 1114 .halg = { 1143 .halg = { 1172 .halg = { 1201 .halg = { [all …]
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ss/ |
A D | sun8i-ss-core.c | 303 .halg = { 333 .halg = { 363 .halg = { 393 .halg = { 424 .halg = { 485 ss_algs[i].alg.hash.halg.base.cra_driver_name, in sun8i_ss_debugfs_show() 486 ss_algs[i].alg.hash.halg.base.cra_name, in sun8i_ss_debugfs_show() 698 ss_algs[i].alg.hash.halg.base.cra_name); in sun8i_ss_register_algs() 703 ss_algs[i].alg.hash.halg.base.cra_name); in sun8i_ss_register_algs() 707 ss_algs[i].alg.hash.halg.base.cra_name); in sun8i_ss_register_algs() [all …]
|
A D | sun8i-ss-hash.c | 70 digestsize = algt->alg.hash.halg.digestsize; in sun8i_ss_hmac_setkey() 134 if (algt->alg.hash.halg.statesize < crypto_ahash_statesize(op->fallback_tfm)) in sun8i_ss_hash_crainit() 135 algt->alg.hash.halg.statesize = crypto_ahash_statesize(op->fallback_tfm); in sun8i_ss_hash_crainit() 510 digestsize = algt->alg.hash.halg.digestsize; in sun8i_ss_hash_run() 703 memcpy(areq->result, result, algt->alg.hash.halg.digestsize); in sun8i_ss_hash_run()
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ce/ |
A D | sun8i-ce-core.c | 393 .halg = { 423 .halg = { 453 .halg = { 483 .halg = { 513 .halg = { 543 .halg = { 625 ce_algs[i].alg.hash.halg.base.cra_name, in sun8i_ce_debugfs_show() 870 ce_algs[i].alg.hash.halg.base.cra_name); in sun8i_ce_register_algs() 875 ce_algs[i].alg.hash.halg.base.cra_name); in sun8i_ce_register_algs() 879 ce_algs[i].alg.hash.halg.base.cra_name); in sun8i_ce_register_algs() [all …]
|
A D | sun8i-ce-hash.c | 46 if (algt->alg.hash.halg.statesize < crypto_ahash_statesize(op->fallback_tfm)) in sun8i_ce_hash_crainit() 47 algt->alg.hash.halg.statesize = crypto_ahash_statesize(op->fallback_tfm); in sun8i_ce_hash_crainit() 351 bs = algt->alg.hash.halg.base.cra_blocksize; in sun8i_ce_hash_run() 352 digestsize = algt->alg.hash.halg.digestsize; in sun8i_ce_hash_run() 464 memcpy(areq->result, result, algt->alg.hash.halg.digestsize); in sun8i_ce_hash_run()
|
/linux-6.3-rc2/drivers/crypto/keembay/ |
A D | keembay-ocs-hcu-core.c | 896 .halg = { 921 .halg = { 947 .halg = { 972 .halg = { 997 .halg = { 1022 .halg = { 1047 .halg = { 1072 .halg = { 1097 .halg = { 1122 .halg = {
|
/linux-6.3-rc2/include/linux/ |
A 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()
|
/linux-6.3-rc2/include/crypto/internal/ |
A D | hash.h | 36 char head[offsetof(struct ahash_alg, halg.base)]; 92 bool crypto_hash_alg_has_setkey(struct hash_alg_common *halg); 151 halg); in __crypto_ahash_alg()
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-core.c | 46 .halg = { 73 .halg = { 261 ss_algs[i].alg.hash.halg.base.cra_driver_name, in sun4i_ss_debugfs_show() 262 ss_algs[i].alg.hash.halg.base.cra_name, in sun4i_ss_debugfs_show() 473 ss_algs[i].alg.hash.halg.base.cra_name); in sun4i_ss_probe()
|
/linux-6.3-rc2/drivers/crypto/inside-secure/ |
A 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.3-rc2/drivers/crypto/caam/ |
A D | caamhash.c | 1605 .halg = { 1626 .halg = { 1647 .halg = { 1668 .halg = { 1689 .halg = { 1710 .halg = { 1729 .halg = { 1748 .halg = { 1770 container_of(halg, struct ahash_alg, halg); in caam_hash_cra_init() 1908 struct ahash_alg *halg; in caam_hash_alloc() local [all …]
|
/linux-6.3-rc2/drivers/crypto/rockchip/ |
A D | rk3288_crypto.c | 219 rk_cipher_algs[i]->alg.hash.halg.base.cra_driver_name, in rk_crypto_debugfs_show() 220 rk_cipher_algs[i]->alg.hash.halg.base.cra_name, in rk_crypto_debugfs_show() 259 rk_cipher_algs[i]->alg.hash.halg.base.cra_name, in rk_crypto_register() 260 rk_cipher_algs[i]->alg.hash.halg.base.cra_driver_name); in rk_crypto_register()
|
/linux-6.3-rc2/drivers/crypto/qce/ |
A 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()
|
A D | sha.h | 65 struct ahash_alg, halg); in to_ahash_tmpl()
|
/linux-6.3-rc2/drivers/crypto/chelsio/ |
A D | chcr_algo.c | 3932 .halg.base = { 3944 .halg.base = { 3956 .halg.base = { 3968 .halg.base = { 3980 .halg.base = { 3993 .halg.base = { 4005 .halg.base = { 4017 .halg.base = { 4029 .halg.base = { 4041 .halg.base = { [all …]
|
/linux-6.3-rc2/drivers/crypto/ccree/ |
A D | cc_hash.c | 1598 .halg = { 1625 .halg = { 1652 .halg = { 1679 .halg = { 1706 .halg = { 1733 .halg = { 1758 .halg = { 1783 .halg = { 1808 .halg = { 1834 alg = &halg->halg.base; in cc_alloc_hash_alg() [all …]
|