Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dpadlock-sha.c231 .statesize = sizeof(struct sha1_state),
254 .statesize = sizeof(struct sha256_state),
439 int statesize = crypto_shash_statesize(desc->tfm); in padlock_sha_export_nano() local
442 memcpy(out, sctx, statesize); in padlock_sha_export_nano()
449 int statesize = crypto_shash_statesize(desc->tfm); in padlock_sha_import_nano() local
452 memcpy(sctx, in, statesize); in padlock_sha_import_nano()
464 .statesize = sizeof(struct sha1_state),
482 .statesize = sizeof(struct sha256_state),
H A Dimg-hash.c766 .statesize = sizeof(struct md5_state),
792 .statesize = sizeof(struct sha1_state),
818 .statesize = sizeof(struct sha256_state),
844 .statesize = sizeof(struct sha256_state),
/OK3568_Linux_fs/kernel/drivers/crypto/qce/
H A Dsha.c442 unsigned int statesize; member
453 .statesize = sizeof(struct sha1_state),
462 .statesize = sizeof(struct sha256_state),
471 .statesize = sizeof(struct sha1_state),
480 .statesize = sizeof(struct sha256_state),
509 alg->halg.statesize = def->statesize; in qce_ahash_register_one()
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c993 .statesize = sizeof(struct safexcel_ahash_export_state),
1245 .statesize = sizeof(struct safexcel_ahash_export_state),
1302 .statesize = sizeof(struct safexcel_ahash_export_state),
1359 .statesize = sizeof(struct safexcel_ahash_export_state),
1431 .statesize = sizeof(struct safexcel_ahash_export_state),
1503 .statesize = sizeof(struct safexcel_ahash_export_state),
1560 .statesize = sizeof(struct safexcel_ahash_export_state),
1617 .statesize = sizeof(struct safexcel_ahash_export_state),
1689 .statesize = sizeof(struct safexcel_ahash_export_state),
1761 .statesize = sizeof(struct safexcel_ahash_export_state),
[all …]
/OK3568_Linux_fs/kernel/include/crypto/
H A Dhash.h44 unsigned int statesize; member
219 unsigned int statesize; member
373 return crypto_hash_alg_common(tfm)->statesize; in crypto_ahash_statesize()
793 return crypto_shash_alg(tfm)->statesize; in crypto_shash_statesize()
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Dsha3_256_s390.c78 .statesize = sizeof(struct sha3_state),
107 .statesize = sizeof(struct sha3_state),
H A Dsha256_s390.c69 .statesize = sizeof(struct sha256_state),
105 .statesize = sizeof(struct sha256_state),
H A Dsha3_512_s390.c85 .statesize = sizeof(struct sha3_state),
116 .statesize = sizeof(struct sha3_state),
H A Dsha512_s390.c74 .statesize = sizeof(struct sha512_state),
112 .statesize = sizeof(struct sha512_state),
H A Dsha1_s390.c76 .statesize = sizeof(struct sha1_state),
/OK3568_Linux_fs/kernel/drivers/crypto/mediatek/
H A Dmtk-sha.c925 .halg.statesize = sizeof(struct mtk_sha_reqctx),
948 .halg.statesize = sizeof(struct mtk_sha_reqctx),
971 .halg.statesize = sizeof(struct mtk_sha_reqctx),
995 .halg.statesize = sizeof(struct mtk_sha_reqctx),
1021 .halg.statesize = sizeof(struct mtk_sha_reqctx),
1047 .halg.statesize = sizeof(struct mtk_sha_reqctx),
1075 .halg.statesize = sizeof(struct mtk_sha_reqctx),
1098 .halg.statesize = sizeof(struct mtk_sha_reqctx),
1122 .halg.statesize = sizeof(struct mtk_sha_reqctx),
1148 .halg.statesize = sizeof(struct mtk_sha_reqctx),
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dcryptlib.c449 int ret, statesize; in cryptodev_hash_copy() local
460 statesize = crypto_ahash_statesize(src->async.s); in cryptodev_hash_copy()
461 if (unlikely(statesize <= 0)) { in cryptodev_hash_copy()
465 statedata = kzalloc(statesize, GFP_KERNEL); in cryptodev_hash_copy()
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A Dsha2-ce-glue.c144 .statesize = sizeof(struct sha256_state),
161 .statesize = sizeof(struct sha256_state),
H A Dsha1-ce-glue.c125 .statesize = sizeof(struct sha1_state),
/OK3568_Linux_fs/kernel/drivers/crypto/stm32/
H A Dstm32-hash.c1134 .statesize = sizeof(struct stm32_hash_request_ctx),
1160 .statesize = sizeof(struct stm32_hash_request_ctx),
1185 .statesize = sizeof(struct stm32_hash_request_ctx),
1211 .statesize = sizeof(struct stm32_hash_request_ctx),
1239 .statesize = sizeof(struct stm32_hash_request_ctx),
1265 .statesize = sizeof(struct stm32_hash_request_ctx),
1290 .statesize = sizeof(struct stm32_hash_request_ctx),
1316 .statesize = sizeof(struct stm32_hash_request_ctx),
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-core.c375 .statesize = sizeof(struct md5_state),
405 .statesize = sizeof(struct sha1_state),
435 .statesize = sizeof(struct sha256_state),
465 .statesize = sizeof(struct sha256_state),
495 .statesize = sizeof(struct sha512_state),
525 .statesize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/arch/powerpc/crypto/
H A Dsha256-spe-glue.c223 .statesize = sizeof(struct sha256_state),
239 .statesize = sizeof(struct sha256_state),
H A Dsha1.c123 .statesize = sizeof(struct sha1_state),
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c327 .statesize = sizeof(struct sha1_state),
357 .statesize = sizeof(struct sha256_state),
387 .statesize = sizeof(struct md5_state),
H A Drk_crypto_core.h388 .statesize = sizeof(struct algo_name##_state),\
422 .statesize = sizeof(struct algo_name##_state),\
/OK3568_Linux_fs/kernel/crypto/
H A Dhmac.c198 ss = salg->statesize; in hmac_create()
213 inst->alg.statesize = ss; in hmac_create()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-core.c304 .statesize = sizeof(struct md5_state),
334 .statesize = sizeof(struct sha1_state),
364 .statesize = sizeof(struct sha256_state),
394 .statesize = sizeof(struct sha256_state),
/OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/
H A Dhash.c922 .statesize = sizeof(struct md5_state),
993 .statesize = sizeof(struct sha1_state),
1067 .statesize = sizeof(struct sha256_state),
1302 .statesize = sizeof(struct md5_state),
1373 .statesize = sizeof(struct sha1_state),
1444 .statesize = sizeof(struct sha256_state),
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Dcaamhash.c1596 .statesize = sizeof(struct caam_export_state),
1617 .statesize = sizeof(struct caam_export_state),
1638 .statesize = sizeof(struct caam_export_state),
1659 .statesize = sizeof(struct caam_export_state),
1680 .statesize = sizeof(struct caam_export_state),
1701 .statesize = sizeof(struct caam_export_state),
1720 .statesize = sizeof(struct caam_export_state),
1739 .statesize = sizeof(struct caam_export_state),
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-core.c47 .statesize = sizeof(struct md5_state),
74 .statesize = sizeof(struct sha1_state),

123