For golang/go#45557 Change-Id: I447530cc66896aef7a8d528ccb8d095b80e3cf47 GitHub-Last-Rev: 5f385ff46487ac318bd1147cdbbd26bb0ffd0426 GitHub-Pull-Request: golang/crypto#230 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/430797 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Meng Zhuo <mzh@golangcn.org> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
This package runs a set of the Wycheproof tests provided by https://github.com/google/wycheproof.
The JSON test files live in https://github.com/google/wycheproof/tree/master/testvectors and are being fetched and cached at a pinned version every time these tests are run. To change the version of the wycheproof repository that is being used for testing, update wycheproofModVer.
The structs for these tests are generated from the schemas provided in https://github.com/google/wycheproof/tree/master/schemas using https://github.com/a-h/generate.