Home
last modified time | relevance | path

Searched refs:root_key (Results 1 – 16 of 16) sorted by relevance

/external/vboot_reference/tests/futility/
Dtest_sign_firmware.sh89 m=$(${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk ${outfile} \
94 ${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk ${outfile} \
106 ${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk \
110 ${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk \
125 ${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk ${GOOD_OUT} \
133 ${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk ${MORE_OUT} \
155 m=$(${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk ${MORE_OUT}.2 \
173 m=$(${FUTILITY} verify --publickey ${KEYDIR}/root_key.vbpubk ${MORE_OUT}.3 \
Dtest_sign_keyblocks.sh22 --signprivate ${DEVKEYS}/root_key.vbprivk
26 --signpubkey ${DEVKEYS}/root_key.vbpubk
36 --signprivate ${DEVKEYS}/root_key.vbprivk \
Dtest_sign_fw_main.sh28 --signpubkey ${KEYDIR}/root_key.vbpubk \
Dtest_show_vs_verify.sh25 --publickey ${DEVKEYS}/root_key.vbpubk
/external/libweave/third_party/libuweave/src/
Dmacaroon.c51 static bool verify_mac_tag_(const uint8_t* root_key, in verify_mac_tag_() argument
57 if (root_key == NULL || root_key_len == 0 || context == NULL || in verify_mac_tag_()
63 if (!create_mac_tag_(root_key, root_key_len, context, caveats, num_caveats, in verify_mac_tag_()
72 const uint8_t* root_key, in uw_macaroon_create_from_root_key_() argument
77 if (new_macaroon == NULL || root_key == NULL || context == NULL || in uw_macaroon_create_from_root_key_()
82 if (!create_mac_tag_(root_key, root_key_len, context, caveats, num_caveats, in uw_macaroon_create_from_root_key_()
156 const uint8_t* root_key, in uw_macaroon_validate_() argument
165 if (root_key == NULL || root_key_len == 0 || macaroon == NULL || in uw_macaroon_validate_()
167 !verify_mac_tag_(root_key, root_key_len, context, macaroon->caveats, in uw_macaroon_validate_()
Dmacaroon.h55 const uint8_t* root_key,
76 const uint8_t* root_key,
/external/vboot_reference/
DREADME101 $ openssl genrsa -F4 -out root_key.pem 8192
116 $ openssl req -batch -new -x509 -key root_key.pem -out root_key.crt
118 $ dumpRSAPublicKey root_key.crt > root_key.keyb
134 --root_key root_key.pem \
156 --root_key_pub root_key.keyb
162 root_key.keyb can be stored in RW part of the firmware. For the
/external/webrtc/webrtc/base/
Dwin32regkey.cc890 std::wstring root_key; in GetRootKeyInfo() local
893 root_key = *full_key_name; in GetRootKeyInfo()
896 root_key = full_key_name->substr(0, index); in GetRootKeyInfo()
901 for (std::wstring::iterator iter = root_key.begin(); in GetRootKeyInfo()
902 iter != root_key.end(); ++iter) { in GetRootKeyInfo()
906 if (!root_key.compare(L"HKLM") || in GetRootKeyInfo()
907 !root_key.compare(L"HKEY_LOCAL_MACHINE")) { in GetRootKeyInfo()
909 } else if (!root_key.compare(L"HKCU") || in GetRootKeyInfo()
910 !root_key.compare(L"HKEY_CURRENT_USER")) { in GetRootKeyInfo()
912 } else if (!root_key.compare(L"HKU") || in GetRootKeyInfo()
[all …]
/external/vboot_reference/scripts/keygeneration/
Dcreate_new_keys.sh97 make_pair root_key ${root_key_algoid}
112 make_keyblock firmware ${FIRMWARE_KEYBLOCK_MODE} firmware_data_key root_key
118 make_keyblock dev_firmware ${DEV_FIRMWARE_KEYBLOCK_MODE} dev_firmware_data_key root_key
Dincrement_firmware_data_key.sh39 make_keyblock firmware ${FIRMWARE_KEYBLOCK_MODE} firmware_data_key root_key
/external/vboot_reference/firmware/lib/
Dvboot_firmware.c47 VbPublicKey *root_key = NULL; in LoadFirmware() local
66 retval = VbGbbReadRootKey(cparams, &root_key); in LoadFirmware()
137 root_key, 0))) { in LoadFirmware()
349 VbExFree(root_key); in LoadFirmware()
/external/dbus/dbus/
Ddbus-sysdeps-wince-glue.c65 HKEY root_key; in get_verbose_setting() local
74 root_key = HKEY_LOCAL_MACHINE; in get_verbose_setting()
75 if (RegOpenKeyExW (root_key, dir, 0, KEY_READ, &key_handle)) in get_verbose_setting()
140 HKEY root_key, key_handle; in read_w32_registry_string() local
145 root_key = HKEY_CURRENT_USER; in read_w32_registry_string()
147 root_key = HKEY_CLASSES_ROOT; in read_w32_registry_string()
149 root_key = HKEY_CURRENT_USER; in read_w32_registry_string()
151 root_key = HKEY_LOCAL_MACHINE; in read_w32_registry_string()
153 root_key = HKEY_USERS; in read_w32_registry_string()
157 if (RegOpenKeyExA (root_key, dir, 0, KEY_READ, &key_handle)) in read_w32_registry_string()
/external/vboot_reference/firmware/lib21/
Dmisc.c73 struct vb2_public_key root_key; in vb2_load_fw_keyblock() local
92 rv = vb2_unpack_key(&root_key, key_data, key_size); in vb2_load_fw_keyblock()
106 rv = vb2_verify_keyblock(kb, kb->c.total_size, &root_key, &wb); in vb2_load_fw_keyblock()
/external/vboot_reference/firmware/lib20/
Dmisc.c25 struct vb2_public_key root_key; in vb2_load_fw_keyblock() local
46 rv = vb2_unpack_key(&root_key, key_data, key_size); in vb2_load_fw_keyblock()
76 rv = vb2_verify_keyblock(kb, block_size, &root_key, &wb); in vb2_load_fw_keyblock()
/external/vboot_reference/tests/
Dvboot_firmware_tests.c42 VbPublicKey *root_key; in ResetMocks() local
86 root_key = (VbPublicKey *)(gbb_data + gbb->rootkey_offset); in ResetMocks()
87 root_key_data = (uint8_t *)(root_key + 1); in ResetMocks()
89 PublicKeyInit(root_key, (uint8_t *)root_key_data, sizeof(TEST_KEY_DATA)); in ResetMocks()
Dgen_fuzz_test_cases.sh51 cp ${TESTKEY_DIR}/key_rsa8192.sha512.vbpubk ${TESTCASE_DIR}/root_key.vbpubk