/external/vboot_reference/firmware/lib20/ |
misc.c | 83 if (kb->data_key.key_version > 0xffff) 85 if (!rv && kb->data_key.key_version < (sd->fw_version_secdata >> 16)) 92 sd->fw_version = kb->data_key.key_version << 16; 102 packed_key->key_version = kb->data_key.key_version;
|
/external/vboot_reference/firmware/lib/ |
vboot_firmware.c | 96 uint64_t key_version; local 144 key_version = key_block->data_key.key_version; 146 if (key_version < (shared->fw_version_tpm >> 16)) { 151 if (key_version > 0xFFFF) { 185 combined_version = (uint32_t)((key_version << 16) |
|
vboot_kernel.c | 149 uint64_t key_version; local 244 key_version = key_block->data_key.key_version; 246 if (key_version < (shared->kernel_version_tpm >> 16)) { 252 if (key_version > 0xFFFF) { 296 (key_version << 16) |
|
vboot_common.c | 108 key->key_version = 0; 118 dest->key_version = src->key_version;
|
/external/vboot_reference/tests/ |
vboot_common_tests.c | 158 k[2].key_version = 67; 164 TEST_EQ(k->key_version, 0, "PublicKeyInit key_version"); 168 k->key_version = 21; 184 TEST_EQ(k->key_version, j->key_version, "PublicKeyCopy key_version");
|
vb20_misc_tests.c | 99 kb->data_key.key_version = 2; 197 TEST_EQ(k->key_version, 2, "data key version"); 259 kb->data_key.key_version = 0x10000; 265 kb->data_key.key_version = 1;
|
vb21_misc_tests.c | 106 dk->key_version = 2; 205 TEST_EQ(k->key_version, 2, "data key version"); 267 dk->key_version = 0x10000; 273 dk->key_version = 1;
|
vboot_kernel_tests.c | 163 kbh.data_key.key_version = 2; 664 kbh.data_key.key_version = 1; 669 kbh.data_key.key_version = 0x10000; 674 kbh.data_key.key_version = 3; 679 kbh.data_key.key_version = 3; 687 kbh.data_key.key_version = 1; 692 kbh.data_key.key_version = 1;
|
vboot_firmware_tests.c | 63 vblock[i].data_key.key_version = 2; 254 vblock[1].data_key.key_version = 1; /* Simulate rollback */ 268 vblock[0].data_key.key_version = 0x10003; /* Version > 0xFFFF is invalid */ 281 vblock[0].data_key.key_version = 1; /* Simulate rollback */
|
/external/autotest/server/site_tests/firmware_UpdateFirmwareDataKeyVersion/files/ |
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/ |
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/ |
common.sh | 59 local key_version=${3:-1} 62 echo "creating $base keypair (version = $key_version)..." 76 --version "${key_version}" \
|
/external/vboot_reference/firmware/lib21/ |
misc.c | 118 if (packed_key->key_version > 0xffff) 120 if (!rv && packed_key->key_version < (sd->fw_version_secdata >> 16)) 127 sd->fw_version = packed_key->key_version << 16;
|
packed_key.c | 97 key->version = pkey->key_version;
|
/external/vboot_reference/scripts/keygeneration/ |
common.sh | 60 local key_version=${3:-1} 63 echo "creating $base keypair (version = $key_version)..." 77 --version "${key_version}" \
|
keyset_version_check.sh | 33 key_version() { function 66 local got_fkey="$(key_version ${KEY_DIR}/firmware_data_key.vbpubk)" 69 local got_ksubkey="$(key_version ${KEY_DIR}/kernel_subkey.vbpubk)" 70 local got_kdatakey="$(key_version ${KEY_DIR}/kernel_data_key.vbpubk)"
|
/external/vboot_reference/firmware/lib20/include/ |
vb2_struct.h | 35 uint32_t key_version; member in struct:vb2_packed_key
|
/external/vboot_reference/firmware/lib21/include/ |
vb2_struct.h | 138 uint32_t key_version; member in struct:vb2_packed_key
|
/external/vboot_reference/futility/ |
cmd_vbutil_firmware.c | 234 printf(" Data key version: %" PRIu64 "\n", data_key->key_version); 267 kernel_subkey->key_version);
|
cmd_vbutil_key.c | 122 printf("Key Version: %" PRIu64 "\n", pubkey->key_version);
|
cmd_show.c | 52 printf("%sKey Version: %" PRIu64 "\n", sp, pubkey->key_version); 86 printf(" Data key version: %" PRIu64 "\n", data_key->key_version); 359 kernel_subkey->key_version);
|
vb1_helper.c | 528 printf(" Data key version: %" PRIu64 "\n", data_key->key_version); 550 if (data_key->key_version < (min_version >> 16)) { 553 data_key->key_version, (min_version >> 16));
|
cmd_vbutil_keyblock.c | 206 printf("Data key version: %" PRIu64 "\n", data_key->key_version);
|
/external/vboot_reference/host/lib/ |
host_key.c | 154 key->key_version = version; 213 if (key->key_version > 0xFFFF) {
|
/external/vboot_reference/firmware/include/ |
vboot_struct.h | 22 uint64_t key_version; member in struct:VbPublicKey
|