From 3838b6b815e6fffdd71dfe4b26815676111ab3d4 Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Thu, 12 Mar 2026 22:16:34 +0100 Subject: [PATCH] Some fixes. --- quartz/build.gradle.kts | 2 - .../nativeInterop/libsodium/include/sodium.h | 54 ------------------- 2 files changed, 56 deletions(-) diff --git a/quartz/build.gradle.kts b/quartz/build.gradle.kts index 2a26aaa2d..015bc4e39 100644 --- a/quartz/build.gradle.kts +++ b/quartz/build.gradle.kts @@ -94,8 +94,6 @@ kotlin { val Clibsodium by cinterops.creating { assert(project.file("Clibsodium.def").exists()) definitionFile.set(project.file("Clibsodium.def")) - includeDirs("${libsodiumPath}/ios-simulators/lib") - //compilerOpts("-I${libsodiumPath}/ios-simulators/lib") headers( "$libsodiumHeaderFilesPath/crypto_aead_xchacha20poly1305.h", diff --git a/quartz/src/nativeInterop/libsodium/include/sodium.h b/quartz/src/nativeInterop/libsodium/include/sodium.h index 61a316870..60127eb36 100644 --- a/quartz/src/nativeInterop/libsodium/include/sodium.h +++ b/quartz/src/nativeInterop/libsodium/include/sodium.h @@ -5,63 +5,9 @@ #include "sodium/version.h" #include "sodium/core.h" -#include "sodium/crypto_aead_aegis128l.h" -#include "sodium/crypto_aead_aegis256.h" -#include "sodium/crypto_aead_aes256gcm.h" -#include "sodium/crypto_aead_chacha20poly1305.h" #include "sodium/crypto_aead_xchacha20poly1305.h" -#include "sodium/crypto_auth.h" -#include "sodium/crypto_auth_hmacsha256.h" -#include "sodium/crypto_auth_hmacsha512.h" -#include "sodium/crypto_auth_hmacsha512256.h" -#include "sodium/crypto_box.h" -#include "sodium/crypto_box_curve25519xsalsa20poly1305.h" #include "sodium/crypto_core_hchacha20.h" -#include "sodium/crypto_core_hsalsa20.h" -#include "sodium/crypto_core_keccak1600.h" -#include "sodium/crypto_core_salsa20.h" -#include "sodium/crypto_core_salsa2012.h" -#include "sodium/crypto_core_salsa208.h" -#include "sodium/crypto_generichash.h" -#include "sodium/crypto_generichash_blake2b.h" -#include "sodium/crypto_hash.h" -#include "sodium/crypto_hash_sha256.h" -#include "sodium/crypto_hash_sha512.h" -#include "sodium/crypto_ipcrypt.h" -#include "sodium/crypto_kdf.h" -#include "sodium/crypto_kdf_hkdf_sha256.h" -#include "sodium/crypto_kdf_hkdf_sha512.h" -#include "sodium/crypto_kdf_blake2b.h" -#include "sodium/crypto_kdf_hkdf_sha256.h" -#include "sodium/crypto_kdf_hkdf_sha512.h" -#include "sodium/crypto_kx.h" -#include "sodium/crypto_onetimeauth.h" -#include "sodium/crypto_onetimeauth_poly1305.h" -#include "sodium/crypto_pwhash.h" -#include "sodium/crypto_pwhash_argon2i.h" -#include "sodium/crypto_scalarmult.h" -#include "sodium/crypto_scalarmult_curve25519.h" -#include "sodium/crypto_secretbox.h" -#include "sodium/crypto_secretbox_xsalsa20poly1305.h" -#include "sodium/crypto_secretstream_xchacha20poly1305.h" -#include "sodium/crypto_shorthash.h" -#include "sodium/crypto_shorthash_siphash24.h" -#include "sodium/crypto_sign.h" -#include "sodium/crypto_sign_ed25519.h" -#include "sodium/crypto_stream.h" #include "sodium/crypto_stream_chacha20.h" -#include "sodium/crypto_stream_salsa20.h" -#include "sodium/crypto_stream_xsalsa20.h" -#include "sodium/crypto_verify_16.h" -#include "sodium/crypto_verify_32.h" -#include "sodium/crypto_verify_64.h" -#include "sodium/crypto_xof_shake128.h" -#include "sodium/crypto_xof_shake256.h" -#include "sodium/crypto_xof_turboshake128.h" -#include "sodium/crypto_xof_turboshake256.h" -#include "sodium/randombytes.h" -#include "sodium/randombytes_internal_random.h" -#include "sodium/randombytes_sysrandom.h" #include "sodium/runtime.h" #include "sodium/utils.h"