/external/vboot_reference/futility/ |
D | cmd_vbutil_firmware.c | 85 VbPublicKey *kernel_subkey; in Vblock() local 122 kernel_subkey = PublicKeyRead(kernelkey_file); in Vblock() 123 if (!kernel_subkey) { in Vblock() 145 kernel_subkey, in Vblock() 180 VbPublicKey *kernel_subkey; in Verify() local 261 kernel_subkey = &preamble->kernel_subkey; in Verify() 263 kernel_subkey->algorithm, in Verify() 264 (kernel_subkey->algorithm < kNumAlgorithms ? in Verify() 265 algo_strings[kernel_subkey->algorithm] : "(invalid)")); in Verify() 267 kernel_subkey->key_version); in Verify() [all …]
|
D | cmd_sign.c | 41 VbPublicKey *kernel_subkey; member 348 option.kernel_subkey, in futil_cb_sign_raw_firmware() 395 option.kernel_subkey, in write_new_preamble() 733 option.kernel_subkey = PublicKeyRead(optarg); in do_sign() 734 if (!option.kernel_subkey) { in do_sign() 911 else if (option.kernel_subkey || option.fv_specified) in do_sign() 964 errorcnt += no_opt_if(!option.kernel_subkey, "kernelkey"); in do_sign() 975 errorcnt += no_opt_if(!option.kernel_subkey, "kernelkey"); in do_sign() 1072 if (option.kernel_subkey) in do_sign() 1073 free(option.kernel_subkey); in do_sign()
|
D | cmd_show.c | 351 VbPublicKey *kernel_subkey = &preamble->kernel_subkey; in futil_cb_show_fw_preamble() local 353 kernel_subkey->algorithm, in futil_cb_show_fw_preamble() 354 (kernel_subkey->algorithm < kNumAlgorithms ? in futil_cb_show_fw_preamble() 355 algo_strings[kernel_subkey->algorithm] : "(invalid)")); in futil_cb_show_fw_preamble() 356 if (kernel_subkey->algorithm >= kNumAlgorithms) in futil_cb_show_fw_preamble() 359 kernel_subkey->key_version); in futil_cb_show_fw_preamble() 361 PrintPubKeySha1Sum(kernel_subkey); in futil_cb_show_fw_preamble()
|
/external/vboot_reference/host/lib/ |
D | host_common.c | 19 const VbPublicKey *kernel_subkey, in CreateFirmwarePreamble() argument 26 kernel_subkey->key_size + in CreateFirmwarePreamble() 41 body_sig_dest = kernel_subkey_dest + kernel_subkey->key_size; in CreateFirmwarePreamble() 51 PublicKeyInit(&h->kernel_subkey, kernel_subkey_dest, in CreateFirmwarePreamble() 52 kernel_subkey->key_size); in CreateFirmwarePreamble() 53 PublicKeyCopy(&h->kernel_subkey, kernel_subkey); in CreateFirmwarePreamble()
|
/external/vboot_reference/tests/futility/ |
D | test_show_kernel.sh | 31 --signprivate ${DEVKEYS}/kernel_subkey.vbprivk 48 --publickey ${DEVKEYS}/kernel_subkey.vbpubk \ 57 --publickey ${DEVKEYS}/kernel_subkey.vbpubk \ 68 --publickey ${DEVKEYS}/kernel_subkey.vbpubk \
|
D | test_sign_kernel.sh | 83 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify3 98 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify4 119 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify5 187 --publickey ${DEVKEYS}/kernel_subkey.vbpubk \ 212 --publickey ${DEVKEYS}/kernel_subkey.vbpubk \ 245 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify6.old 263 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify6.new1 288 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify6.new2
|
D | test_sign_fw_main.sh | 23 --kernelkey ${KEYDIR}/kernel_subkey.vbpubk \ 35 --kernelkey ${KEYDIR}/kernel_subkey.vbpubk \
|
D | test_sign_firmware.sh | 81 -k ${KEYDIR}/kernel_subkey.vbpubk \ 152 -k ${KEYDIR}/kernel_subkey.vbpubk \ 170 -k ${KEYDIR}/kernel_subkey.vbpubk \
|
D | test_show_vs_verify.sh | 59 --publickey ${DEVKEYS}/kernel_subkey.vbpubk 67 --publickey ${DEVKEYS}/kernel_subkey.vbpubk ; then false ; fi
|
/external/vboot_reference/tests/ |
D | load_kernel_tests.sh | 38 --signprivate ${SCRIPT_DIR}/devkeys/kernel_subkey.vbprivk 56 --signpubkey ${SCRIPT_DIR}/devkeys/kernel_subkey.vbpubk 73 ${SCRIPT_DIR}/devkeys/kernel_subkey.vbpubk
|
D | vboot_firmware_tests.c | 71 PublicKeyInit(&mpreamble[i].kernel_subkey, in ResetMocks() 73 mpreamble[i].kernel_subkey.algorithm = 7 + i; in ResetMocks() 345 TEST_EQ(shared->kernel_subkey.algorithm, 7, "Copy kernel subkey"); in LoadFirmwareTest() 358 TEST_EQ(shared->kernel_subkey.algorithm, 7, "Copy kernel subkey"); in LoadFirmwareTest() 370 TEST_EQ(shared->kernel_subkey.algorithm, 8, "Copy kernel subkey"); in LoadFirmwareTest() 388 TEST_EQ(shared->kernel_subkey.algorithm, 7, "Copy kernel subkey"); in LoadFirmwareTest() 438 mpreamble[0].kernel_subkey.key_size = VB_SHARED_DATA_MIN_SIZE + 1; in LoadFirmwareTest()
|
D | vboot_common3_tests.c | 168 const VbPublicKey *kernel_subkey) in VerifyFirmwarePreambleTest() argument 179 hdr = CreateFirmwarePreamble(0x1234, kernel_subkey, body_sig, in VerifyFirmwarePreambleTest() 235 GetPublicKeyData(&h->kernel_subkey)[0] ^= 0x34; in VerifyFirmwarePreambleTest() 242 h->kernel_subkey.key_offset = 0; in VerifyFirmwarePreambleTest() 243 h->kernel_subkey.key_size = 0; in VerifyFirmwarePreambleTest() 251 h->kernel_subkey.key_offset = hsize; in VerifyFirmwarePreambleTest()
|
D | vb20_common3_tests.c | 174 const VbPublicKey *kernel_subkey) in test_verify_fw_preamble() argument 194 CreateFirmwarePreamble(0x1234, kernel_subkey, body_sig, in test_verify_fw_preamble() 266 ((uint8_t *)vb2_packed_key_data(&h->kernel_subkey))[0] ^= 0x34; in test_verify_fw_preamble() 274 h->kernel_subkey.key_offset = 0; in test_verify_fw_preamble() 275 h->kernel_subkey.key_size = 0; in test_verify_fw_preamble() 284 h->kernel_subkey.key_offset = hsize; in test_verify_fw_preamble()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_kernel.c | 38 VbPublicKey* kernel_subkey = NULL; in LoadKernel() local 108 retval = VbGbbReadRecoveryKey(cparams, &kernel_subkey); in LoadKernel() 114 kernel_subkey = &shared->kernel_subkey; in LoadKernel() 194 kernel_subkey, 0)) { in LoadKernel() 219 kernel_subkey, 1)) { in LoadKernel() 542 VbExFree(kernel_subkey); in LoadKernel()
|
/external/vboot_reference/scripts/keygeneration/ |
D | increment_kernel_subkey.sh | 38 make_pair kernel_subkey ${KERNEL_SUBKEY_ALGOID} ${new_firm_ver} 39 make_keyblock kernel $KERNEL_KEYBLOCK_MODE kernel_data_key kernel_subkey
|
D | increment_kernel_subkey_and_key.sh | 42 make_pair kernel_subkey ${KERNEL_SUBKEY_ALGOID} ${new_firm_ver} 44 make_keyblock kernel ${KERNEL_KEYBLOCK_MODE} kernel_data_key kernel_subkey
|
D | create_new_keys.sh | 102 make_pair kernel_subkey ${KERNEL_SUBKEY_ALGOID} ${ksubkey_version} 125 make_keyblock kernel ${KERNEL_KEYBLOCK_MODE} kernel_data_key kernel_subkey
|
D | common.sh | 170 mv --no-clobber kernel_subkey.{vbprivk,"v${subkey_ver}.vbprivk"} 171 mv --no-clobber kernel_subkey.{vbpubk,"v${subkey_ver}.vbpubk"}
|
D | increment_kernel_data_key.sh | 39 make_keyblock kernel ${KERNEL_KEYBLOCK_MODE} kernel_data_key kernel_subkey
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 121 VbPublicKey kernel_subkey; member 163 VbPublicKey kernel_subkey; member 475 VbPublicKey kernel_subkey; member
|
/external/autotest/server/site_tests/firmware_UpdateKernelSubkeyVersion/files/ |
D | common.sh | 169 mv --no-clobber kernel_subkey.{vbprivk,"v${subkey_ver}.vbprivk"} 170 mv --no-clobber kernel_subkey.{vbpubk,"v${subkey_ver}.vbpubk"}
|
/external/autotest/server/site_tests/firmware_UpdateFirmwareDataKeyVersion/files/ |
D | common.sh | 169 mv --no-clobber kernel_subkey.{vbprivk,"v${subkey_ver}.vbprivk"} 170 mv --no-clobber kernel_subkey.{vbpubk,"v${subkey_ver}.vbpubk"}
|
/external/autotest/server/site_tests/firmware_UpdateKernelDataKeyVersion/files/ |
D | common.sh | 169 mv --no-clobber kernel_subkey.{vbprivk,"v${subkey_ver}.vbprivk"} 170 mv --no-clobber kernel_subkey.{vbpubk,"v${subkey_ver}.vbpubk"}
|
/external/vboot_reference/host/lib/include/ |
D | host_common.h | 35 const VbPublicKey *kernel_subkey,
|
/external/vboot_reference/firmware/lib20/include/ |
D | vb2_struct.h | 162 struct vb2_packed_key kernel_subkey; member
|