Home
last modified time | relevance | path

Searched refs:hash_ptn_list (Results 1 – 6 of 6) sorted by relevance

/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c25 static bool hvb_need_verify_hash(const char *const *hash_ptn_list, const char *ptn) in hvb_need_verify_hash() argument
30 if (hash_ptn_list == NULL) in hvb_need_verify_hash()
33 for (n = 0; hash_ptn_list[n] != NULL; n++) { in hvb_need_verify_hash()
34 if (hvb_strlen(hash_ptn_list[n]) == ptn_len && in hvb_need_verify_hash()
35 hvb_memcmp(hash_ptn_list[n], ptn, ptn_len) == 0) in hvb_need_verify_hash()
96 struct hvb_cert *cert, const char *const *hash_ptn_list, in hash_image_init_desc() argument
108 if (image_type != HVB_IMAGE_TYPE_HASH || !hvb_need_verify_hash(hash_ptn_list, ptn)) { in hash_image_init_desc()
383 const char *const *hash_ptn_list, struct hvb_buf *out_pubk, in cert_init_desc() argument
411 ret = hash_image_init_desc(ops, ptn, &cert, hash_ptn_list, vd); in cert_init_desc()
/base/startup/hvb/libhvb/src/auth/
Dhvb.c177 static char const **hash_ptn_list_add_rvt(const char *const *hash_ptn_list, const char *rvt_ptn) in hash_ptn_list_add_rvt() argument
184 if (hash_ptn_list != NULL) { in hash_ptn_list_add_rvt()
185 while (hash_ptn_list[num_parttions] != NULL) { in hash_ptn_list_add_rvt()
199 ptn[n] = hash_ptn_list[n]; in hash_ptn_list_add_rvt()
214 const char *const *hash_ptn_list, in hvb_chain_verify() argument
229 ptn_list = hash_ptn_list_add_rvt(hash_ptn_list, rvt_ptn); in hvb_chain_verify()
/base/startup/hvb/libhvb/include/
Dhvb_footer.h42 … hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_list,
Dhvb.h78 const char *const *hash_ptn_list,
Dhvb_cert.h150 const char *const *hash_ptn_list, struct hvb_buf *out_pubk,
/base/startup/hvb/libhvb/src/footer/
Dhvb_footer.c95 … hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_list, in footer_init_desc() argument
118 ret = cert_init_desc(ops, ptn, &cert_buf, hash_ptn_list, out_pubk, vd); in footer_init_desc()