Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-05-10 05:46:47 +0300
committerAdam Langley <agl@google.com>2015-05-12 00:34:42 +0300
commit06b94de820126db70c7a953817308ca2244beaf6 (patch)
treeb031aa879f42d815fe9f21309b8746bb0d749b8a /util
parent6a08da2cf8c4bb506ccc97a0b702788555348435 (diff)
Add file-based test framework and convert hmac_test.
This adds a file-based test framework to crypto/test. It knows how to parse formats similar to either upstream's evp_test and our aead_test. hmac_test has been converted to that with tests from upstream's evp_test. Upstream tests it against the deprecated EVP_PKEY_HMAC API, which will be tested by running evp_test against the same input file, to avoid having to duplicate the test vectors. hmac_test runs those same inputs against the supported HMAC_CTX APIs. Change-Id: I9d2b6adb9be519760d1db282b9d43efd6f9adffb Reviewed-on: https://boringssl-review.googlesource.com/4701 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/all_tests.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/all_tests.go b/util/all_tests.go
index 3cd5798b..90aa4241 100644
--- a/util/all_tests.go
+++ b/util/all_tests.go
@@ -77,7 +77,7 @@ var tests = []test{
{"crypto/evp/evp_test"},
{"crypto/evp/pbkdf_test"},
{"crypto/hkdf/hkdf_test"},
- {"crypto/hmac/hmac_test"},
+ {"crypto/hmac/hmac_test", "crypto/hmac/hmac_tests.txt"},
{"crypto/lhash/lhash_test"},
{"crypto/modes/gcm_test"},
{"crypto/pkcs8/pkcs12_test"},