Lines Matching refs:rv
95 int rv; in vb2_verify_data() local
116 rv = vb2_digest_init(dc, key->hash_alg); in vb2_verify_data()
117 if (rv) in vb2_verify_data()
118 return rv; in vb2_verify_data()
120 rv = vb2_digest_extend(dc, data, sig->data_size); in vb2_verify_data()
121 if (rv) in vb2_verify_data()
122 return rv; in vb2_verify_data()
124 rv = vb2_digest_finalize(dc, digest, digest_size); in vb2_verify_data()
125 if (rv) in vb2_verify_data()
126 return rv; in vb2_verify_data()
139 int rv; in vb2_verify_keyblock() local
174 rv = vb2_verify_data((const uint8_t *)block, size, sig, key, wb); in vb2_verify_keyblock()
175 if (rv) { in vb2_verify_keyblock()