From 1d9fba9af57f097e333fcda14b0f207030972609 Mon Sep 17 00:00:00 2001 From: Kevin Jacobs Date: Thu, 16 Jan 2020 21:42:56 +0000 Subject: 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 --- mach | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'mach') diff --git a/mach b/mach index b484e1fa4..7c45990f0 100755 --- a/mach +++ b/mach @@ -20,7 +20,6 @@ import tarfile import tempfile from hashlib import sha256 -from gtests.common.wycheproof.genTestVectors import generate_test_vectors DEVNULL = open(os.devnull, 'wb') cwd = os.path.dirname(os.path.abspath(__file__)) @@ -507,14 +506,6 @@ class commandsAction(argparse.Action): for c in commandsAction.commands: print(c) -class wycheproofAction(argparse.Action): - - def __call__(self, parser, args, values, option_string=None): - generate_test_vectors() - clangFormat = cfAction(None, None, None) - clangFormat(None, args, None) - - def parse_arguments(): parser = argparse.ArgumentParser( description='NSS helper script. ' + @@ -597,18 +588,6 @@ def parse_arguments(): nargs='*', action=commandsAction) - parser_wycheproof = subparsers.add_parser( - 'wycheproof', - help="generate wycheproof test headers") - parser_wycheproof.add_argument( - '--noroot', - help='On linux, suppress the use of \'sudo\' for running docker.', - action='store_true') - parser_wycheproof.add_argument( - 'wycheproof', - nargs='*', - action=wycheproofAction) - commandsAction.commands = [c for c in subparsers.choices] return parser.parse_args() -- cgit v1.2.1