/external/vboot_reference/firmware/lib/ |
D | vboot_firmware.c | 96 uint64_t key_version; in LoadFirmware() local 144 key_version = key_block->data_key.key_version; in LoadFirmware() 146 if (key_version < (shared->fw_version_tpm >> 16)) { in LoadFirmware() 151 if (key_version > 0xFFFF) { in LoadFirmware() 185 combined_version = (uint32_t)((key_version << 16) | in LoadFirmware()
|
D | vboot_kernel.c | 149 uint64_t key_version; in LoadKernel() local 244 key_version = key_block->data_key.key_version; in LoadKernel() 246 if (key_version < (shared->kernel_version_tpm >> 16)) { in LoadKernel() 252 if (key_version > 0xFFFF) { in LoadKernel() 296 (key_version << 16) | in LoadKernel()
|
D | vboot_common.c | 108 key->key_version = 0; in PublicKeyInit() 118 dest->key_version = src->key_version; in PublicKeyCopy()
|
/external/vboot_reference/firmware/lib20/ |
D | misc.c | 83 if (kb->data_key.key_version > 0xffff) in vb2_load_fw_keyblock() 85 if (!rv && kb->data_key.key_version < (sd->fw_version_secdata >> 16)) in vb2_load_fw_keyblock() 92 sd->fw_version = kb->data_key.key_version << 16; in vb2_load_fw_keyblock() 102 packed_key->key_version = kb->data_key.key_version; in vb2_load_fw_keyblock()
|
/external/vboot_reference/tests/ |
D | vboot_common_tests.c | 158 k[2].key_version = 67; in PublicKeyTest() 164 TEST_EQ(k->key_version, 0, "PublicKeyInit key_version"); in PublicKeyTest() 168 k->key_version = 21; in PublicKeyTest() 184 TEST_EQ(k->key_version, j->key_version, "PublicKeyCopy key_version"); in PublicKeyTest()
|
D | vb20_misc_tests.c | 99 kb->data_key.key_version = 2; in reset_common_data() 197 TEST_EQ(k->key_version, 2, "data key version"); in verify_keyblock_tests() 259 kb->data_key.key_version = 0x10000; in verify_keyblock_tests() 265 kb->data_key.key_version = 1; in verify_keyblock_tests()
|
D | vboot_kernel_tests.c | 163 kbh.data_key.key_version = 2; in ResetMocks() 664 kbh.data_key.key_version = 1; in LoadKernelTest() 669 kbh.data_key.key_version = 0x10000; in LoadKernelTest() 674 kbh.data_key.key_version = 3; in LoadKernelTest() 679 kbh.data_key.key_version = 3; in LoadKernelTest() 687 kbh.data_key.key_version = 1; in LoadKernelTest() 692 kbh.data_key.key_version = 1; in LoadKernelTest()
|
D | vb21_misc_tests.c | 106 dk->key_version = 2; in reset_common_data() 205 TEST_EQ(k->key_version, 2, "data key version"); in load_keyblock_tests() 267 dk->key_version = 0x10000; in load_keyblock_tests() 273 dk->key_version = 1; in load_keyblock_tests()
|
D | vboot_firmware_tests.c | 63 vblock[i].data_key.key_version = 2; in ResetMocks() 254 vblock[1].data_key.key_version = 1; /* Simulate rollback */ in LoadFirmwareTest() 268 vblock[0].data_key.key_version = 0x10003; /* Version > 0xFFFF is invalid */ in LoadFirmwareTest() 281 vblock[0].data_key.key_version = 1; /* Simulate rollback */ in LoadFirmwareTest()
|
D | vb21_host_key_tests.c | 224 TEST_EQ(pkey->key_version, key->version, " version"); in public_key_tests()
|
/external/vboot_reference/scripts/keygeneration/ |
D | common.sh | 60 local key_version=${3:-1} 63 echo "creating $base keypair (version = $key_version)..." 77 --version "${key_version}" \
|
D | keyset_version_check.sh | 33 key_version() { function
|
/external/vboot_reference/firmware/lib21/ |
D | misc.c | 118 if (packed_key->key_version > 0xffff) in vb2_load_fw_keyblock() 120 if (!rv && packed_key->key_version < (sd->fw_version_secdata >> 16)) in vb2_load_fw_keyblock() 127 sd->fw_version = packed_key->key_version << 16; in vb2_load_fw_keyblock()
|
D | packed_key.c | 97 key->version = pkey->key_version; in vb2_unpack_key()
|
/external/vboot_reference/host/lib/ |
D | host_key.c | 154 key->key_version = version; in PublicKeyAlloc() 213 if (key->key_version > 0xFFFF) { in PublicKeyLooksOkay()
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_firmware.c | 234 printf(" Data key version: %" PRIu64 "\n", data_key->key_version); in Verify() 267 kernel_subkey->key_version); in Verify()
|
D | vb1_helper.c | 528 printf(" Data key version: %" PRIu64 "\n", data_key->key_version); in VerifyKernelBlob() 550 if (data_key->key_version < (min_version >> 16)) { in VerifyKernelBlob() 553 data_key->key_version, (min_version >> 16)); in VerifyKernelBlob()
|
D | cmd_show.c | 52 printf("%sKey Version: %" PRIu64 "\n", sp, pubkey->key_version); in show_key() 86 printf(" Data key version: %" PRIu64 "\n", data_key->key_version); in show_keyblock() 359 kernel_subkey->key_version); in futil_cb_show_fw_preamble()
|
D | cmd_vbutil_key.c | 122 printf("Key Version: %" PRIu64 "\n", pubkey->key_version); in Unpack()
|
D | cmd_vbutil_keyblock.c | 206 printf("Data key version: %" PRIu64 "\n", data_key->key_version); in Unpack()
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 35 uint32_t key_version; member
|
/external/vboot_reference/firmware/lib21/include/ |
D | vb2_struct.h | 138 uint32_t key_version; member
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 22 uint64_t key_version; member
|
/external/vboot_reference/host/lib21/ |
D | host_key.c | 484 key.key_version = pubk->version; in vb2_public_key_pack()
|