[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <289ef2ac-d653-47b3-7771-5d8a7342ad21@huawei.com>
Date: Mon, 1 Feb 2021 15:24:23 +0800
From: yumeng <yumeng18@...wei.com>
To: Stefan Berger <stefanb@...ux.ibm.com>, <keyrings@...r.kernel.org>,
<linux-crypto@...r.kernel.org>,
Herbert Xu <herbert@...dor.apana.org.au>
CC: <linux-kernel@...r.kernel.org>, <patrick@...terwijk.org>,
<linux-integrity@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>
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.
Powered by blists - more mailing lists