2021-02-01 07:28:05

by Meng Yu

[permalink] [raw]
Subject: Re: [PATCH v6 1/4] crypto: Add support for ECDSA signature verification



?? 2021/2/1 7:32, Stefan Berger ะด??:
> +/**
> + * ecc_get_curve() - Get a curve given its curve_id
> + *
> + * @curve_id: Id of the curve
> + *
> + * Returns pointer to the curve data, NULL if curve is not available
> + */
> +const struct ecc_curve *ecc_get_curve(unsigned int curve_id);
> +
> /**
> * ecc_is_key_valid() - Validate a given ECDH private key


Shall we move this definition to 'include/crypto'? Other drivers may
also want to use it.