From 6720b890459dccaf6da00d7a30fe63d01b0eac7b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 8 Jun 2017 21:34:54 +0000 Subject: [PATCH] Add the ccr0 device to the opencrypto tests against the NIST KAT tests. The ccr0 device supports both AES and SHA tests. Sponsored by: Chelsio Communications --- tests/sys/opencrypto/cryptotest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/sys/opencrypto/cryptotest.py b/tests/sys/opencrypto/cryptotest.py index e616bafa055d..46d9261f2a78 100644 --- a/tests/sys/opencrypto/cryptotest.py +++ b/tests/sys/opencrypto/cryptotest.py @@ -42,9 +42,9 @@ def katg(base, glob): return iglob(os.path.join(katdir, base, glob)) -aesmodules = [ 'cryptosoft0', 'aesni0', ] +aesmodules = [ 'cryptosoft0', 'aesni0', 'ccr0' ] desmodules = [ 'cryptosoft0', ] -shamodules = [ 'cryptosoft0', ] +shamodules = [ 'cryptosoft0', 'ccr0' ] def GenTestCase(cname): try: @@ -260,6 +260,7 @@ def runSHA1HMAC(self, fname): cryptosoft = GenTestCase('cryptosoft0') aesni = GenTestCase('aesni0') +ccr = GenTestCase('ccr0') if __name__ == '__main__': unittest.main()