Home
last modified time | relevance | path

Searched refs:hvb_ops (Results 1 – 15 of 15) sorted by relevance

/base/startup/hvb/test/
Dhvb_main.c30 static struct struct hvb_ops *g_hvb_ops;
32 static enum hvb_io_errno hvb_read_partition(struct hvb_ops *ops, in hvb_read_partition()
93 static enum hvb_io_errno hvb_write_partition(struct hvb_ops *ops, in hvb_write_partition()
140 static enum hvb_io_errno hvb_read_rollback(struct hvb_ops *ops, in hvb_read_rollback()
151 static enum hvb_io_errno hvb_write_rollback(struct hvb_ops *ops, in hvb_write_rollback()
158 static enum hvb_io_errno hvb_get_partiton_uuid(struct hvb_ops *ops, in hvb_get_partiton_uuid()
170 static enum hvb_io_errno hvb_get_partiton_size(struct hvb_ops *ops, in hvb_get_partiton_size()
202 static struct hvb_ops *hvb_ops_user(void) in hvb_ops_user()
204 struct hvb_ops *hvb_ops; in hvb_ops_user() local
206 hvb_ops = (struct hvb_ops *)hvb_malloc(sizeof(struct hvb_ops)); in hvb_ops_user()
[all …]
/base/startup/hvb/libhvb/include/
Dhvb_ops.h38 struct hvb_ops { struct
40 enum hvb_io_errno (*read_partition)(struct hvb_ops *ops, const char *ptn, int64_t offset, argument
42 enum hvb_io_errno (*write_partition)(struct hvb_ops *ops, const char *ptn, int64_t offset, argument
44 enum hvb_io_errno (*valid_rvt_key)(struct hvb_ops *ops, const uint8_t *pubkey, argument
47 enum hvb_io_errno (*read_rollback)(struct hvb_ops *ops, argument
50 enum hvb_io_errno (*write_rollback)(struct hvb_ops *ops, uint64_t rollback_index_location, argument
52 enum hvb_io_errno (*read_lock_state)(struct hvb_ops *ops, bool *lock_state); argument
53 … enum hvb_io_errno (*get_partiton_size)(struct hvb_ops *ops, const char *ptn, uint64_t *out_bytes); argument
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…
Dhvb.h78 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, const char *rvt_parttion_name,
Dhvb_cert.h154 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf,
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
Dhvb_ops.c44 static enum hvb_io_errno HvbReadFromPartition(struct hvb_ops* ops, in HvbReadFromPartition()
131 static enum hvb_io_errno HvbWriteToPartition(struct hvb_ops* ops, in HvbWriteToPartition()
139 static enum hvb_io_errno HvbInvaldateKey(struct hvb_ops* ops, in HvbInvaldateKey()
155 static enum hvb_io_errno HvbReadRollbackIdx(struct hvb_ops* ops, in HvbReadRollbackIdx()
169 static enum hvb_io_errno HvbWriteRollbackIdx(struct hvb_ops* ops, in HvbWriteRollbackIdx()
176 static enum hvb_io_errno HvbReadLockState(struct hvb_ops* ops, in HvbReadLockState()
182 static enum hvb_io_errno HvbGetSizeOfPartition(struct hvb_ops* ops, in HvbGetSizeOfPartition()
197 static struct hvb_ops g_hvb_ops = {
208 struct hvb_ops* FsHvbGetOps(void) in FsHvbGetOps()
/base/update/sys_installer/services/module_update/util/src/
Dmodule_hvb_ops.cpp65 …struct hvb_ops *ops, const char *partition, int64_t offset, uint64_t numBytes, void *buf, uint64_t… in HvbReadFromPartition()
105 struct hvb_ops *ops, const char *partition, int64_t offset, uint64_t numBytes, const void *buf) in HvbWriteToPartition()
110 static enum hvb_io_errno HvbInvalidateKey(struct hvb_ops *ops, const uint8_t *publicKeyData, uint64… in HvbInvalidateKey()
123 struct hvb_ops *ops, uint64_t rollBackIndexLocation, uint64_t *outRollbackIndex) in HvbReadRollbackIdx()
136 struct hvb_ops *ops, uint64_t rollBackIndexLocation, uint64_t rollbackIndex) in HvbWriteRollbackIdx()
141 static enum hvb_io_errno HvbReadLockState(struct hvb_ops *ops, bool *lock_state) in HvbReadLockState()
146 static enum hvb_io_errno HvbGetSizeOfPartition(struct hvb_ops *ops, const char *partition, uint64_t… in HvbGetSizeOfPartition()
159 static struct hvb_ops g_hvb_ops = {
170 struct hvb_ops *ModuleHvbGetOps(void) in ModuleHvbGetOps()
/base/update/sys_installer/services/module_update/util/include/
Dmodule_hvb_ops.h27 struct hvb_ops *ModuleHvbGetOps(void);
/base/startup/hvb/libhvb/src/footer/
Dhvb_footer.c47 static enum hvb_errno _load_and_parse_footer(struct hvb_ops *ops, struct hvb_footer *footer, const … 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()
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/include/
Dfs_hvb.h36 struct hvb_ops *FsHvbGetOps(void);
/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()
121 static enum hvb_errno hvb_walk_verify_nodes(struct hvb_ops *ops, const char *const *ptn_list, in hvb_walk_verify_nodes()
212 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, in hvb_chain_verify()
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c95 static enum hvb_errno hash_image_init_desc(struct hvb_ops *ops, const char *ptn, in hash_image_init_desc()
354 static enum hvb_errno _check_rollback_index(struct hvb_ops *ops, struct hvb_cert *cert, struct hvb_… in _check_rollback_index()
382 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf, in cert_init_desc()
/base/startup/init/interfaces/innerkits/fs_manager/
DBUILD.gn43 "libfs_hvb/hvb_ops.c",
/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()