| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 570 .statesize = sizeof(struct sha256_state), 599 .statesize = sizeof(struct sha256_state), 627 .statesize = sizeof(struct sha256_state), 656 .statesize = sizeof(struct sha256_state), 684 .statesize = sizeof(struct sha512_state), 713 .statesize = sizeof(struct sha512_state), 741 .statesize = sizeof(struct sha512_state), 770 .statesize = sizeof(struct sha512_state), 798 .statesize = sizeof(struct sm3_state), 827 .statesize = sizeof(struct sm3_state),
|
| /linux/crypto/ |
| H A D | algif_skcipher.c | 56 unsigned statesize; in algif_skcipher_export() local 68 statesize = crypto_skcipher_statesize(tfm); in algif_skcipher_export() 69 ctx->state = sock_kmalloc(sk, statesize, GFP_ATOMIC); in algif_skcipher_export() 75 sock_kzfree_s(sk, ctx->state, statesize); in algif_skcipher_export()
|
| H A D | sha256.c | 335 .statesize = SHA256_SHASH_STATE_SIZE, 353 .statesize = SHA256_SHASH_STATE_SIZE, 373 .statesize = SHA256_SHASH_STATE_SIZE, 393 .statesize = SHA256_SHASH_STATE_SIZE,
|
| H A D | sha512.c | 341 .statesize = SHA512_SHASH_STATE_SIZE, 359 .statesize = SHA512_SHASH_STATE_SIZE, 379 .statesize = SHA512_SHASH_STATE_SIZE, 399 .statesize = SHA512_SHASH_STATE_SIZE,
|
| H A D | md5.c | 194 .statesize = MD5_SHASH_STATE_SIZE, 214 .statesize = MD5_SHASH_STATE_SIZE,
|
| H A D | sha1.c | 198 .statesize = SHA1_SHASH_STATE_SIZE, 218 .statesize = SHA1_SHASH_STATE_SIZE,
|
| H A D | ahash.c | 721 crypto_ahash_set_statesize(hash, alg->halg.statesize); in crypto_ahash_init_tfm() 889 nhash->statesize = hash->statesize; in crypto_clone_ahash() 951 if (alg->halg.statesize == 0) in ahash_prepare_alg() 954 if (base->cra_reqsize && base->cra_reqsize < alg->halg.statesize) in ahash_prepare_alg() 986 alg->halg.statesize += base->cra_blocksize + 1; in ahash_prepare_alg()
|
| H A D | skcipher.c | 588 seq_printf(m, "statesize : %u\n", skcipher->statesize); in crypto_skcipher_show() 680 alg->statesize > PAGE_SIZE / 2 || in skcipher_prepare_alg_common() 681 (alg->ivsize + alg->statesize) > PAGE_SIZE / 2) in skcipher_prepare_alg_common() 707 if (!alg->statesize) { in skcipher_prepare_alg()
|
| H A D | testmgr.c | 1297 const unsigned int statesize = crypto_shash_statesize(tfm); in test_shash_vec_cfg() local 1400 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg() 1407 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg() 1480 const unsigned int statesize = crypto_ahash_statesize(tfm); in test_ahash_vec_cfg() local 1578 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg() 1586 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg() 1909 unsigned int statesize; in __alg_test_hash() local 1954 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash() 1956 statesize = max(statesize, crypto_shash_statesize(stfm)); in __alg_test_hash() 1957 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
|
| /linux/include/linux/ |
| H A D | bpf_crypto.h | 15 unsigned int (*statesize)(void *tfm); member
|
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 1604 .statesize = sizeof(struct caam_export_state), 1625 .statesize = sizeof(struct caam_export_state), 1646 .statesize = sizeof(struct caam_export_state), 1667 .statesize = sizeof(struct caam_export_state), 1688 .statesize = sizeof(struct caam_export_state), 1709 .statesize = sizeof(struct caam_export_state), 1728 .statesize = sizeof(struct caam_export_state), 1747 .statesize = sizeof(struct caam_export_state),
|
| /linux/drivers/crypto/ |
| H A D | img-hash.c | 771 .statesize = sizeof(struct md5_state), 797 .statesize = sizeof(struct sha1_state), 823 .statesize = sizeof(struct sha256_state), 849 .statesize = sizeof(struct sha256_state),
|
| /linux/include/video/ |
| H A D | sticore.h | 187 u32 statesize; member
|
| /linux/kernel/bpf/ |
| H A D | crypto.c | 207 ctx->siv_len = type->ivsize(ctx->tfm) + type->statesize(ctx->tfm); in bpf_crypto_ctx_create()
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-aes.c | 1756 unsigned int statesize; in tegra_cmac_init_fallback() local 1766 statesize = crypto_shash_statesize(ctx->fallback_tfm); in tegra_cmac_init_fallback() 1768 if (statesize > sizeof(struct tegra_cmac_reqctx)) in tegra_cmac_init_fallback() 1769 crypto_ahash_set_statesize(tfm, statesize); in tegra_cmac_init_fallback() 1969 .halg.statesize = sizeof(struct tegra_cmac_reqctx),
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-aes-cmac.c | 376 halg->statesize = sizeof(struct ccp_aes_cmac_exp_ctx); in ccp_register_aes_cmac_algs()
|
| H A D | ccp-crypto-sha.c | 484 halg->statesize = sizeof(struct ccp_sha_exp_ctx); in ccp_register_sha_alg()
|
| /linux/arch/arm64/crypto/ |
| H A D | ghash-ce-glue.c | 186 .statesize = sizeof(struct ghash_desc_ctx),
|
| /linux/drivers/crypto/axis/ |
| H A D | artpec6_crypto.c | 2633 .halg.statesize = sizeof(struct artpec6_hash_export_state), 2656 .halg.statesize = sizeof(struct artpec6_hash_export_state), 2680 .halg.statesize = sizeof(struct artpec6_hash_export_state),
|
| /linux/arch/s390/crypto/ |
| H A D | phmac_s390.c | 943 .statesize = sizeof(struct kmac_sha2_ctx), \
|