mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Merge pull request #376 from dwrensha/relative-includes
Fix up relative includes of sodium/common.h
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "crypto_verify_16.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
static const unsigned char _pad0[16] = { 0 };
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Public domain.
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "crypto_core_hsalsa20.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
#define ROUNDS 20
|
||||
#define U32C(v) (v##U)
|
||||
|
||||
@@ -8,7 +8,7 @@ Public domain.
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "crypto_core_salsa20.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
#define ROUNDS 20
|
||||
#define U32C(v) (v##U)
|
||||
|
||||
@@ -8,7 +8,7 @@ Public domain.
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "crypto_core_salsa2012.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
#define ROUNDS 12
|
||||
#define U32C(v) (v##U)
|
||||
|
||||
@@ -8,7 +8,7 @@ Public domain.
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "crypto_core_salsa208.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
#define ROUNDS 8
|
||||
#define U32C(v) (v##U)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "blake2.h"
|
||||
#include "blake2-impl.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
CRYPTO_ALIGN(64) static const uint64_t blake2b_IV[8] =
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "crypto_shorthash_siphash24.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
typedef uint64_t u64;
|
||||
typedef uint32_t u32;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#define COMMON_H
|
||||
|
||||
#include "types.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
/* Macros required only for key expansion */
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "crypto_stream_chacha20.h"
|
||||
#include "stream_chacha20_ref.h"
|
||||
#include "../stream_chacha20.h"
|
||||
#include "../../sodium/common.h"
|
||||
#include "../../../sodium/common.h"
|
||||
|
||||
struct chacha_ctx {
|
||||
uint32_t input[16];
|
||||
|
||||
Reference in New Issue
Block a user