Home
last modified time | relevance | path

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

/ohos5.0/base/startup/hvb/libhvb/include/
H A Dhvb_rvt.h61 enum hvb_errno hvb_rvt_head_parser(const struct hvb_buf *rvt, struct rvt_image_header *dest, uint64…
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, uin…
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);
H A Dhvb.h41 enum hvb_errno { enum
64 enum hvb_errno verify_result;
84 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, const char *rvt_parttion_name,
H A Dhvb_cert.h154 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf,
157 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf);
H A Dhvb_cmdline.h35 enum hvb_errno hvb_creat_cmdline(struct hvb_ops *ops, struct hvb_verified_data *vd);
H A Dhvb_footer.h42 enum hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_l…
/ohos5.0/base/startup/hvb/libhvb/src/cert/
H A Dhvb_cert.c61 static enum hvb_errno hvb_compare_hash(struct hvb_buf *digest_buf, struct hvb_buf *msg_buf, in hvb_compare_hash()
100 static enum hvb_errno hash_image_init_desc(struct hvb_ops *ops, const char *ptn, in hash_image_init_desc()
105 enum hvb_errno ret = HVB_OK; in hash_image_init_desc()
178 static enum hvb_errno _hvb_cert_payload_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_payload_parser()
231 static enum hvb_errno _hvb_cert_signature_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_signature_parser()
312 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf) in hvb_cert_parser()
317 enum hvb_errno ret = HVB_OK; in hvb_cert_parser()
385 static enum hvb_errno hvb_cert_pubk_parser(struct hvb_rsa_pubkey *pubk, struct hvb_buf *raw_pubk) in hvb_cert_pubk_parser()
434 enum hvb_errno ret = HVB_OK; in hvb_verify_cert()
497 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf, in cert_init_desc()
[all …]
/ohos5.0/base/startup/hvb/libhvb/src/footer/
H A Dhvb_footer.c20 static enum hvb_errno _footer_parser(struct hvb_footer *footer, struct hvb_buf *footer_buf) in _footer_parser()
65 static enum hvb_errno _load_and_parse_footer(struct hvb_ops *ops, struct hvb_footer *footer, const … in _load_and_parse_footer()
67 enum hvb_errno ret = HVB_OK; in _load_and_parse_footer()
93 static enum hvb_errno _load_cert(struct hvb_ops *ops, struct hvb_buf *cert, const char *ptn, struct… in _load_cert()
113 enum hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_l… in footer_init_desc()
121 enum hvb_errno ret = HVB_OK; in footer_init_desc()
/ohos5.0/base/startup/hvb/libhvb/src/rvt/
H A 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, uint… in hvb_rvt_head_parser()
75 enum hvb_errno hvb_rvt_get_pubk_desc(const struct hvb_buf *rvt, struct hvb_buf *pubk_desc) in hvb_rvt_get_pubk_desc()
97 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc, uin… in hvb_rvt_pubk_desc_parser()
115 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()
/ohos5.0/base/startup/hvb/libhvb/src/auth/
H A Dhvb.c72 static enum hvb_errno hvb_rvt_verify_root(struct hvb_ops *ops, const char *ptn, in hvb_rvt_verify_root()
76 enum hvb_errno ret = HVB_OK; in hvb_rvt_verify_root()
129 static enum hvb_errno hvb_walk_verify_nodes(struct hvb_ops *ops, const char *const *ptn_list, in hvb_walk_verify_nodes()
132 enum hvb_errno ret = HVB_OK; in hvb_walk_verify_nodes()
222 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, in hvb_chain_verify()
227 enum hvb_errno ret = HVB_OK; in hvb_chain_verify()
/ohos5.0/base/startup/hvb/libhvb/src/cmdline/
H A 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()
/ohos5.0/base/update/sys_installer/services/module_update/src/
H A Dmodule_dm.cpp60 enum hvb_errno hr = HVB_OK; in CreateDmDevice()
/ohos5.0/base/startup/hvb/test/
H A Dhvb_main.c226 enum hvb_errno sub_ret = HVB_OK; in main()
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
H A Dfs_hvb.c178 enum hvb_errno rc; in FsHvbInit()
212 enum hvb_errno hr; in FsHvbGetCert()
/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_file.cpp462 …enum hvb_errno ret = footer_init_desc(ModuleHvbGetOps(), imagePath.c_str(), nullptr, &pubkey, vd_); in VerifyModuleVerity()