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