Lines Matching refs:VbPublicKey
22 TEST_EQ(EXPECTED_VBPUBLICKEY_SIZE, sizeof(VbPublicKey), in StructPackingTest()
71 VbPublicKey k = {sizeof(k), 2, 3, 4}; in VerifyHelperFunctions()
79 VbPublicKey k = {123, 2, 3, 4}; in VerifyHelperFunctions()
116 VbPublicKey k = {sizeof(k), 128, 0, 0}; in VerifyHelperFunctions()
126 VbPublicKey k = {100, 4, 0, 0}; in VerifyHelperFunctions()
151 VbPublicKey k[3]; in PublicKeyTest()
152 VbPublicKey j[5]; in PublicKeyTest()
160 PublicKeyInit(k, (uint8_t*)(k + 1), 2 * sizeof(VbPublicKey)); in PublicKeyTest()
161 TEST_EQ(k->key_offset, sizeof(VbPublicKey), "PublicKeyInit key_offset"); in PublicKeyTest()
162 TEST_EQ(k->key_size, 2 * sizeof(VbPublicKey), "PublicKeyInit key_size"); in PublicKeyTest()
171 PublicKeyInit(j, (uint8_t*)(j + 1), 2 * sizeof(VbPublicKey) - 1); in PublicKeyTest()
175 PublicKeyInit(j, (uint8_t*)(j + 2), 2 * sizeof(VbPublicKey) + 1); in PublicKeyTest()
178 TEST_EQ(j->key_offset, 2 * sizeof(VbPublicKey), in PublicKeyTest()
181 TEST_EQ(k->key_size, 2 * sizeof(VbPublicKey), "PublicKeyCopy key_size"); in PublicKeyTest()