Home
last modified time | relevance | path

Searched refs:hvb_ops (Results 1 - 17 of 17) sorted by relevance

/base/startup/hvb/test/
H A Dhvb_main.c27 #include "hvb_ops.h"
30 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_op in hvb_ops_user() local
[all...]
/base/startup/hvb/libhvb/include/
H A Dhvb_ops.h38 struct hvb_ops { struct
40 enum hvb_io_errno (*read_partition)(struct hvb_ops *ops, const char *ptn, int64_t offset,
42 enum hvb_io_errno (*write_partition)(struct hvb_ops *ops, const char *ptn, int64_t offset,
44 enum hvb_io_errno (*valid_rvt_key)(struct hvb_ops *ops, const uint8_t *pubkey,
47 enum hvb_io_errno (*read_rollback)(struct hvb_ops *ops,
50 enum hvb_io_errno (*write_rollback)(struct hvb_ops *ops, uint64_t rollback_index_location,
52 enum hvb_io_errno (*read_lock_state)(struct hvb_ops *ops, bool *lock_state);
53 enum hvb_io_errno (*get_partiton_size)(struct hvb_ops *ops, const char *ptn, uint64_t *out_bytes);
H A Dhvb_cmdline.h18 #include "hvb_ops.h"
35 enum hvb_errno hvb_creat_cmdline(struct hvb_ops *ops, struct hvb_verified_data *vd);
H A Dhvb_footer.h20 #include "hvb_ops.h"
42 enum hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_list,
H A Dhvb_util.h19 #include "hvb_ops.h"
59 enum hvb_errno check_hvb_ops(struct hvb_ops *ops);
H A Dhvb.h18 #include "hvb_ops.h"
84 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, const char *rvt_parttion_name,
H A Dhvb_cert.h155 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf,
/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_hvb_ops.cpp68 struct hvb_ops *ops, const char *partition, int64_t offset, uint64_t numBytes, void *buf, uint64_t *outNumRead) in HvbReadFromPartition()
108 struct hvb_ops *ops, const char *partition, int64_t offset, uint64_t numBytes, const void *buf) in HvbWriteToPartition()
113 static enum hvb_io_errno HvbInvalidateKey(struct hvb_ops *ops, const uint8_t *publicKeyData, uint64_t publicKeyLength, in HvbInvalidateKey()
126 struct hvb_ops *ops, uint64_t rollBackIndexLocation, uint64_t *outRollbackIndex) in HvbReadRollbackIdx()
139 struct hvb_ops *ops, uint64_t rollBackIndexLocation, uint64_t rollbackIndex) in HvbWriteRollbackIdx()
144 static enum hvb_io_errno HvbReadLockState(struct hvb_ops *ops, bool *lock_state) in HvbReadLockState()
149 static enum hvb_io_errno HvbGetSizeOfPartition(struct hvb_ops *ops, const char *partition, uint64_t *size) in HvbGetSizeOfPartition()
162 static struct hvb_ops g_hvb_ops = {
173 struct hvb_ops *ModuleHvbGetOps(void) in ModuleHvbGetOps()
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
H A Dhvb_ops.c68 static enum hvb_io_errno HvbReadFromPartition(struct hvb_ops* ops, in HvbReadFromPartition()
143 static enum hvb_io_errno HvbWriteToPartition(struct hvb_ops* ops, in HvbWriteToPartition()
151 static enum hvb_io_errno HvbInvaldateKey(struct hvb_ops* ops, in HvbInvaldateKey()
167 static enum hvb_io_errno HvbReadRollbackIdx(struct hvb_ops* ops, in HvbReadRollbackIdx()
181 static enum hvb_io_errno HvbWriteRollbackIdx(struct hvb_ops* ops, in HvbWriteRollbackIdx()
188 static enum hvb_io_errno HvbReadLockState(struct hvb_ops* ops, in HvbReadLockState()
194 static enum hvb_io_errno HvbGetSizeOfPartition(struct hvb_ops* ops, in HvbGetSizeOfPartition()
209 static struct hvb_ops g_hvb_ops = {
220 struct hvb_ops* FsHvbGetOps(void) in FsHvbGetOps()
/base/update/sys_installer/services/module_update/util/include/
H A Dmodule_hvb_ops.h19 #include "hvb_ops.h"
27 struct hvb_ops *ModuleHvbGetOps(void);
/base/startup/hvb/libhvb/src/footer/
H A Dhvb_footer.c65 static enum hvb_errno _load_and_parse_footer(struct hvb_ops *ops, struct hvb_footer *footer, const char *ptn) in _load_and_parse_footer()
93 static enum hvb_errno _load_cert(struct hvb_ops *ops, struct hvb_buf *cert, const char *ptn, struct hvb_footer *footer) in _load_cert()
113 enum hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_list, in footer_init_desc()
/base/startup/init/test/mock/hvb/libhvb/auth/
H A Dhvb.c28 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, const char *rvt_ptn, const char *const *hash_ptn_list, in hvb_chain_verify()
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/include/
H A Dfs_hvb.h59 struct hvb_ops *FsHvbGetOps(void);
/base/startup/hvb/libhvb/src/auth/
H A Dhvb.c19 #include "hvb_ops.h"
72 static enum hvb_errno hvb_rvt_verify_root(struct hvb_ops *ops, const char *ptn, 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()
222 enum hvb_errno hvb_chain_verify(struct hvb_ops *ops, in hvb_chain_verify()
/base/startup/hvb/libhvb/src/cmdline/
H A Dhvb_cmdline.c19 #include "hvb_ops.h"
102 enum hvb_errno hvb_creat_cmdline(struct hvb_ops *ops, struct hvb_verified_data *vd) in hvb_creat_cmdline()
/base/startup/hvb/libhvb/src/utils/
H A Dhvb_util.c132 enum hvb_errno check_hvb_ops(struct hvb_ops *ops) in check_hvb_ops()
/base/startup/hvb/libhvb/src/cert/
H A Dhvb_cert.c100 static enum hvb_errno hash_image_init_desc(struct hvb_ops *ops, const char *ptn, in hash_image_init_desc()
475 static enum hvb_errno _check_rollback_index(struct hvb_ops *ops, struct hvb_cert *cert, struct hvb_verified_data *vd) in _check_rollback_index()
503 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf, in cert_init_desc()

Completed in 7 milliseconds