Lines Matching defs:pubk
222 struct vb2_public_key pubk;
231 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256),
239 sig, &pubk, &wb),
243 TEST_EQ(vb2_verify_data(test_data, sizeof(test_data), sig, &pubk, &wb),
256 struct vb2_public_key pubk, pubk2, pubk3;
266 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256),
292 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
306 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
312 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
318 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
328 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
334 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
340 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
347 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
354 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
361 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
367 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb),
383 struct vb2_public_key pubk;
400 TEST_SUCC(vb2_public_key_hash(&pubk, VB2_HASH_SHA256),
432 TEST_SUCC(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
437 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
443 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
449 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
459 TEST_SUCC(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
465 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
472 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
479 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
485 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
492 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
499 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),
505 TEST_EQ(vb2_verify_fw_preamble(pre, buf_size, &pubk, &wb),