在 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.