Lines Matching refs:preamble
87 VbFirmwarePreambleHeader *preamble;
143 /* Create preamble */
144 preamble = CreateFirmwarePreamble(version,
148 if (!preamble) {
149 VbExError("Error creating preamble.\n");
160 (1 != fwrite(preamble, preamble->preamble_size, 1, f)));
177 VbFirmwarePreambleHeader *preamble;
245 /* Verify preamble */
246 preamble = (VbFirmwarePreambleHeader *) (blob + now);
247 if (0 != VerifyFirmwarePreamble(preamble, blob_size - now, rsa)) {
248 VbExError("Error verifying preamble.\n");
251 now += preamble->preamble_size;
253 flags = VbGetFirmwarePreambleFlags(preamble);
256 preamble->preamble_size);
258 preamble->header_version_major, preamble->header_version_minor);
260 preamble->firmware_version);
261 kernel_subkey = &preamble->kernel_subkey;
272 preamble->body_signature.data_size);
284 VerifyData(fv_data, fv_size, &preamble->body_signature,