Lines Matching refs:gbb
125 struct vb2_gbb_header gbb = { in gbb_tests() local
145 mock_resource_ptr = &gbb; in gbb_tests()
146 mock_resource_size = sizeof(gbb); in gbb_tests()
148 TEST_SUCC(memcmp(&gbb, &gbbdest, sizeof(gbb)), "read gbb contents"); in gbb_tests()
155 gbb.signature[0]++; in gbb_tests()
158 gbb.signature[0]--; in gbb_tests()
160 gbb.major_version = VB2_GBB_MAJOR_VER + 1; in gbb_tests()
163 gbb.major_version = VB2_GBB_MAJOR_VER; in gbb_tests()
165 gbb.minor_version = VB2_GBB_MINOR_VER + 1; in gbb_tests()
168 gbb.minor_version = 1; in gbb_tests()
171 gbb.minor_version = 0; in gbb_tests()
174 gbb.minor_version = VB2_GBB_MINOR_VER; in gbb_tests()
176 gbb.header_size--; in gbb_tests()
181 gbb.header_size++; in gbb_tests()
185 TEST_EQ(sd->gbb_flags, gbb.flags, "gbb flags"); in gbb_tests()
186 TEST_EQ(sd->gbb_rootkey_offset, gbb.rootkey_offset, "rootkey offset"); in gbb_tests()
187 TEST_EQ(sd->gbb_rootkey_size, gbb.rootkey_size, "rootkey size"); in gbb_tests()