Home
last modified time | relevance | path

Searched refs:hvb_errno (Results 1 – 12 of 12) sorted by relevance

/base/startup/hvb/libhvb/include/
Dhvb_rvt.h61 enum hvb_errno hvb_rvt_head_parser(const struct hvb_buf *rvt, struct rvt_image_header *dest);
62 enum hvb_errno hvb_rvt_get_pubk_desc(const struct hvb_buf *rvt, struct hvb_buf *pubk_desc);
63 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc);
64 enum hvb_errno hvb_rvt_get_pubk_buf(struct hvb_buf *key_buf, const struct hvb_buf *rvt, struct rvt_…
65 enum hvb_errno hvb_calculate_certs_digest(struct hvb_verified_data *vd, uint8_t *out_digest);
Dhvb.h36 enum hvb_errno { enum
59 enum hvb_errno verify_result;
77 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, const char *rvt_parttion_name,
Dhvb_cert.h149 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf,
152 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf);
Dhvb_cmdline.h35 enum hvb_errno hvb_creat_cmdline(struct hvb_ops *ops, struct hvb_verified_data *vd);
Dhvb_footer.h42 enum hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_l…
/base/startup/hvb/libhvb/src/rvt/
Dhvb_rvt.c20 enum hvb_errno hvb_calculate_certs_digest(struct hvb_verified_data *vd, uint8_t *out_digest) in hvb_calculate_certs_digest()
49 enum hvb_errno hvb_rvt_head_parser(const struct hvb_buf *rvt, struct rvt_image_header *header) in hvb_rvt_head_parser()
73 enum hvb_errno hvb_rvt_get_pubk_desc(const struct hvb_buf *rvt, struct hvb_buf *pubk_desc) in hvb_rvt_get_pubk_desc()
95 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc) in hvb_rvt_pubk_desc_parser()
111 enum hvb_errno hvb_rvt_get_pubk_buf(struct hvb_buf *key_buf, const struct hvb_buf *rvt, struct rvt_… in hvb_rvt_get_pubk_buf()
/base/startup/hvb/libhvb/src/footer/
Dhvb_footer.c20 static enum hvb_errno _footer_parser(struct hvb_footer *footer, struct hvb_buf *footer_buf) in _footer_parser()
47 static enum hvb_errno _load_and_parse_footer(struct hvb_ops *ops, struct hvb_footer *footer, const … in _load_and_parse_footer()
49 enum hvb_errno ret = HVB_OK; in _load_and_parse_footer()
75 static enum hvb_errno _load_cert(struct hvb_ops *ops, struct hvb_buf *cert, const char *ptn, struct… in _load_cert()
95 enum hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_l… in footer_init_desc()
98 enum hvb_errno ret = HVB_OK; in footer_init_desc()
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c56 static enum hvb_errno hvb_compare_hash(struct hvb_buf *digest_buf, struct hvb_buf *msg_buf, in hvb_compare_hash()
95 static enum hvb_errno hash_image_init_desc(struct hvb_ops *ops, const char *ptn, in hash_image_init_desc()
100 enum hvb_errno ret = HVB_OK; in hash_image_init_desc()
173 static enum hvb_errno _hvb_cert_payload_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_payload_parser()
193 static enum hvb_errno _hvb_cert_signature_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_signature_parser()
222 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf) in hvb_cert_parser()
224 enum hvb_errno ret = HVB_OK; in hvb_cert_parser()
270 static enum hvb_errno hvb_cert_pubk_parser(struct hvb_rsa_pubkey *pubk, struct hvb_buf *raw_pubk) in hvb_cert_pubk_parser()
316 static enum hvb_errno hvb_verify_cert(struct hvb_buf *tbs, struct hvb_sign_info *sign_info, uint32_… in hvb_verify_cert()
319 enum hvb_errno ret = HVB_OK; in hvb_verify_cert()
[all …]
/base/startup/hvb/libhvb/src/auth/
Dhvb.c70 static enum hvb_errno hvb_rvt_verify_root(struct hvb_ops *ops, const char *ptn, in hvb_rvt_verify_root()
74 enum hvb_errno ret = HVB_OK; in hvb_rvt_verify_root()
121 static enum hvb_errno hvb_walk_verify_nodes(struct hvb_ops *ops, const char *const *ptn_list, in hvb_walk_verify_nodes()
124 enum hvb_errno ret = HVB_OK; in hvb_walk_verify_nodes()
212 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, in hvb_chain_verify()
217 enum hvb_errno ret = HVB_OK; in hvb_chain_verify()
/base/startup/hvb/libhvb/src/cmdline/
Dhvb_cmdline.c102 enum hvb_errno hvb_creat_cmdline(struct hvb_ops *ops, struct hvb_verified_data *vd) in hvb_creat_cmdline()
104 enum hvb_errno ret = HVB_OK; in hvb_creat_cmdline()
/base/startup/hvb/test/
Dhvb_main.c226 enum hvb_errno sub_ret = HVB_OK; in main()
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
Dfs_hvb.c174 enum hvb_errno rc; in FsHvbInit()
208 enum hvb_errno hr; in FsHvbGetCert()