Subject: Re: bin/32414
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, ijk@speakeasy.net>
From: Jeff Ito <ijk@speakeasy.net>
List: netbsd-bugs
Date: 04/23/2006 18:50:02
The following reply was made to PR bin/32414; it has been noted by GNATS.

From: Jeff Ito <ijk@speakeasy.net>
To: Christos Zoulas <christos@zoulas.com>
Cc: gnats-bugs@netbsd.org
Subject: Re: bin/32414
Date: Sun, 23 Apr 2006 14:47:18 -0400

 > |  Running a kernel with CRYPTO_DEBUG results in the following.
 > |  
 > |  OpenSSL> speed -engine cryptodev aes
 > |  SIOCSESSION violates kernel parameters 22
 > |  SIOCSESSION violates kernel parameters 22
 > |  SIOCSESSION violates kernel parameters 22
 > |  SIOCSESSION violates kernel parameters 22
 > |  SIOCSESSION violates kernel parameters 22
 > 
 > Can you try playing with the sysctls?
 > 
 > kern.usercrypto = 1
 > kern.userasymcrypto = 1
 > kern.cryptodevallowsoft = 1
 > 
  
 Is there a particular combination of these variables you would like to
 see?  So far testing various combinations has caused the "...violates
 kernel parameters..." message to go away, however the benchmarks do
 not seem to indicate any leveraging of the cryto card.