Lines Matching refs:TEST_SUCC
77 TEST_SUCC(vb2_verify_common_header(cbuf, sizeof(cbuf)), in test_common_header_functions()
132 TEST_SUCC(vb2_verify_common_member(cbuf, &m, c->total_size - 8, 4), in test_common_header_functions()
137 TEST_SUCC(vb2_verify_common_member(cbuf, &m, desc_end, 4), in test_common_header_functions()
173 TEST_SUCC(vb2_verify_common_subobject(cbuf, &m, desc_end), in test_common_header_functions()
229 TEST_SUCC(vb2_private_key_hash(&prik, VB2_HASH_SHA256), in test_verify_hash()
231 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256), in test_verify_hash()
235 TEST_SUCC(vb2_sign_data(&sig, test_data, sizeof(test_data), prik, NULL), in test_verify_hash()
238 TEST_SUCC(vb2_verify_data(test_data, sizeof(test_data), in test_verify_hash()
266 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256), in test_verify_keyblock()
268 TEST_SUCC(vb2_public_key_hash(&pubk2, VB2_HASH_SHA512), in test_verify_keyblock()
270 TEST_SUCC(vb2_public_key_hash(&pubk3, VB2_HASH_SHA1), in test_verify_keyblock()
273 TEST_SUCC(vb2_private_key_hash(prik + 0, VB2_HASH_SHA256), in test_verify_keyblock()
275 TEST_SUCC(vb2_private_key_hash(prik + 1, VB2_HASH_SHA512), in test_verify_keyblock()
279 TEST_SUCC(vb2_keyblock_create(&kbuf, &pubk3, prik, 2, 0x4321, desc), in test_verify_keyblock()
292 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb), in test_verify_keyblock()
296 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk2, &wb), in test_verify_keyblock()
328 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb), in test_verify_keyblock()
400 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256), in test_verify_fw_preamble()
402 TEST_SUCC(vb2_private_key_hash(&prikhash, VB2_HASH_SHA256), in test_verify_fw_preamble()
406 TEST_SUCC(vb2_sign_data(hashes + 0, test_data, sizeof(test_data), in test_verify_fw_preamble()
409 TEST_SUCC(vb2_sign_data(hashes + 1, test_data2, sizeof(test_data2), in test_verify_fw_preamble()
412 TEST_SUCC(vb2_sign_data(hashes + 2, test_data3, sizeof(test_data3), in test_verify_fw_preamble()
417 TEST_SUCC(vb2_fw_preamble_create(&pre, prikhash, in test_verify_fw_preamble()
432 TEST_SUCC(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb), in test_verify_fw_preamble()
459 TEST_SUCC(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb), in test_verify_fw_preamble()