From owner-svn-src-head@freebsd.org Thu Jun 8 21:34:56 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2448FD8448E; Thu, 8 Jun 2017 21:34:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E903B72B41; Thu, 8 Jun 2017 21:34:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v58LYtmd099568; Thu, 8 Jun 2017 21:34:55 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v58LYtAk099567; Thu, 8 Jun 2017 21:34:55 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201706082134.v58LYtAk099567@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Thu, 8 Jun 2017 21:34:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r319725 - head/tests/sys/opencrypto X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 21:34:56 -0000 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()