Home
last modified time | relevance | path

Searched refs:rvt (Results 1 – 6 of 6) sorted by relevance

/base/startup/hvb/libhvb/src/rvt/
Dhvb_rvt.c49 enum hvb_errno hvb_rvt_head_parser(const struct hvb_buf *rvt, struct rvt_image_header *header) in hvb_rvt_head_parser() argument
53 hvb_return_hvb_err_if_null(rvt); in hvb_rvt_head_parser()
54 hvb_return_hvb_err_if_null(rvt->addr); in hvb_rvt_head_parser()
57 if (rvt->size < sizeof(*header)) { in hvb_rvt_head_parser()
62 hvb_memcpy(header, rvt->addr, sizeof(*header)); in hvb_rvt_head_parser()
65 if (rvt_real_size > rvt->size || rvt_real_size < sizeof(*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() argument
75 hvb_return_hvb_err_if_null(rvt); in hvb_rvt_get_pubk_desc()
76 hvb_return_hvb_err_if_null(rvt->addr); in hvb_rvt_get_pubk_desc()
79 if (rvt->size < sizeof(*pubk_desc)) { in hvb_rvt_get_pubk_desc()
[all …]
/base/startup/hvb/tools/
Dreadme.md61 - 制作rvt镜像
63 ./hvbtool.py mak_rvt_image --partition rvt //rvt分区
85 … --output rvt.img //输出
89rvt --partition_size 4194304 --algorithm SHA256_RSA2048 --rollback_index 0 --rollback_location 1 -…
/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);
64 enum hvb_errno hvb_rvt_get_pubk_buf(struct hvb_buf *key_buf, const struct hvb_buf *rvt, struct rvt_…
/base/startup/hvb/libhvb/src/auth/
Dhvb.c122 struct hvb_buf *rvt, struct hvb_verified_data *vd) in hvb_walk_verify_nodes() argument
132 ret = hvb_rvt_head_parser(rvt, &header); in hvb_walk_verify_nodes()
139 ret = hvb_rvt_get_pubk_desc(rvt, &pubk_descs); in hvb_walk_verify_nodes()
152 ret = hvb_rvt_get_pubk_buf(&expected_pubk, rvt, &desc); in hvb_walk_verify_nodes()
/base/startup/hvb/
DREADME_zh.md58 ![](figures/rvt.png)
110 OEM厂商在Bootloader中可使用libhvb中的接口对单个镜像的verity信息进行校验;也可根据rvt信息对多个镜像的verity信息进行校验。
/base/startup/hvb/libhvb/
DBUILD.gn36 "src/rvt/hvb_rvt.c",