Home
last modified time | relevance | path

Searched refs:cert_buf (Results 1 - 4 of 4) sorted by relevance

/base/startup/hvb/libhvb/src/footer/
H A Dhvb_footer.c122 struct hvb_buf cert_buf = {NULL, 0}; in footer_init_desc() local
140 cert_buf.size = footer.cert_size; in footer_init_desc()
141 cert_buf.addr = hvb_malloc(cert_buf.size); in footer_init_desc()
142 if (!cert_buf.addr) { in footer_init_desc()
147 ret = _load_cert(ops, &cert_buf, ptn, &footer); in footer_init_desc()
151 ret = cert_init_desc(ops, ptn, &cert_buf, hash_ptn_list, out_pubk, vd); in footer_init_desc()
163 cert_info->data = cert_buf; in footer_init_desc()
169 if (cert_buf.addr != NULL) in footer_init_desc()
170 hvb_free(cert_buf in footer_init_desc()
[all...]
/base/startup/hvb/libhvb/src/cert/
H A Dhvb_cert.c312 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf) in hvb_cert_parser() argument
315 hvb_return_hvb_err_if_null(cert_buf); in hvb_cert_parser()
316 hvb_return_hvb_err_if_null(cert_buf->addr); in hvb_cert_parser()
318 if (cert_buf->size > HVB_CERT_MAX_SIZE) { in hvb_cert_parser()
325 uint8_t *p = cert_buf->addr; in hvb_cert_parser()
326 uint8_t *end = p + cert_buf->size; in hvb_cert_parser()
503 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf, in cert_init_desc() argument
509 hvb_return_hvb_err_if_null(cert_buf); in cert_init_desc()
510 hvb_return_hvb_err_if_null(cert_buf->addr); in cert_init_desc()
529 ret = hvb_cert_parser(&cert, cert_buf); in cert_init_desc()
[all...]
/base/startup/init/test/mock/hvb/libhvb/cert/
H A Dhvb_cert.c18 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf) in hvb_cert_parser() argument
/base/startup/hvb/libhvb/include/
H A Dhvb_cert.h155 enum hvb_errno cert_init_desc(struct hvb_ops *ops, const char *ptn, struct hvb_buf *cert_buf,
158 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf);

Completed in 2 milliseconds