summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorJonas Allmann <jallmann@mozilla.com>2018-12-19 09:31:34 +0100
committerJonas Allmann <jallmann@mozilla.com>2018-12-19 09:31:34 +0100
commit3da9cb85b649f1b48bc01e9803c93172864eeafc (patch)
tree1123a993960d3fe897a4681597d28e9e28cc823d /mach
parent4d60355181f57fda9023c11cdb3ca0efe1668a78 (diff)
downloadnss-hg-3da9cb85b649f1b48bc01e9803c93172864eeafc.tar.gz
Bug 1514999 - Add wycheproof Curve25519 testcases to nss, r=franziskus
Differential Revision: https://phabricator.services.mozilla.com/D14843
Diffstat (limited to 'mach')
-rwxr-xr-xmach9
1 files changed, 0 insertions, 9 deletions
diff --git a/mach b/mach
index 49af1b90b..842c4fd86 100755
--- a/mach
+++ b/mach
@@ -214,21 +214,12 @@ class commandsAction(argparse.Action):
print(c)
class wycheproofAction(argparse.Action):
- tests = ['aes_gcm_test.json', 'chacha20_poly1305_test.json']
def __call__(self, parser, args, values, option_string=None):
- self.update_tests()
generate_test_vectors()
clangFormat = cfAction(None, None, None)
clangFormat(None, args, None)
- def update_tests(self):
- remote = "https://raw.githubusercontent.com/google/wycheproof/master/testvectors/"
- for test in self.tests:
- subprocess.check_call(['wget', remote+test, '-O',
- 'gtests/common/wycheproof/testvectors/'+test,
- '--no-check-certificate'])
-
def parse_arguments():
parser = argparse.ArgumentParser(