Searched refs:crypto_cpu_to_be32 (Results 1 – 4 of 4) sorted by relevance
135 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 …]
111 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()
178 hash_write(REG_INIT1_UPDATE + i * WORD_WIDTH, crypto_cpu_to_be32(state[i])); in drv_hash_cfg_initial_value()
55 #define crypto_cpu_to_be32(v) \ macro