summaryrefslogtreecommitdiff
path: root/gtests/freebl_gtest
diff options
context:
space:
mode:
authorKevin Jacobs <kjacobs@mozilla.com>2020-01-16 21:42:56 +0000
committerKevin Jacobs <kjacobs@mozilla.com>2020-01-16 21:42:56 +0000
commit1d9fba9af57f097e333fcda14b0f207030972609 (patch)
treebbdf5736d5c293f71c9143b529eadee65b9b957a /gtests/freebl_gtest
parentec4c67acc49349c622d09d05c36c7ecda4c85e3c (diff)
downloadnss-hg-1d9fba9af57f097e333fcda14b0f207030972609.tar.gz
Bug 1604596 - Update Wycheproof vectors and add support for CBC, P256-ECDH, and CMAC tests r=franziskus
This patch updates to the latest Wycheproof vectors and adds Wycheproof support for CBC, CMAC, and P256-ECDH: ChaCha20: +141 tests Curve25519: +431 tests GCM: +39 tests CBC (new): +183 tests CMAC (new): +308 tests P256 ECDH (new): +460 tests Differential Revision: https://phabricator.services.mozilla.com/D57477
Diffstat (limited to 'gtests/freebl_gtest')
-rw-r--r--gtests/freebl_gtest/ghash_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtests/freebl_gtest/ghash_unittest.cc b/gtests/freebl_gtest/ghash_unittest.cc
index 327c2bcb3..36c0269dc 100644
--- a/gtests/freebl_gtest/ghash_unittest.cc
+++ b/gtests/freebl_gtest/ghash_unittest.cc
@@ -10,9 +10,9 @@
namespace nss_test {
-class GHashTest : public ::testing::TestWithParam<gcm_kat_value> {
+class GHashTest : public ::testing::TestWithParam<AesGcmKatValue> {
protected:
- void TestGHash(const gcm_kat_value val, bool sw) {
+ void TestGHash(const AesGcmKatValue val, bool sw) {
// Read test data.
std::vector<uint8_t> hash_key = hex_string_to_bytes(val.hash_key);
ASSERT_EQ(16UL, hash_key.size());