Home
last modified time | relevance | path

Searched defs:hash_ctx (Results 1 – 4 of 4) sorted by relevance

/base/startup/init/test/mock/hvb/libhvb/crypto/
Dhvb_sm3.c24 int hvb_sm3_init(struct sm3_ctx_t *hash_ctx) in hvb_sm3_init()
37 int hvb_sm3_update(struct sm3_ctx_t *hash_ctx, const void *msg, uint32_t msg_len) in hvb_sm3_update()
50 int hvb_sm3_final(struct sm3_ctx_t *hash_ctx, uint8_t *out, uint32_t *out_len) in hvb_sm3_final()
Dhvb_hash_sha256.c21 int hash_ctx_init(struct hash_ctx_t *hash_ctx, enum hash_alg_type alg_type) in hash_ctx_init()
34 int hash_calc_update(struct hash_ctx_t *hash_ctx, const void *msg, uint32_t msg_len) in hash_calc_update()
47 int hash_calc_do_final(struct hash_ctx_t *hash_ctx, const void *msg, uint32_t msg_len, uint8_t *out… in hash_calc_do_final()
/base/startup/hvb/libhvb/src/crypto/
Dhvb_hash_sha256.c288 int hash_ctx_init(struct hash_ctx_t *hash_ctx, enum hash_alg_type alg_type) in hash_ctx_init()
309 int hash_calc_update(struct hash_ctx_t *hash_ctx, const void *msg, uint32_t msg_len) in hash_calc_update()
369 int hash_calc_do_final(struct hash_ctx_t *hash_ctx, const void *msg, uint32_t msg_len, uint8_t *out… in hash_calc_do_final()
Dhvb_sm3.c255 int hvb_sm3_init(struct sm3_ctx_t *hash_ctx) in hvb_sm3_init()
269 int hvb_sm3_update(struct sm3_ctx_t *hash_ctx, const void *msg, uint32_t msg_len) in hvb_sm3_update()
377 int hvb_sm3_final(struct sm3_ctx_t *hash_ctx, uint8_t *out, uint32_t *out_len) in hvb_sm3_final()