summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/curve25519/curve25519_internal.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/libcrypto/curve25519/curve25519_internal.h b/src/lib/libcrypto/curve25519/curve25519_internal.h
index 09306b9ce8..f80424a6b7 100644
--- a/src/lib/libcrypto/curve25519/curve25519_internal.h
+++ b/src/lib/libcrypto/curve25519/curve25519_internal.h
@@ -19,9 +19,7 @@
19 19
20#include <stdint.h> 20#include <stdint.h>
21 21
22#if defined(__cplusplus) 22__BEGIN_HIDDEN_DECLS
23extern "C" {
24#endif
25 23
26/* fe means field element. Here the field is \Z/(2^255-19). An element t, 24/* fe means field element. Here the field is \Z/(2^255-19). An element t,
27 * entries t[0]...t[9], represents the integer t[0]+2^26 t[1]+2^51 t[2]+2^77 25 * entries t[0]...t[9], represents the integer t[0]+2^26 t[1]+2^51 t[2]+2^77
@@ -95,8 +93,6 @@ void x25519_scalar_mult(uint8_t out[32], const uint8_t scalar[32],
95void x25519_scalar_mult_generic(uint8_t out[32], const uint8_t scalar[32], 93void x25519_scalar_mult_generic(uint8_t out[32], const uint8_t scalar[32],
96 const uint8_t point[32]); 94 const uint8_t point[32]);
97 95
98#if defined(__cplusplus) 96__END_HIDDEN_DECLS
99} /* extern C */
100#endif
101 97
102#endif /* HEADER_CURVE25519_INTERNAL_H */ 98#endif /* HEADER_CURVE25519_INTERNAL_H */