* [PATCH] ecc: delete a useless function declaration
@ 2021-04-02 9:55 Meng Yu
2021-04-02 10:34 ` Christophe Leroy
0 siblings, 1 reply; 3+ messages in thread
From: Meng Yu @ 2021-04-02 9:55 UTC (permalink / raw)
To: herbert, davem; +Cc: linux-crypto, wangzhou1, yumeng18, linux-kernel
This function declaration has been added in 'ecc_curve.h',
delete it in 'crypto/ecc.h'.
Fixes: 14bb76768275(crypto: ecc - expose ecc curves)
Signed-off-by: Meng Yu <yumeng18@huawei.com>
---
crypto/ecc.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/crypto/ecc.h b/crypto/ecc.h
index 46aa9bc..a006132 100644
--- a/crypto/ecc.h
+++ b/crypto/ecc.h
@@ -56,14 +56,6 @@ static inline void ecc_swap_digits(const u64 *in, u64 *out, unsigned int ndigits
}
/**
- * 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
*
* @curve_id: id representing the curve to use
--
2.8.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ecc: delete a useless function declaration
2021-04-02 9:55 [PATCH] ecc: delete a useless function declaration Meng Yu
@ 2021-04-02 10:34 ` Christophe Leroy
2021-04-06 1:12 ` yumeng
0 siblings, 1 reply; 3+ messages in thread
From: Christophe Leroy @ 2021-04-02 10:34 UTC (permalink / raw)
To: Meng Yu, herbert, davem; +Cc: linux-crypto, wangzhou1, linux-kernel
Le 02/04/2021 à 11:55, Meng Yu a écrit :
> This function declaration has been added in 'ecc_curve.h',
> delete it in 'crypto/ecc.h'.
>
> Fixes: 14bb76768275(crypto: ecc - expose ecc curves)
Fixes tag is wrong I think, should be 4e6602916bc6
> Signed-off-by: Meng Yu <yumeng18@huawei.com>
> ---
> crypto/ecc.h | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/crypto/ecc.h b/crypto/ecc.h
> index 46aa9bc..a006132 100644
> --- a/crypto/ecc.h
> +++ b/crypto/ecc.h
> @@ -56,14 +56,6 @@ static inline void ecc_swap_digits(const u64 *in, u64 *out, unsigned int ndigits
> }
>
> /**
> - * 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
> *
> * @curve_id: id representing the curve to use
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ecc: delete a useless function declaration
2021-04-02 10:34 ` Christophe Leroy
@ 2021-04-06 1:12 ` yumeng
0 siblings, 0 replies; 3+ messages in thread
From: yumeng @ 2021-04-06 1:12 UTC (permalink / raw)
To: Christophe Leroy, herbert, davem; +Cc: linux-crypto, wangzhou1, linux-kernel
在 2021/4/2 18:34, Christophe Leroy 写道:
>
>
> Le 02/04/2021 à 11:55, Meng Yu a écrit :
>> This function declaration has been added in 'ecc_curve.h',
>> delete it in 'crypto/ecc.h'.
>>
>> Fixes: 14bb76768275(crypto: ecc - expose ecc curves)
>
> Fixes tag is wrong I think, should be 4e6602916bc6
>
Yes, you are right, thank you.
>> Signed-off-by: Meng Yu <yumeng18@huawei.com>
>> ---
>> crypto/ecc.h | 8 --------
>> 1 file changed, 8 deletions(-)
>>
>> diff --git a/crypto/ecc.h b/crypto/ecc.h
>> index 46aa9bc..a006132 100644
>> --- a/crypto/ecc.h
>> +++ b/crypto/ecc.h
>> @@ -56,14 +56,6 @@ static inline void ecc_swap_digits(const u64 *in,
>> u64 *out, unsigned int ndigits
>> }
>> /**
>> - * 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
>> *
>> * @curve_id: id representing the curve to use
>>
> .
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-06 1:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 9:55 [PATCH] ecc: delete a useless function declaration Meng Yu
2021-04-02 10:34 ` Christophe Leroy
2021-04-06 1:12 ` yumeng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®