mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 19:07:31 +09:00
Replace NSS with Pale Moon's
This commit is contained in:
parent
ff1e5e48bf
commit
8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions
|
|
@ -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());
|
||||
|
|
@ -49,7 +49,7 @@ TEST_P(GHashTest, KAT_X86_HW) { TestGHash(GetParam(), false); }
|
|||
#endif
|
||||
TEST_P(GHashTest, KAT_Sftw) { TestGHash(GetParam(), true); }
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(NISTTestVector, GHashTest,
|
||||
::testing::ValuesIn(kGcmKatValues));
|
||||
INSTANTIATE_TEST_SUITE_P(NISTTestVector, GHashTest,
|
||||
::testing::ValuesIn(kGcmKatValues));
|
||||
|
||||
} // nss_test
|
||||
} // namespace nss_test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue