Home
last modified time | relevance | path

Searched refs:crypto_cpu_to_be32 (Results 1 – 4 of 4) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_hash.c135 hisi_ctx->hash[WORD_IDX_0] = crypto_cpu_to_be32(SHA1_H0); in cryp_sha1_init()
136 hisi_ctx->hash[WORD_IDX_1] = crypto_cpu_to_be32(SHA1_H1); in cryp_sha1_init()
137 hisi_ctx->hash[WORD_IDX_2] = crypto_cpu_to_be32(SHA1_H2); in cryp_sha1_init()
138 hisi_ctx->hash[WORD_IDX_3] = crypto_cpu_to_be32(SHA1_H3); in cryp_sha1_init()
139 hisi_ctx->hash[WORD_IDX_4] = crypto_cpu_to_be32(SHA1_H4); in cryp_sha1_init()
146 hisi_ctx->hash[WORD_IDX_0] = crypto_cpu_to_be32(SHA224_H0); in cryp_sha2_224_init()
147 hisi_ctx->hash[WORD_IDX_1] = crypto_cpu_to_be32(SHA224_H1); in cryp_sha2_224_init()
148 hisi_ctx->hash[WORD_IDX_2] = crypto_cpu_to_be32(SHA224_H2); in cryp_sha2_224_init()
149 hisi_ctx->hash[WORD_IDX_3] = crypto_cpu_to_be32(SHA224_H3); in cryp_sha2_224_init()
150 hisi_ctx->hash[WORD_IDX_4] = crypto_cpu_to_be32(SHA224_H4); in cryp_sha2_224_init()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
Dext_sm3.c111 sm3_w[j] = crypto_cpu_to_be32(local_block[j]); in sm3_compress()
290 hash[i] = crypto_cpu_to_be32(ctx->state[i]); in sm3_final()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
Ddrv_hash_v100.c178 hash_write(REG_INIT1_UPDATE + i * WORD_WIDTH, crypto_cpu_to_be32(state[i])); in drv_hash_cfg_initial_value()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/
Ddrv_cipher_kapi.h55 #define crypto_cpu_to_be32(v) \ macro