Home
last modified time | relevance | path

Searched refs:statesize (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/crypto/starfive/
H A Djh7110-hash.c570 .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/drivers/crypto/qce/
H A Dsha.c409 unsigned int statesize; member
420 .statesize = sizeof(struct qce_sha_saved_state),
429 .statesize = sizeof(struct qce_sha_saved_state),
438 .statesize = sizeof(struct qce_sha_saved_state),
447 .statesize = sizeof(struct qce_sha_saved_state),
476 alg->halg.statesize = def->statesize; in qce_ahash_register_one()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c992 .statesize = sizeof(struct safexcel_ahash_export_state),
1218 .statesize = sizeof(struct safexcel_ahash_export_state),
1275 .statesize = sizeof(struct safexcel_ahash_export_state),
1332 .statesize = sizeof(struct safexcel_ahash_export_state),
1404 .statesize = sizeof(struct safexcel_ahash_export_state),
1476 .statesize = sizeof(struct safexcel_ahash_export_state),
1533 .statesize = sizeof(struct safexcel_ahash_export_state),
1590 .statesize = sizeof(struct safexcel_ahash_export_state),
1662 .statesize = sizeof(struct safexcel_ahash_export_state),
1734 .statesize = sizeof(struct safexcel_ahash_export_state),
[all …]
/linux/drivers/crypto/inside-secure/eip93/
H A Deip93-hash.c646 .statesize = sizeof(struct eip93_hash_export_state),
676 .statesize = sizeof(struct eip93_hash_export_state),
706 .statesize = sizeof(struct eip93_hash_export_state),
736 .statesize = sizeof(struct eip93_hash_export_state),
767 .statesize = sizeof(struct eip93_hash_export_state),
798 .statesize = sizeof(struct eip93_hash_export_state),
829 .statesize = sizeof(struct eip93_hash_export_state),
860 .statesize = sizeof(struct eip93_hash_export_state),
/linux/crypto/
H A Dalgif_skcipher.c56 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 Dsha256.c335 .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 Dsha512.c341 .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 Dmd5.c194 .statesize = MD5_SHASH_STATE_SIZE,
214 .statesize = MD5_SHASH_STATE_SIZE,
H A Dsha1.c198 .statesize = SHA1_SHASH_STATE_SIZE,
218 .statesize = SHA1_SHASH_STATE_SIZE,
H A Dtestmgr.c1297 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 Dbpf_crypto.h15 unsigned int (*statesize)(void *tfm); member
/linux/drivers/crypto/caam/
H A Dcaamhash.c1604 .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),
H A Dcaamalg_qi2.c4433 .statesize = sizeof(struct caam_export_state),
4454 .statesize = sizeof(struct caam_export_state),
4475 .statesize = sizeof(struct caam_export_state),
4496 .statesize = sizeof(struct caam_export_state),
4517 .statesize = sizeof(struct caam_export_state),
4538 .statesize = sizeof(struct caam_export_state),
/linux/include/video/
H A Dsticore.h187 u32 statesize; member
/linux/kernel/bpf/
H A Dcrypto.c207 ctx->siv_len = type->ivsize(ctx->tfm) + type->statesize(ctx->tfm); in bpf_crypto_ctx_create()
/linux/drivers/crypto/tegra/
H A Dtegra-se-aes.c1756 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 Dccp-crypto-aes-cmac.c376 halg->statesize = sizeof(struct ccp_aes_cmac_exp_ctx); in ccp_register_aes_cmac_algs()
H A Dccp-crypto-sha.c484 halg->statesize = sizeof(struct ccp_sha_exp_ctx); in ccp_register_sha_alg()
/linux/drivers/crypto/
H A Ds5p-sss.c1717 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,
1741 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,
1765 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,
H A Dsa2ul.c2049 .halg.statesize = sizeof(struct sa_sha_req_ctx) +
2078 .halg.statesize = sizeof(struct sa_sha_req_ctx) +
2107 .halg.statesize = sizeof(struct sa_sha_req_ctx) +
H A Datmel-sha.c1263 alg->halg.statesize = sizeof(struct atmel_sha_reqctx); in atmel_sha_alg_init()
2052 alg->halg.statesize = sizeof(struct atmel_sha_reqctx); in atmel_sha_hmac_alg_init()
H A Domap-sham.c2149 alg->halg.statesize = sizeof(struct omap_sham_reqctx) + in omap_sham_probe()
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c2633 .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/drivers/crypto/bcm/
H A Dcipher.c4419 hash->halg.statesize = sizeof(struct spu_hash_export_s); in spu_register_ahash()