Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/crypto/tegra/
Dtegra-se-hash.c435 unsigned int statesize; in tegra_sha_init_fallback() local
447 statesize = crypto_ahash_statesize(ctx->fallback_tfm); in tegra_sha_init_fallback()
449 if (statesize > sizeof(struct tegra_sha_reqctx)) in tegra_sha_init_fallback()
450 crypto_ahash_set_statesize(tfm, statesize); in tegra_sha_init_fallback()
668 .halg.statesize = sizeof(struct tegra_sha_reqctx),
693 .halg.statesize = sizeof(struct tegra_sha_reqctx),
718 .halg.statesize = sizeof(struct tegra_sha_reqctx),
743 .halg.statesize = sizeof(struct tegra_sha_reqctx),
768 .halg.statesize = sizeof(struct tegra_sha_reqctx),
793 .halg.statesize = sizeof(struct tegra_sha_reqctx),
[all …]
/linux-6.12.1/drivers/crypto/
Dpadlock-sha.c232 .statesize = sizeof(struct sha1_state),
255 .statesize = sizeof(struct sha256_state),
440 int statesize = crypto_shash_statesize(desc->tfm); in padlock_sha_export_nano() local
443 memcpy(out, sctx, statesize); in padlock_sha_export_nano()
450 int statesize = crypto_shash_statesize(desc->tfm); in padlock_sha_import_nano() local
453 memcpy(sctx, in, statesize); in padlock_sha_import_nano()
465 .statesize = sizeof(struct sha1_state),
483 .statesize = sizeof(struct sha256_state),
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-hash.c567 .statesize = sizeof(struct sha256_state),
596 .statesize = sizeof(struct sha256_state),
624 .statesize = sizeof(struct sha256_state),
653 .statesize = sizeof(struct sha256_state),
681 .statesize = sizeof(struct sha512_state),
710 .statesize = sizeof(struct sha512_state),
738 .statesize = sizeof(struct sha512_state),
767 .statesize = sizeof(struct sha512_state),
795 .statesize = sizeof(struct sm3_state),
824 .statesize = sizeof(struct sm3_state),
/linux-6.12.1/drivers/crypto/qce/
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-6.12.1/drivers/crypto/intel/keembay/
Dkeembay-ocs-hcu-core.c893 .statesize = sizeof(struct ocs_hcu_rctx),
919 .statesize = sizeof(struct ocs_hcu_rctx),
946 .statesize = sizeof(struct ocs_hcu_rctx),
972 .statesize = sizeof(struct ocs_hcu_rctx),
998 .statesize = sizeof(struct ocs_hcu_rctx),
1024 .statesize = sizeof(struct ocs_hcu_rctx),
1050 .statesize = sizeof(struct ocs_hcu_rctx),
1076 .statesize = sizeof(struct ocs_hcu_rctx),
1102 .statesize = sizeof(struct ocs_hcu_rctx),
1128 .statesize = sizeof(struct ocs_hcu_rctx),
/linux-6.12.1/include/crypto/
Dhash.h45 unsigned int statesize; \
228 unsigned int statesize; member
363 return tfm->statesize; in crypto_ahash_statesize()
752 return crypto_shash_alg(tfm)->statesize; in crypto_shash_statesize()
Dskcipher.h91 unsigned int statesize; \
501 return crypto_skcipher_alg_common(tfm)->statesize; in crypto_skcipher_statesize()
518 return crypto_lskcipher_alg(tfm)->co.statesize; in crypto_lskcipher_statesize()
/linux-6.12.1/drivers/crypto/inside-secure/
Dsafexcel_hash.c994 .statesize = sizeof(struct safexcel_ahash_export_state),
1220 .statesize = sizeof(struct safexcel_ahash_export_state),
1277 .statesize = sizeof(struct safexcel_ahash_export_state),
1334 .statesize = sizeof(struct safexcel_ahash_export_state),
1406 .statesize = sizeof(struct safexcel_ahash_export_state),
1478 .statesize = sizeof(struct safexcel_ahash_export_state),
1535 .statesize = sizeof(struct safexcel_ahash_export_state),
1592 .statesize = sizeof(struct safexcel_ahash_export_state),
1664 .statesize = sizeof(struct safexcel_ahash_export_state),
1736 .statesize = sizeof(struct safexcel_ahash_export_state),
[all …]
/linux-6.12.1/crypto/
Dlskcipher.c74 unsigned statesize = crypto_lskcipher_statesize(tfm); in crypto_lskcipher_crypt_unaligned() local
89 memcpy(tiv, iv, ivsize + statesize); in crypto_lskcipher_crypt_unaligned()
117 memcpy(iv, tiv, ivsize + statesize); in crypto_lskcipher_crypt_unaligned()
260 seq_printf(m, "statesize : %u\n", skcipher->co.statesize); in crypto_lskcipher_show()
578 inst->alg.co.statesize = cipher_alg->co.statesize; in lskcipher_alloc_instance_simple()
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()
Dbpf_crypto_skcipher.c63 .statesize = bpf_crypto_lskcipher_statesize,
Darc4.c59 .co.statesize = sizeof(struct arc4_ctx),
Dahash.c475 crypto_ahash_set_statesize(hash, alg->halg.statesize); in crypto_ahash_init_tfm()
600 nhash->statesize = hash->statesize; in crypto_clone_ahash()
638 if (alg->halg.statesize == 0) in ahash_prepare_alg()
Dhmac.c210 ss = salg->statesize; in hmac_create()
224 inst->alg.statesize = ss; in hmac_create()
/linux-6.12.1/drivers/crypto/stm32/
Dstm32-hash.c1602 .statesize = sizeof(struct stm32_hash_state),
1631 .statesize = sizeof(struct stm32_hash_state),
1662 .statesize = sizeof(struct stm32_hash_state),
1691 .statesize = sizeof(struct stm32_hash_state),
1722 .statesize = sizeof(struct stm32_hash_state),
1751 .statesize = sizeof(struct stm32_hash_state),
1782 .statesize = sizeof(struct stm32_hash_state),
1811 .statesize = sizeof(struct stm32_hash_state),
1842 .statesize = sizeof(struct stm32_hash_state),
1871 .statesize = sizeof(struct stm32_hash_state),
[all …]
/linux-6.12.1/arch/s390/crypto/
Dsha256_s390.c69 .statesize = sizeof(struct sha256_state),
105 .statesize = sizeof(struct sha256_state),
Dsha3_512_s390.c89 .statesize = sizeof(struct sha3_state),
122 .statesize = sizeof(struct sha3_state),
Dsha3_256_s390.c82 .statesize = sizeof(struct sha3_state),
113 .statesize = sizeof(struct sha3_state),
Dsha512_s390.c74 .statesize = sizeof(struct sha512_state),
112 .statesize = sizeof(struct sha512_state),
Dsha1_s390.c76 .statesize = sizeof(struct sha1_state),
/linux-6.12.1/drivers/crypto/aspeed/
Daspeed-hace-hash.c863 .statesize = sizeof(struct aspeed_sham_reqctx),
895 .statesize = sizeof(struct aspeed_sham_reqctx),
927 .statesize = sizeof(struct aspeed_sham_reqctx),
961 .statesize = sizeof(struct aspeed_sham_reqctx),
996 .statesize = sizeof(struct aspeed_sham_reqctx),
1031 .statesize = sizeof(struct aspeed_sham_reqctx),
1067 .statesize = sizeof(struct aspeed_sham_reqctx),
1099 .statesize = sizeof(struct aspeed_sham_reqctx),
1133 .statesize = sizeof(struct aspeed_sham_reqctx),
1168 .statesize = sizeof(struct aspeed_sham_reqctx),
/linux-6.12.1/arch/arm64/crypto/
Dsha2-ce-glue.c152 .statesize = sizeof(struct sha256_state),
170 .statesize = sizeof(struct sha256_state),
/linux-6.12.1/arch/powerpc/crypto/
Dsha256-spe-glue.c190 .statesize = sizeof(struct sha256_state),
206 .statesize = sizeof(struct sha256_state),
/linux-6.12.1/include/linux/
Dbpf_crypto.h15 unsigned int (*statesize)(void *tfm); member
/linux-6.12.1/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c387 .statesize = sizeof(struct sha1_state),
419 .statesize = sizeof(struct sha256_state),
451 .statesize = sizeof(struct md5_state),

123