diff options
-rw-r--r-- | src/lib/libcrypto/curve25519/curve25519.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/curve25519/curve25519.c b/src/lib/libcrypto/curve25519/curve25519.c index 56c7f584c1..f24adc1fbe 100644 --- a/src/lib/libcrypto/curve25519/curve25519.c +++ b/src/lib/libcrypto/curve25519/curve25519.c | |||
@@ -4859,6 +4859,7 @@ x25519_scalar_mult_generic(uint8_t out[32], const uint8_t scalar[32], | |||
4859 | fe_tobytes(out, x2); | 4859 | fe_tobytes(out, x2); |
4860 | } | 4860 | } |
4861 | 4861 | ||
4862 | #ifdef unused | ||
4862 | void | 4863 | void |
4863 | x25519_public_from_private_generic(uint8_t out_public_value[32], | 4864 | x25519_public_from_private_generic(uint8_t out_public_value[32], |
4864 | const uint8_t private_key[32]) | 4865 | const uint8_t private_key[32]) |
@@ -4882,6 +4883,7 @@ x25519_public_from_private_generic(uint8_t out_public_value[32], | |||
4882 | fe_mul(zplusy, zplusy, zminusy_inv); | 4883 | fe_mul(zplusy, zplusy, zminusy_inv); |
4883 | fe_tobytes(out_public_value, zplusy); | 4884 | fe_tobytes(out_public_value, zplusy); |
4884 | } | 4885 | } |
4886 | #endif | ||
4885 | 4887 | ||
4886 | void | 4888 | void |
4887 | x25519_public_from_private(uint8_t out_public_value[32], | 4889 | x25519_public_from_private(uint8_t out_public_value[32], |