/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()
|
/external/autotest/server/site_tests/firmware_UpdateFirmwareDataKeyVersion/files/ |
D | common.sh | 59 local key_version=${3:-1} 62 echo "creating $base keypair (version = $key_version)..." 76 --version "${key_version}" \
|
/external/autotest/server/site_tests/firmware_UpdateKernelSubkeyVersion/files/ |
D | common.sh | 59 local key_version=${3:-1} 62 echo "creating $base keypair (version = $key_version)..." 76 --version "${key_version}" \
|
/external/autotest/server/site_tests/firmware_UpdateKernelDataKeyVersion/files/ |
D | common.sh | 59 local key_version=${3:-1} 62 echo "creating $base keypair (version = $key_version)..." 76 --version "${key_version}" \
|
/external/avb/test/ |
D | avb_atx_validate_unittest.cc | 212 uint64_t key_version) override { in set_key_version() argument 213 ops_.set_key_version(rollback_index_location, key_version); in set_key_version() 342 metadata_.product_intermediate_key_certificate.signed_data.key_version); in TEST_F() 344 metadata_.product_signing_key_certificate.signed_data.key_version); in TEST_F() 478 metadata_.product_intermediate_key_certificate.signed_data.key_version ^= 1; in TEST_F() 510 metadata_.product_intermediate_key_certificate.signed_data.key_version + in TEST_F() 555 metadata_.product_signing_key_certificate.signed_data.key_version ^= 1; in TEST_F() 588 metadata_.product_signing_key_certificate.signed_data.key_version + in TEST_F() 774 .key_version ^= 1; in TEST_F() 813 .key_version + in TEST_F() [all …]
|
D | fake_avb_ops.h | 115 uint64_t key_version) = 0; 292 uint64_t key_version) override; 447 uint64_t key_version) override { in set_key_version() argument 448 ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
|
D | avb_atx_slot_verify_unittest.cc | 91 uint64_t key_version) override { in set_key_version() argument 93 return ops_.set_key_version(rollback_index_location, key_version); in set_key_version()
|
/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()
|
/external/avb/examples/things/ |
D | avb_atx_slot_verify.c | 62 uint64_t key_version) { in save_key_version_to_context() argument 67 context->key_version_value[offset] = key_version; in save_key_version_to_context()
|
/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 109 if (certificate->signed_data.key_version < minimum_key_version) { in verify_certificate() 279 metadata.product_intermediate_key_certificate.signed_data.key_version); in avb_atx_validate_vbmeta_public_key() 283 metadata.product_signing_key_certificate.signed_data.key_version); in avb_atx_validate_vbmeta_public_key()
|
D | avb_atx_ops.h | 68 uint64_t key_version);
|
D | avb_atx_types.h | 61 uint64_t key_version; member
|
/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()
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 35 uint32_t key_version; member
|