diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-09-29 16:03:38 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-09-29 16:02:39 +0200 |
commit | 999968e41662c1a676936db423db82af4411d78d (patch) | |
tree | 11f29ac9fd4c65928ee439baa14f138d1b79a826 /src/secp256k1/include/secp256k1_ecdh.h | |
parent | bbc901d3a683c92438a6b28dca50b956decc4433 (diff) | |
parent | fd86f998fcfd25d823d67a2920814e22445655f9 (diff) | |
download | bitcoin-999968e41662c1a676936db423db82af4411d78d.tar.xz |
Bump secp256k1 subtree
Diffstat (limited to 'src/secp256k1/include/secp256k1_ecdh.h')
-rw-r--r-- | src/secp256k1/include/secp256k1_ecdh.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/secp256k1/include/secp256k1_ecdh.h b/src/secp256k1/include/secp256k1_ecdh.h index 4b84d7a963..88492dc1a4 100644 --- a/src/secp256k1/include/secp256k1_ecdh.h +++ b/src/secp256k1/include/secp256k1_ecdh.h @@ -1,11 +1,11 @@ -#ifndef _SECP256K1_ECDH_ -# define _SECP256K1_ECDH_ +#ifndef SECP256K1_ECDH_H +#define SECP256K1_ECDH_H -# include "secp256k1.h" +#include "secp256k1.h" -# ifdef __cplusplus +#ifdef __cplusplus extern "C" { -# endif +#endif /** Compute an EC Diffie-Hellman secret in constant time * Returns: 1: exponentiation was successful @@ -24,8 +24,8 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ecdh( const unsigned char *privkey ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4); -# ifdef __cplusplus +#ifdef __cplusplus } -# endif - #endif + +#endif /* SECP256K1_ECDH_H */ |