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
This commit is contained in:
John Baldwin 2017-06-08 21:34:54 +00:00
parent 77e1943785
commit 6720b89045
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319725

View File

@ -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()