svn commit: r319725 - head/tests/sys/opencrypto
John Baldwin
jhb at FreeBSD.org
Thu Jun 8 21:34:56 UTC 2017
Author: jhb
Date: Thu Jun 8 21:34:54 2017
New Revision: 319725
URL: https://svnweb.freebsd.org/changeset/base/319725
Log:
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
Modified:
head/tests/sys/opencrypto/cryptotest.py
Modified: head/tests/sys/opencrypto/cryptotest.py
==============================================================================
--- head/tests/sys/opencrypto/cryptotest.py Thu Jun 8 21:33:19 2017 (r319724)
+++ head/tests/sys/opencrypto/cryptotest.py Thu Jun 8 21:34:54 2017 (r319725)
@@ -42,9 +42,9 @@ katdir = '/usr/local/share/nist-kat'
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 GenTestCase(cname):
cryptosoft = GenTestCase('cryptosoft0')
aesni = GenTestCase('aesni0')
+ccr = GenTestCase('ccr0')
if __name__ == '__main__':
unittest.main()
More information about the svn-src-all
mailing list