/external/vboot_reference/host/lib/include/ |
H A D | host_key.h | 44 VbPublicKey* PublicKeyAlloc(uint64_t key_size, uint64_t algorithm, 52 VbPublicKey* PublicKeyRead(const char* filename); 55 int PublicKeyLooksOkay(VbPublicKey *key, uint64_t file_size); 61 VbPublicKey* PublicKeyReadKeyb(const char* filename, uint64_t algorithm, 66 int PublicKeyWrite(const char* filename, const VbPublicKey* key);
|
H A D | util_misc.h | 14 /* Prints the sha1sum of the given VbPublicKey to stdout. */ 15 void PrintPubKeySha1Sum(VbPublicKey* key); 19 * but also the part of VbPublicKey and struct vb2_packed_key that is
|
H A D | host_keyblock.h | 21 VbKeyBlockHeader* KeyBlockCreate_external(const VbPublicKey* data_key, 30 VbKeyBlockHeader* KeyBlockCreate(const VbPublicKey* data_key,
|
H A D | host_common.h | 35 const VbPublicKey *kernel_subkey,
|
/external/vboot_reference/firmware/lib/ |
H A D | region-fw.c | 21 VbPublicKey **keyp) 23 VbPublicKey hdr, *key; 28 sizeof(VbPublicKey), &hdr); 47 VbError_t VbGbbReadRootKey(VbCommonParams *cparams, VbPublicKey **keyp) 52 VbError_t VbGbbReadRecoveryKey(VbCommonParams *cparams, VbPublicKey **keyp)
|
H A D | vboot_common.c | 33 uint8_t *GetPublicKeyData(VbPublicKey *key) 38 const uint8_t *GetPublicKeyDataC(const VbPublicKey *key) 88 const VbPublicKey *key) 91 key, sizeof(VbPublicKey), 103 void PublicKeyInit(VbPublicKey *key, uint8_t *key_data, uint64_t key_size) 111 int PublicKeyCopy(VbPublicKey *dest, const VbPublicKey *src) 123 RSAPublicKey *PublicKeyToRSA(const VbPublicKey *key) 188 const VbPublicKey *key, int hash_only) 515 int VbSharedDataSetKernelKey(VbSharedDataHeader *header, const VbPublicKey *sr [all...] |
/external/vboot_reference/firmware/include/ |
H A D | gbb_access.h | 17 struct VbPublicKey; 39 struct VbPublicKey **keyp); 50 struct VbPublicKey **keyp);
|
H A D | vboot_struct.h | 14 typedef struct VbPublicKey { struct 23 } __attribute__((packed)) VbPublicKey; typedef in typeref:struct:VbPublicKey 87 VbPublicKey data_key; 121 VbPublicKey kernel_subkey; 163 VbPublicKey kernel_subkey; 475 VbPublicKey kernel_subkey;
|
/external/vboot_reference/firmware/lib/include/ |
H A D | vboot_common.h | 59 uint8_t *GetPublicKeyData(VbPublicKey *key); 60 const uint8_t *GetPublicKeyDataC(const VbPublicKey *key); 75 const VbPublicKey *key); 83 void PublicKeyInit(VbPublicKey *key, uint8_t *key_data, uint64_t key_size); 90 int PublicKeyCopy(VbPublicKey *dest, const VbPublicKey *src); 98 RSAPublicKey *PublicKeyToRSA(const VbPublicKey *key); 122 const VbPublicKey *key, int hash_only); 200 const VbPublicKey *src);
|
/external/vboot_reference/tests/ |
H A D | vboot_common_tests.c | 22 TEST_EQ(EXPECTED_VBPUBLICKEY_SIZE, sizeof(VbPublicKey), 23 "sizeof(VbPublicKey)"); 71 VbPublicKey k = {sizeof(k), 2, 3, 4}; 79 VbPublicKey k = {123, 2, 3, 4}; 116 VbPublicKey k = {sizeof(k), 128, 0, 0}; 126 VbPublicKey k = {100, 4, 0, 0}; 151 VbPublicKey k[3]; 152 VbPublicKey j[5]; 160 PublicKeyInit(k, (uint8_t*)(k + 1), 2 * sizeof(VbPublicKey)); 161 TEST_EQ(k->key_offset, sizeof(VbPublicKey), "PublicKeyIni [all...] |
H A D | vboot_common2_tests.c | 19 static void VerifyPublicKeyToRSA(const VbPublicKey *orig_key) 22 VbPublicKey *key = PublicKeyAlloc(orig_key->key_size, 0, 0); 43 static void VerifyDataTest(const VbPublicKey *public_key, 79 static void VerifyDigestTest(const VbPublicKey *public_key, 118 static void VerifyKernelPreambleTest(const VbPublicKey *public_key, 218 VbPublicKey *public_key = NULL;
|
H A D | vboot_common3_tests.c | 30 static void KeyBlockVerifyTest(const VbPublicKey *public_key, 32 const VbPublicKey *data_key) 166 static void VerifyFirmwarePreambleTest(const VbPublicKey *public_key, 168 const VbPublicKey *kernel_subkey) 285 VbPublicKey *signing_public_key = NULL; 286 VbPublicKey *data_public_key = NULL;
|
H A D | vb20_common3_tests.c | 32 static void test_verify_keyblock(const VbPublicKey *public_key, 34 const VbPublicKey *data_key) 172 static void test_verify_fw_preamble(const VbPublicKey *public_key, 174 const VbPublicKey *kernel_subkey) 311 VbPublicKey *signing_public_key = NULL; 312 VbPublicKey *data_public_key = NULL;
|
H A D | vboot_firmware_tests.c | 42 VbPublicKey *root_key; 86 root_key = (VbPublicKey *)(gbb_data + gbb->rootkey_offset); 107 const VbPublicKey *key, int hash_only) { 133 RSAPublicKey* PublicKeyToRSA(const VbPublicKey* key) {
|
H A D | verify_kernel.c | 63 VbPublicKey *kernkey;
|
/external/vboot_reference/host/lib/ |
H A D | host_key.c | 147 VbPublicKey* PublicKeyAlloc(uint64_t key_size, uint64_t algorithm, 149 VbPublicKey* key = (VbPublicKey*)malloc(sizeof(VbPublicKey) + key_size); 156 key->key_offset = sizeof(VbPublicKey); 160 VbPublicKey* PublicKeyReadKeyb(const char* filename, uint64_t algorithm, 162 VbPublicKey* key; 200 int PublicKeyLooksOkay(VbPublicKey *key, uint64_t file_size) 206 VBDEBUG(("PublicKeyRead() not a VbPublicKey\n")); 229 VbPublicKey* PublicKeyRea [all...] |
H A D | host_keyblock.c | 15 VbKeyBlockHeader* KeyBlockCreate(const VbPublicKey* data_key, 75 VbKeyBlockHeader* KeyBlockCreate_external(const VbPublicKey* data_key,
|
H A D | host_common.c | 19 const VbPublicKey *kernel_subkey,
|
H A D | util_misc.c | 21 void PrintPubKeySha1Sum(VbPublicKey *key)
|
/external/vboot_reference/futility/ |
H A D | cmd_show.c | 37 VbPublicKey *k; 47 static void show_key(VbPublicKey *pubkey, const char *sp) 81 VbPublicKey *data_key = &key_block->data_key; 94 VbPublicKey *pubkey = (VbPublicKey *)state->my_area->buf; 131 VbPublicKey *pubkey; 174 pubkey = (VbPublicKey *)(buf + gbb->rootkey_offset); 188 pubkey = (VbPublicKey *)(buf + gbb->recovery_key_offset); 228 VbPublicKey *sign_key = option.k; 280 VbPublicKey *sign_ke [all...] |
H A D | cmd_vbutil_firmware.c | 85 VbPublicKey *kernel_subkey; 178 VbPublicKey *data_key; 179 VbPublicKey *sign_key; 180 VbPublicKey *kernel_subkey;
|
H A D | vb1_helper.h | 38 VbPublicKey *signpub_key,
|
H A D | cmd_vbutil_key.c | 73 VbPublicKey *pubkey; 108 VbPublicKey *pubkey;
|
H A D | cmd_vbutil_keyblock.c | 85 VbPublicKey *data_key; 156 VbPublicKey *data_key; 157 VbPublicKey *sign_key = NULL;
|
H A D | vb1_helper.c | 492 VbPublicKey *signpub_key, 496 VbPublicKey *data_key; 721 VbPublicKey *pubkey = (VbPublicKey *)buf; 746 /* Maybe just a VbPublicKey? */
|