Re: Adding opencrypto, crypto acceelerator to GENERIC kernels?

Daniel Carosone <[email protected]>
Newsgroups gmane.os.netbsd.devel.crypto
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.