Lines Matching refs:rv
103 int rv; in vb2_verify_common_subobject() local
109 rv = vb2_verify_common_member(parent, min_offset, member_offset, in vb2_verify_common_subobject()
111 if (rv) in vb2_verify_common_subobject()
112 return rv; in vb2_verify_common_subobject()
119 rv = vb2_verify_common_header(m, p->total_size - member_offset); in vb2_verify_common_subobject()
120 if (rv) in vb2_verify_common_subobject()
121 return rv; in vb2_verify_common_subobject()
180 int rv; in vb2_verify_signature() local
187 rv = vb2_verify_common_header(sig, size); in vb2_verify_signature()
188 if (rv) in vb2_verify_signature()
189 return rv; in vb2_verify_signature()
204 rv = vb2_verify_common_member(sig, &min_offset, in vb2_verify_signature()
206 if (rv) in vb2_verify_signature()
207 return rv; in vb2_verify_signature()
270 int rv; in vb2_verify_data() local
291 rv = vb2_digest_init(dc, key->hash_alg); in vb2_verify_data()
292 if (rv) in vb2_verify_data()
293 return rv; in vb2_verify_data()
295 rv = vb2_digest_extend(dc, data, size); in vb2_verify_data()
296 if (rv) in vb2_verify_data()
297 return rv; in vb2_verify_data()
299 rv = vb2_digest_finalize(dc, digest, digest_size); in vb2_verify_data()
300 if (rv) in vb2_verify_data()
301 return rv; in vb2_verify_data()
314 int rv, i; in vb2_verify_keyblock() local
321 rv = vb2_verify_common_header(block, size); in vb2_verify_keyblock()
322 if (rv) in vb2_verify_keyblock()
323 return rv; in vb2_verify_keyblock()
338 rv = vb2_verify_common_subobject(block, &min_offset, block->key_offset); in vb2_verify_keyblock()
339 if (rv) in vb2_verify_keyblock()
340 return rv; in vb2_verify_keyblock()
348 rv = vb2_verify_common_subobject(block, &min_offset, in vb2_verify_keyblock()
350 if (rv) in vb2_verify_keyblock()
351 return rv; in vb2_verify_keyblock()
356 rv = vb2_verify_signature(sig, in vb2_verify_keyblock()
358 if (rv) in vb2_verify_keyblock()
359 return rv; in vb2_verify_keyblock()
383 int rv, i; in vb2_verify_fw_preamble() local
390 rv = vb2_verify_common_header(preamble, size); in vb2_verify_fw_preamble()
391 if (rv) in vb2_verify_fw_preamble()
392 return rv; in vb2_verify_fw_preamble()
410 rv = vb2_verify_common_subobject(preamble, &min_offset, in vb2_verify_fw_preamble()
412 if (rv) in vb2_verify_fw_preamble()
413 return rv; in vb2_verify_fw_preamble()
419 rv = vb2_verify_signature( in vb2_verify_fw_preamble()
421 if (rv) in vb2_verify_fw_preamble()
422 return rv; in vb2_verify_fw_preamble()
430 rv = vb2_verify_common_subobject(preamble, &min_offset, in vb2_verify_fw_preamble()
432 if (rv) in vb2_verify_fw_preamble()
433 return rv; in vb2_verify_fw_preamble()
439 rv = vb2_verify_data(preamble, preamble->sig_offset, sig, key, wb); in vb2_verify_fw_preamble()
440 if (rv) in vb2_verify_fw_preamble()
441 return rv; in vb2_verify_fw_preamble()