summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal/chacha.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/include/internal/chacha.h')
-rw-r--r--crypto/include/internal/chacha.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/crypto/include/internal/chacha.h b/crypto/include/internal/chacha.h
index 7d4366ea25..119361d4d8 100644
--- a/crypto/include/internal/chacha.h
+++ b/crypto/include/internal/chacha.h
@@ -12,10 +12,6 @@
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* ChaCha20_ctr32 encrypts |len| bytes from |inp| with the given key and
* nonce and writes the result to |out|, which may be equal to |inp|.
@@ -43,7 +39,4 @@ void ChaCha20_ctr32(unsigned char *out, const unsigned char *inp,
#define CHACHA_CTR_SIZE 16
#define CHACHA_BLK_SIZE 64
-#ifdef __cplusplus
-}
-#endif
#endif