Home
last modified time | relevance | path

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

/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c560 unsigned int statesize; in tegra_sha_init_fallback() local
572 statesize = crypto_ahash_statesize(ctx->fallback_tfm); in tegra_sha_init_fallback()
574 if (statesize > sizeof(struct tegra_sha_reqctx)) in tegra_sha_init_fallback()
575 crypto_ahash_set_statesize(tfm, statesize); in tegra_sha_init_fallback()
762 .halg.statesize = sizeof(struct tegra_sha_reqctx),
787 .halg.statesize = sizeof(struct tegra_sha_reqctx),
812 .halg.statesize = sizeof(struct tegra_sha_reqctx),
837 .halg.statesize = sizeof(struct tegra_sha_reqctx),
862 .halg.statesize = sizeof(struct tegra_sha_reqctx),
887 .halg.statesize = sizeof(struct tegra_sha_reqctx),
[all …]
H A Dtegra-se-aes.c1766 unsigned int statesize; in tegra_cmac_init_fallback() local
1776 statesize = crypto_shash_statesize(ctx->fallback_tfm); in tegra_cmac_init_fallback()
1778 if (statesize > sizeof(struct tegra_cmac_reqctx)) in tegra_cmac_init_fallback()
1779 crypto_ahash_set_statesize(tfm, statesize); in tegra_cmac_init_fallback()
1981 .halg.statesize = sizeof(struct tegra_cmac_reqctx),
/linux/drivers/crypto/
H A Dpadlock-sha.c202 .statesize = SHA1_STATE_SIZE,
226 .statesize = sizeof(struct crypto_sha256_state),
287 .statesize = SHA1_STATE_SIZE,
307 .statesize = sizeof(struct crypto_sha256_state),
/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/crypto/
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 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 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.c1605 .statesize = sizeof(struct caam_export_state),
1626 .statesize = sizeof(struct caam_export_state),
1647 .statesize = sizeof(struct caam_export_state),
1668 .statesize = sizeof(struct caam_export_state),
1689 .statesize = sizeof(struct caam_export_state),
1710 .statesize = sizeof(struct caam_export_state),
1729 .statesize = sizeof(struct caam_export_state),
1748 .statesize = sizeof(struct caam_export_state),
H A Dcaamalg_qi2.c4435 .statesize = sizeof(struct caam_export_state),
4456 .statesize = sizeof(struct caam_export_state),
4477 .statesize = sizeof(struct caam_export_state),
4498 .statesize = sizeof(struct caam_export_state),
4519 .statesize = sizeof(struct caam_export_state),
4540 .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/ccp/
H A Dccp-crypto-aes-cmac.c376 halg->statesize = sizeof(struct ccp_aes_cmac_exp_ctx); in ccp_register_aes_cmac_algs()
/linux/drivers/crypto/bcm/
H A Dcipher.c4419 hash->halg.statesize = sizeof(struct spu_hash_export_s); in spu_register_ahash()