Searched refs:key_block_size (Results 1 – 17 of 17) sorted by relevance
/external/vboot_reference/futility/ |
D | vb1_helper.c | 312 Debug("Keyblock is 0x%" PRIx64 " bytes\n", keyblock->key_block_size); in UnpackKPart() 313 now += keyblock->key_block_size; in UnpackKPart() 405 uint64_t min_size = padding > keyblock->key_block_size in SignKernelBlob() 406 ? padding - keyblock->key_block_size : 0; in SignKernelBlob() 433 outsize = keyblock->key_block_size + preamble->preamble_size; in SignKernelBlob() 436 Memcpy(outbuf, keyblock, keyblock->key_block_size); in SignKernelBlob() 437 Memcpy(outbuf + keyblock->key_block_size, in SignKernelBlob() 502 if (0 != KeyBlockVerify(g_keyblock, g_keyblock->key_block_size, in VerifyKernelBlob() 513 g_keyblock->key_block_size); in VerifyKernelBlob() 541 if (1 != fwrite(g_keyblock, g_keyblock->key_block_size, 1, f)) { in VerifyKernelBlob() [all …]
|
D | cmd_vbutil_firmware.c | 89 uint64_t key_block_size; in Vblock() local 110 (VbKeyBlockHeader *) ReadFile(keyblock_file, &key_block_size); in Vblock() 159 i = ((1 != fwrite(key_block, key_block_size, 1, f)) || in Vblock() 222 now += key_block->key_block_size; in Verify() 227 key_block->key_block_size); in Verify()
|
D | dump_kernel_config_lib.c | 85 ssize_t to_skip = key_block.key_block_size - sizeof(key_block); in FindKernelConfigFromStream() 90 now += key_block.key_block_size; in FindKernelConfigFromStream()
|
D | cmd_sign.c | 117 vblock, vblock->key_block_size, in futil_cb_sign_pubkey() 162 uint32_t more = key_block->key_block_size; in futil_cb_sign_fw_vblock() 359 option.keyblock, option.keyblock->key_block_size, in futil_cb_sign_raw_firmware() 406 uint32_t more = keyblock->key_block_size; in write_new_preamble()
|
D | cmd_show.c | 68 key_block->key_block_size); in show_keyblock() 333 uint32_t more = key_block->key_block_size; in futil_cb_show_fw_preamble() 446 uint32_t more = key_block->key_block_size; in futil_cb_show_kernel_preamble()
|
D | cmd_vbutil_keyblock.c | 181 KeyBlockVerify(block, block->key_block_size, sign_key, 0)) { in Unpack()
|
D | cmd_vbutil_kernel.c | 619 keyblock->key_block_size + in do_vbutil_kernel()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 205 if (size < block->key_block_size) { in KeyBlockVerify() 227 if (VerifySignatureInside(block, block->key_block_size, sig)) { in KeyBlockVerify() 237 if (block->key_block_size < sig->data_size) { in KeyBlockVerify() 260 if (VerifySignatureInside(block, block->key_block_size, sig)) { in KeyBlockVerify() 272 if (block->key_block_size < sig->data_size) { in KeyBlockVerify() 294 if (VerifyPublicKeyInside(block, block->key_block_size, in KeyBlockVerify()
|
D | vboot_kernel.c | 281 (kbuf + key_block->key_block_size); in LoadKernel() 284 KBUF_SIZE - key_block->key_block_size, in LoadKernel() 336 body_offset = key_block->key_block_size + in LoadKernel()
|
D | vboot_firmware.c | 173 ((uint8_t *)key_block + key_block->key_block_size); in LoadFirmware() 176 vblock_size - key_block->key_block_size, in LoadFirmware()
|
/external/vboot_reference/host/lib/ |
D | host_keyblock.c | 40 h->key_block_size = block_size; in KeyBlockCreate() 103 h->key_block_size = block_size; in KeyBlockCreate_external() 162 if (0 != WriteFile(filename, key_block, key_block->key_block_size)) { in KeyBlockWrite()
|
D | extract_vmlinuz.c | 27 now += keyblock->key_block_size; in ExtractVmlinuz() 58 keyblock->key_block_size + in ExtractVmlinuz()
|
/external/boringssl/src/ssl/ |
D | t1_enc.cc | 202 const size_t key_block_size = 2 * (mac_secret_len + key_len + iv_len); in tls1_configure_aead() local 204 if (!key_block_cache->Init(key_block_size) || in tls1_configure_aead() 205 !SSL_generate_key_block(ssl, key_block_cache->data(), key_block_size)) { in tls1_configure_aead() 209 assert(key_block_cache->size() == key_block_size); in tls1_configure_aead()
|
/external/vboot_reference/tests/ |
D | vboot_common3_tests.c | 42 hsize = (unsigned) hdr->key_block_size; in KeyBlockVerifyTest() 124 h->key_block_checksum.data_size = h->key_block_size + 1; in KeyBlockVerifyTest()
|
D | vboot_kernel_tests.c | 165 kbh.key_block_size = sizeof(kbh); in ResetMocks() 169 kph.preamble_size = 4096 - kbh.key_block_size; in ResetMocks()
|
D | vboot_firmware_tests.c | 65 vblock[i].key_block_size = in ResetMocks()
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 73 uint64_t key_block_size; member
|