Searched refs:mpreamble (Results 1 – 1 of 1) sorted by relevance
25 static VbFirmwarePreambleHeader mpreamble[2]; variable59 Memset(mpreamble, 0, sizeof(mpreamble)); in ResetMocks()66 (uint8_t*)(mpreamble + i) - (uint8_t*)(vblock + i); in ResetMocks()68 mpreamble[i].header_version_minor = 1; /* Supports preamble flags */ in ResetMocks()69 mpreamble[i].firmware_version = 4; in ResetMocks()71 PublicKeyInit(&mpreamble[i].kernel_subkey, in ResetMocks()72 (uint8_t*)&mpreamble[i].body_signature, 20); in ResetMocks()73 mpreamble[i].kernel_subkey.algorithm = 7 + i; in ResetMocks()74 mpreamble[i].body_signature.data_size = 20000 + 1000 * i; in ResetMocks()126 TEST_NEQ(preamble==mpreamble || preamble==mpreamble+1, 0, in VerifyFirmwarePreamble()[all …]