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

2021-02-01 Thread Stefan Berger
On 2/1/21 2:24 AM, yumeng wrote: 在 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

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

2021-01-31 Thread yumeng
在 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); + /** *

[PATCH v6 1/4] crypto: Add support for ECDSA signature verification

2021-01-31 Thread Stefan Berger
Add support for parsing the parameters of a NIST P256 or NIST P192 key. Enable signature verification using these keys. The new module is enabled with CONFIG_ECDSA: Elliptic Curve Digital Signature Algorithm (NIST P192, P256 etc.) is A NIST cryptographic standard algorithm. Only signature