Searched refs:pubk (Results 1 – 4 of 4) sorted by relevance
197 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() argument305 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 …]
95 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc) in hvb_rvt_pubk_desc_parser() argument97 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()
63 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc);
62 struct hvb_buf pubk; member