Home
last modified time | relevance | path

Searched refs:alg_type (Results 1 - 3 of 3) sorted by relevance

/base/startup/hvb/libhvb/src/crypto/
H A Dhvb_hash_sha256.c270 static uint32_t hash_alg_get_blklen(enum hash_alg_type alg_type) in hash_alg_get_blklen() argument
272 switch (alg_type) { in hash_alg_get_blklen()
282 int hash_ctx_init(struct hash_ctx_t *hash_ctx, enum hash_alg_type alg_type) in hash_ctx_init() argument
284 if (alg_type != HASH_ALG_SHA256) { in hash_ctx_init()
292 hash_ctx->alg_type = (uint32_t)alg_type; in hash_ctx_init()
317 blk_len = hash_alg_get_blklen(hash_ctx->alg_type); in hash_calc_update()
/base/startup/init/test/mock/hvb/libhvb/crypto/
H A Dhvb_hash_sha256.c21 int hash_ctx_init(struct hash_ctx_t *hash_ctx, enum hash_alg_type alg_type) in hash_ctx_init() argument
/base/startup/hvb/libhvb/include/
H A Dhvb_crypto.h49 uint32_t alg_type; member

Completed in 2 milliseconds