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/24/2006 01:15:05
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 21:11:15 -0400

 > |  > |  Running a kernel with CRYPTO_DEBUG results in the following.
 > |  > |  
 > |  > |  OpenSSL> speed -engine cryptodev aes
 > |  > |  SIOCSESSION violates kernel parameters 22
 > |  > 
 >
 > Can you add some debugging printfs in crypto_newsession() and see where
 > it fails?
 > 
 
 Here are the only two conditions it seems to trigger 
 
 if (crypto_drivers[hid].cc_newsession == NULL ||
                (crypto_drivers[hid].cc_flags & CRYPTOCAP_F_CLEANUP))
 
 and 
 
 if (hard > 0 && (crypto_drivers[hid].cc_flags & CRYPTOCAP_F_SOFTWARE))