Searched refs:hash_ptn_list (Results 1 – 6 of 6) sorted by relevance
/base/startup/hvb/libhvb/src/cert/ |
D | hvb_cert.c | 25 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/ |
D | hvb.c | 177 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/ |
D | hvb_footer.h | 42 … hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_list,
|
D | hvb.h | 78 const char *const *hash_ptn_list,
|
D | hvb_cert.h | 150 const char *const *hash_ptn_list, struct hvb_buf *out_pubk,
|
/base/startup/hvb/libhvb/src/footer/ |
D | hvb_footer.c | 95 … 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()
|