]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 346616: Run the plain SHA digest tests from NIST.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 23 May 2019 19:20:37 +0000 (19:20 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 23 May 2019 19:20:37 +0000 (19:20 +0000)
commit657f0c2dc2819802704b6be6ae01d1a0545abbcd
treed3fde3bde922b8e118d57f1b6ab570434d76f8be
parentd6e5eb77f00c5c81f889fe7ececcba205ed79094
MFC 346616: Run the plain SHA digest tests from NIST.

Pass in an explicit digest length to the Crypto constructor since it
was assuming only sessions with a MAC key would have a MAC.  Passing
an explicit size allows us to test the full digest in HMAC tests as
well.
tests/sys/opencrypto/cryptodev.py
tests/sys/opencrypto/cryptotest.py