Subject: Re: Adding opencrypto, crypto acceelerator to GENERIC kernels?
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Daniel Carosone <dan@geek.com.au>
List: tech-crypto
Date: 11/19/2003 15:17:11
On Tue, Nov 18, 2003 at 05:26:47PM -0800, Jonathan Stone wrote:
> +/*
> + * cryptodevallowsoft is (intended to be) sysctl'able, controlling
> + * access to hardware versus software transforms as below:
> + *
> + * cryptodevallowsoft < 0: Force userlevel requests to use software
> + * transforms, always
> + * cryptodevallowsoft = 0: Use hardware if present, grant userlevel
> + * requests for non-accelerated transforms
> + * (handling the latter in software)
> + * cryptodevallowsoft > 0: Allow user requests only for transforms which
> + * are hardware-accelerated.
> + */
The naming of this seems back-assward to the values, where 0 is
usually interpreted as "false".
--
Dan.