Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/react-native-quick-crypto/QuickCrypto.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ Pod::Spec.new do |s|

# Add cpp subdirectories to header search paths
cpp_headers = [
"\"$(PODS_TARGET_SRCROOT)/cpp/utils\"",
"\"$(PODS_TARGET_SRCROOT)/cpp/hkdf\"",
"\"$(PODS_TARGET_SRCROOT)/cpp\"",
"\"$(PODS_TARGET_SRCROOT)/deps/ncrypto/include\"",
"\"$(PODS_TARGET_SRCROOT)/deps/blake3/c\"",
"\"$(PODS_TARGET_SRCROOT)/deps/fastpbkdf2\""
Expand Down
16 changes: 1 addition & 15 deletions packages/react-native-quick-crypto/android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,7 @@ include(${CMAKE_SOURCE_DIR}/../nitrogen/generated/android/QuickCrypto+autolinkin
# local includes
include_directories(
"src/main/cpp"
"../cpp/blake3"
"../cpp/cipher"
"../cpp/ec"
"../cpp/ed25519"
"../cpp/hash"
"../cpp/hkdf"
"../cpp/hmac"
"../cpp/keys"
"../cpp/mldsa"
"../cpp/pbkdf2"
"../cpp/random"
"../cpp/rsa"
"../cpp/sign"
"../cpp/scrypt"
"../cpp/utils"
"../cpp"
"../deps/blake3/c"
"../deps/fastpbkdf2"
"../deps/ncrypto/include"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <cstring>
#include <stdexcept>

#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "CCMCipher.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <stdexcept>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "ChaCha20Cipher.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <stdexcept>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "ChaCha20Poly1305Cipher.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <stdexcept>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "GCMCipher.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <stdexcept>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <vector>

#include "HybridCipher.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

#include <openssl/err.h>
#include <openssl/evp.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "GCMCipher.hpp"
#include "HybridCipherFactorySpec.hpp"
#include "OCBCipher.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include "XSalsa20Cipher.hpp"

namespace margelo::nitro::crypto {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "HybridRsaCipher.hpp"
#include "../keys/HybridKeyObjectHandle.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

#include <cstring>
#include <openssl/err.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <openssl/err.h>
#include <openssl/evp.h>

#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <cstdio>
#include <iomanip>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdexcept> // For std::runtime_error

#include "NitroModules/ArrayBuffer.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include "XSalsa20Cipher.hpp"

namespace margelo::nitro::crypto {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#endif

#include "HybridEcKeyPair.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <string>

#include "HybridEcKeyPairSpec.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <string>

#include "HybridEdKeyPairSpec.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-quick-crypto/cpp/hash/HybridHash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <vector>

#include "HybridHash.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-quick-crypto/cpp/hkdf/HybridHkdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <vector>

#include "HybridHkdf.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "../utils/base64.h"
#include "HybridKeyObjectHandle.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <openssl/bn.h>
#include <openssl/ec.h>
#include <openssl/evp.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "KeyObjectData.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <cstdio>
#include <optional>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "KFormatType.hpp"
#include "KeyEncoding.hpp"
#include "KeyType.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"
#include <ncrypto.h>

namespace margelo::nitro::crypto {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <openssl/err.h>
#include <openssl/pem.h>

#include "Utils.hpp"
#include "utils/Utils.hpp"

#if OPENSSL_VERSION_NUMBER >= 0x30500000L
#define RNQC_HAS_ML_DSA 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "HybridPbkdf2.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <openssl/rand.h>

#include "HybridRandom.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <string>

#include "HybridRsaKeyPair.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <vector>

#include "HybridScrypt.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

namespace margelo::nitro::crypto {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "../keys/HybridKeyObjectHandle.hpp"
#include "SignUtils.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

#include <cstring>
#include <openssl/err.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "../keys/HybridKeyObjectHandle.hpp"
#include "SignUtils.hpp"
#include "Utils.hpp"
#include "utils/Utils.hpp"

#include <cstring>
#include <openssl/err.h>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading