Re: crypto: possible NULL reference

2021-04-09 Thread Herbert Xu
On Mon, Mar 29, 2021 at 09:11:17PM -0700, Randy Dunlap wrote:
>
> Is there something else protecting the improper use of 
> in these cases?  or is a patch warranted?

The curve ID is always hard-coded and AFAIK we don't have any
use-cases where an unsupported curve ID is used.

Cheers,
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


crypto: possible NULL reference

2021-03-29 Thread Randy Dunlap
As I was trying to document "fips= here is not checked for NULL or not NULL
before it is used. Nor is the use of  in most other functions
in ecc.c.


Is there something else protecting the improper use of 
in these cases?  or is a patch warranted?


thanks.
-- 
~Randy