tech-crypto archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Adding opencrypto, crypto acceelerator to GENERIC kernels?
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.
Home |
Main Index |
Thread Index |
Old Index