Refactor key and operation details.
Change-Id: I80267e6184955ecd98b08ceab91f4afd50c67614
diff --git a/google_keymaster_test.cpp b/google_keymaster_test.cpp
index 8507924..43945a9 100644
--- a/google_keymaster_test.cpp
+++ b/google_keymaster_test.cpp
@@ -330,7 +330,7 @@
EXPECT_TRUE(rsp.unenforced.GetTagValue(TAG_DSA_GENERATOR, &g));
EXPECT_TRUE(rsp.unenforced.GetTagValue(TAG_DSA_P, &p));
EXPECT_TRUE(rsp.unenforced.GetTagValue(TAG_DSA_Q, &q));
- EXPECT_EQ(64U, g.data_length);
+ EXPECT_TRUE(g.data_length >= 63 && g.data_length <= 64);
EXPECT_EQ(64U, p.data_length);
EXPECT_EQ(20U, q.data_length);
}