Ignore new fields in forthcoming Wycheproof tests.

Change-Id: I95dd20bb71c18cecd4cae72bcdbd708ee5e92e77
Reviewed-on: https://boringssl-review.googlesource.com/c/34284
Commit-Queue: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
Adam Langley 2019-01-14 13:50:02 -08:00 committed by CQ bot account: commit-bot@chromium.org
parent 5349ddb747
commit 3eac8b7708

View File

@ -432,9 +432,19 @@ static void RunWycheproofTest(const char *path) {
t->IgnoreInstruction("keysize"); t->IgnoreInstruction("keysize");
t->IgnoreInstruction("n"); t->IgnoreInstruction("n");
t->IgnoreAttribute("padding"); t->IgnoreAttribute("padding");
t->IgnoreInstruction("keyJwk.alg");
t->IgnoreInstruction("keyJwk.e");
t->IgnoreInstruction("keyJwk.kid");
t->IgnoreInstruction("keyJwk.kty");
t->IgnoreInstruction("keyJwk.n");
// Extra EdDSA fields. // Extra EdDSA fields.
t->IgnoreInstruction("key.pk"); t->IgnoreInstruction("key.pk");
t->IgnoreInstruction("key.sk"); t->IgnoreInstruction("key.sk");
t->IgnoreInstruction("jwk.crv");
t->IgnoreInstruction("jwk.d");
t->IgnoreInstruction("jwk.kid");
t->IgnoreInstruction("jwk.kty");
t->IgnoreInstruction("jwk.x");
// Extra DSA fields. // Extra DSA fields.
t->IgnoreInstruction("key.g"); t->IgnoreInstruction("key.g");
t->IgnoreInstruction("key.p"); t->IgnoreInstruction("key.p");