add extern C to chacha20
This commit is contained in:
@@ -86,6 +86,10 @@
|
|||||||
#ifndef SLOWCRYPT_CHACHA20_H
|
#ifndef SLOWCRYPT_CHACHA20_H
|
||||||
#define SLOWCRYPT_CHACHA20_H
|
#define SLOWCRYPT_CHACHA20_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SLOWCRYPT_CHACHA20_UINT32
|
#ifndef SLOWCRYPT_CHACHA20_UINT32
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#define SLOWCRYPT_CHACHA20_UINT32 uint32_t
|
#define SLOWCRYPT_CHACHA20_UINT32 uint32_t
|
||||||
@@ -286,4 +290,8 @@ SLOWCRYPT_CHACHA20_FUNC void slowcrypt_chacha20_block(
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user