Home
last modified time | relevance | path

Searched refs:pubk (Results 1 – 4 of 4) sorted by relevance

/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c197 size_t cp_size = hvb_offsetof(struct hvb_sign_info, pubk); in _hvb_cert_signature_parser()
210 hvb_memcpy(&sign_info->pubk, &buf, sizeof(buf)); in _hvb_cert_signature_parser()
270 static enum hvb_errno hvb_cert_pubk_parser(struct hvb_rsa_pubkey *pubk, struct hvb_buf *raw_pubk) in hvb_cert_pubk_parser() argument
305 pubk->width = bit_length; in hvb_cert_pubk_parser()
306 pubk->e = 65537; in hvb_cert_pubk_parser()
307 pubk->pn = mod.addr; in hvb_cert_pubk_parser()
308 pubk->nlen = mod.size; in hvb_cert_pubk_parser()
309 pubk->p_rr = p_rr.addr; in hvb_cert_pubk_parser()
310 pubk->rlen = p_rr.size; in hvb_cert_pubk_parser()
311 pubk->n_n0_i = n0; in hvb_cert_pubk_parser()
[all …]
/base/startup/hvb/libhvb/src/rvt/
Dhvb_rvt.c95 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc) in hvb_rvt_pubk_desc_parser() argument
97 hvb_return_hvb_err_if_null(pubk); in hvb_rvt_pubk_desc_parser()
98 hvb_return_hvb_err_if_null(pubk->addr); in hvb_rvt_pubk_desc_parser()
101 if (pubk->size < sizeof(*desc)) { in hvb_rvt_pubk_desc_parser()
106 hvb_memcpy(desc, pubk->addr, sizeof(*desc)); in hvb_rvt_pubk_desc_parser()
/base/startup/hvb/libhvb/include/
Dhvb_rvt.h63 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc);
Dhvb_cert.h62 struct hvb_buf pubk; member