Rename nacl.h to naclite.h
This should avoid confusion with header files from the reference implementation and libsodiumpull/574/head
parent
1df1d25428
commit
8ffd165c7a
|
|
@ -183,7 +183,7 @@ mqueue.cpp
|
||||||
mqueue.h
|
mqueue.h
|
||||||
mqv.cpp
|
mqv.cpp
|
||||||
mqv.h
|
mqv.h
|
||||||
nacl.h
|
naclite.h
|
||||||
nbtheory.cpp
|
nbtheory.cpp
|
||||||
nbtheory.h
|
nbtheory.h
|
||||||
neon-simd.cpp
|
neon-simd.cpp
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
+
|
+
|
||||||
+#include "pch.h"
|
+#include "pch.h"
|
||||||
+#include "config.h"
|
+#include "config.h"
|
||||||
+#include "nacl.h"
|
+#include "naclite.h"
|
||||||
+#include "misc.h"
|
+#include "misc.h"
|
||||||
+#include "osrng.h"
|
+#include "osrng.h"
|
||||||
+#include "stdcpp.h"
|
+#include "stdcpp.h"
|
||||||
|
|
|
||||||
|
|
@ -438,7 +438,7 @@
|
||||||
<ClInclude Include="modexppc.h" />
|
<ClInclude Include="modexppc.h" />
|
||||||
<ClInclude Include="mqueue.h" />
|
<ClInclude Include="mqueue.h" />
|
||||||
<ClInclude Include="mqv.h" />
|
<ClInclude Include="mqv.h" />
|
||||||
<ClInclude Include="nacl.h" />
|
<ClInclude Include="naclite.h" />
|
||||||
<ClInclude Include="nbtheory.h" />
|
<ClInclude Include="nbtheory.h" />
|
||||||
<ClInclude Include="network.h" />
|
<ClInclude Include="network.h" />
|
||||||
<ClInclude Include="nr.h" />
|
<ClInclude Include="nr.h" />
|
||||||
|
|
|
||||||
|
|
@ -714,7 +714,7 @@
|
||||||
<ClInclude Include="nbtheory.h">
|
<ClInclude Include="nbtheory.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="nacl.h">
|
<ClInclude Include="naclite.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="network.h">
|
<ClInclude Include="network.h">
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
// nacl.h - written and placed in the public domain by Jeffrey Walton
|
// naclite.h - written and placed in the public domain by Jeffrey Walton
|
||||||
// based on public domain NaCl source code written by
|
// based on public domain NaCl source code written by
|
||||||
// Daniel J. Bernstein, Bernard van Gastel, Wesley Janssen,
|
// Daniel J. Bernstein, Bernard van Gastel, Wesley Janssen,
|
||||||
// Tanja Lange, Peter Schwabe and Sjaak Smetsers.
|
// Tanja Lange, Peter Schwabe and Sjaak Smetsers.
|
||||||
|
|
||||||
/// \file nacl.h
|
/// \file naclite.h
|
||||||
/// \brief Crypto++ interface to TweetNaCl library (20140917)
|
/// \brief Crypto++ interface to TweetNaCl library (20140917)
|
||||||
/// \details TweetNaCl is a compact reimplementation of the NaCl library by
|
/// \details TweetNaCl is a compact reimplementation of the NaCl library by
|
||||||
/// Daniel J. Bernstein, Bernard van Gastel, Wesley Janssen, Tanja Lange,
|
/// Daniel J. Bernstein, Bernard van Gastel, Wesley Janssen, Tanja Lange,
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "nacl.h"
|
#include "naclite.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "osrng.h"
|
#include "osrng.h"
|
||||||
#include "stdcpp.h"
|
#include "stdcpp.h"
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
#include "cryptlib.h"
|
#include "cryptlib.h"
|
||||||
#include "secblock.h"
|
#include "secblock.h"
|
||||||
#include "integer.h"
|
#include "integer.h"
|
||||||
#include "nacl.h"
|
#include "naclite.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
|
@ -485,7 +485,7 @@ bool TestCryptoSignKeys()
|
||||||
// NaCl requires an integrated random number generator; see randombytes()
|
// NaCl requires an integrated random number generator; see randombytes()
|
||||||
// in tweetnacl.cpp. We use DefaultAutoSeededRNG but it means we need
|
// in tweetnacl.cpp. We use DefaultAutoSeededRNG but it means we need
|
||||||
// Operating System features to seed the generator. If you use another
|
// Operating System features to seed the generator. If you use another
|
||||||
// generator, like RDRAND, then undefine CRYPTOPP_DISABLE_NACL in nacl.h.
|
// generator, like RDRAND, then undefine CRYPTOPP_DISABLE_NACL in naclite.h.
|
||||||
bool ValidateNaCl()
|
bool ValidateNaCl()
|
||||||
{
|
{
|
||||||
std::cout << "\nTesting NaCl library functions...\n\n";
|
std::cout << "\nTesting NaCl library functions...\n\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue