Lines Matching refs:ops
65 static enum hvb_errno _load_and_parse_footer(struct hvb_ops *ops, struct hvb_footer *footer, const char *ptn)
73 io_ret = ops->read_partition(ops, ptn, -HVB_FOOTER_SIZE, HVB_FOOTER_SIZE, footer_buf.addr, &read_bytes);
93 static enum hvb_errno _load_cert(struct hvb_ops *ops, struct hvb_buf *cert, const char *ptn, struct hvb_footer *footer)
99 io_ret = ops->read_partition(ops, ptn, offset, cert->size, cert->addr, &read_bytes);
113 enum hvb_errno footer_init_desc(struct hvb_ops *ops, const char *ptn, const char *const *hash_ptn_list,
116 hvb_return_hvb_err_if_null(ops);
126 ret = check_hvb_ops(ops);
128 hvb_print("error, check ops\n");
136 ret = _load_and_parse_footer(ops, &footer, ptn);
147 ret = _load_cert(ops, &cert_buf, ptn, &footer);
151 ret = cert_init_desc(ops, ptn, &cert_buf, hash_ptn_list, out_pubk, vd);