Searched refs:pubk4096 (Results 1 – 2 of 2) sorted by relevance
/external/vboot_reference/tests/ |
D | vb21_host_keyblock_tests.c | 23 struct vb2_public_key *pubk2048, *pubk4096, *pubk8192, pubkhash; in keyblock_tests() local 46 TEST_SUCC(vb2_public_key_read_keyb(&pubk4096, fname), in keyblock_tests() 48 vb2_public_key_set_desc(pubk4096, "Test RSA4096 public key"); in keyblock_tests() 49 pubk4096->hash_alg = VB2_HASH_SHA256; in keyblock_tests() 84 TEST_SUCC(vb2_verify_keyblock(kb, kb->c.total_size, pubk4096, &wb), in keyblock_tests() 96 TEST_SUCC(vb2_keyblock_create(&kb, pubk4096, prik, 2, 0, test_desc), in keyblock_tests() 109 TEST_EQ(vb2_keyblock_create(&kb, pubk4096, prik, 1, 0, NULL), in keyblock_tests() 114 pubk4096->sig_alg = VB2_SIG_INVALID; in keyblock_tests() 115 TEST_EQ(vb2_keyblock_create(&kb, pubk4096, prik, 1, 0, NULL), in keyblock_tests() 121 vb2_public_key_free(pubk4096); in keyblock_tests()
|
D | vb21_host_fw_preamble_tests.c | 31 struct vb2_public_key *pubk4096; in preamble_tests() local 50 TEST_SUCC(vb2_public_key_read_keyb(&pubk4096, fname), in preamble_tests() 52 vb2_public_key_set_desc(pubk4096, "Test RSA4096 public key"); in preamble_tests() 53 pubk4096->hash_alg = VB2_HASH_SHA256; in preamble_tests() 83 TEST_SUCC(vb2_verify_fw_preamble(fp, fp->c.total_size, pubk4096, &wb), in preamble_tests() 110 vb2_public_key_free(pubk4096); in preamble_tests()
|