Lines Matching refs:rv
95 int rv; in hash_body() local
101 rv = vb2api_init_hash(ctx, VB2_HASH_TAG_FW_BODY, &expect_size); in hash_body()
102 if (rv) in hash_body()
103 return rv; in hash_body()
119 rv = vb2api_extend_hash(ctx, block, size); in hash_body()
120 if (rv) in hash_body()
121 return rv; in hash_body()
127 rv = vb2api_check_hash(ctx); in hash_body()
128 if (rv) in hash_body()
129 return rv; in hash_body()
143 int rv; in main() local
161 rv = vb2api_secdata_create(&ctx); in main()
162 if (rv) { in main()
164 "error: vb2api_secdata_create() failed (%d)\n", rv); in main()
172 rv = vb2api_fw_phase1(&ctx); in main()
173 if (rv) { in main()
176 return rv; in main()
181 rv = vb2api_fw_phase2(&ctx); in main()
182 if (rv) { in main()
185 return rv; in main()
190 rv = vb2api_fw_phase3(&ctx); in main()
191 if (rv) { in main()
194 return rv; in main()
199 rv = hash_body(&ctx); in main()
201 if (rv) { in main()
203 return rv; in main()