about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-18 11:18:54 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-18 11:18:54 +0100
commite562baf30b07e2241770dd4d69ab47d597c93ad6 (patch)
tree9bba906344e7c4e6700ab95bc168746e75a94887 /src
parentefefd13bf5ec67edfe1dba296174c147732e07e3 (diff)
downloadbox64-e562baf30b07e2241770dd4d69ab47d597c93ad6.tar.gz
box64-e562baf30b07e2241770dd4d69ab47d597c93ad6.zip
Added some more symbol to wrapped libgnutls
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/generated/functions_list.txt1
-rw-r--r--src/wrapped/generated/wrapper.c3
-rw-r--r--src/wrapped/generated/wrapper.h1
-rw-r--r--src/wrapped/wrappedgnutls_private.h7
4 files changed, 11 insertions, 1 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index d9abe642..feea0d40 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -2000,6 +2000,7 @@
 #() iFpuippp
 #() iFpuuuuu
 #() iFpuuuup
+#() iFpuuupu
 #() iFpuuupp
 #() iFpuuLpp
 #() iFpuupuu
diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c
index 6c5f3753..5966030b 100644
--- a/src/wrapped/generated/wrapper.c
+++ b/src/wrapped/generated/wrapper.c
@@ -2038,6 +2038,7 @@ typedef int32_t (*iFpuiCpp_t)(void*, uint32_t, int32_t, uint8_t, void*, void*);
 typedef int32_t (*iFpuippp_t)(void*, uint32_t, int32_t, void*, void*, void*);
 typedef int32_t (*iFpuuuuu_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
 typedef int32_t (*iFpuuuup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, void*);
+typedef int32_t (*iFpuuupu_t)(void*, uint32_t, uint32_t, uint32_t, void*, uint32_t);
 typedef int32_t (*iFpuuupp_t)(void*, uint32_t, uint32_t, uint32_t, void*, void*);
 typedef int32_t (*iFpuuLpp_t)(void*, uint32_t, uint32_t, uintptr_t, void*, void*);
 typedef int32_t (*iFpuupuu_t)(void*, uint32_t, uint32_t, void*, uint32_t, uint32_t);
@@ -5095,6 +5096,7 @@ void iFpuiCpp(x64emu_t *emu, uintptr_t fcn) { iFpuiCpp_t fn = (iFpuiCpp_t)fcn; R
 void iFpuippp(x64emu_t *emu, uintptr_t fcn) { iFpuippp_t fn = (iFpuippp_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
 void iFpuuuuu(x64emu_t *emu, uintptr_t fcn) { iFpuuuuu_t fn = (iFpuuuuu_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9); }
 void iFpuuuup(x64emu_t *emu, uintptr_t fcn) { iFpuuuup_t fn = (iFpuuuup_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (void*)R_R9); }
+void iFpuuupu(x64emu_t *emu, uintptr_t fcn) { iFpuuupu_t fn = (iFpuuupu_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (uint32_t)R_R9); }
 void iFpuuupp(x64emu_t *emu, uintptr_t fcn) { iFpuuupp_t fn = (iFpuuupp_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (void*)R_R9); }
 void iFpuuLpp(x64emu_t *emu, uintptr_t fcn) { iFpuuLpp_t fn = (iFpuuLpp_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uintptr_t)R_RCX, (void*)R_R8, (void*)R_R9); }
 void iFpuupuu(x64emu_t *emu, uintptr_t fcn) { iFpuupuu_t fn = (iFpuupuu_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (void*)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9); }
@@ -7788,6 +7790,7 @@ int isSimpleWrapper(wrapper_t fun) {
 	if (fun == &iFpuippp) return 1;
 	if (fun == &iFpuuuuu) return 1;
 	if (fun == &iFpuuuup) return 1;
+	if (fun == &iFpuuupu) return 1;
 	if (fun == &iFpuuupp) return 1;
 	if (fun == &iFpuuLpp) return 1;
 	if (fun == &iFpuupuu) return 1;
diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h
index 0392a7c5..9181958c 100644
--- a/src/wrapped/generated/wrapper.h
+++ b/src/wrapped/generated/wrapper.h
@@ -2038,6 +2038,7 @@ void iFpuiCpp(x64emu_t *emu, uintptr_t fnc);
 void iFpuippp(x64emu_t *emu, uintptr_t fnc);
 void iFpuuuuu(x64emu_t *emu, uintptr_t fnc);
 void iFpuuuup(x64emu_t *emu, uintptr_t fnc);
+void iFpuuupu(x64emu_t *emu, uintptr_t fnc);
 void iFpuuupp(x64emu_t *emu, uintptr_t fnc);
 void iFpuuLpp(x64emu_t *emu, uintptr_t fnc);
 void iFpuupuu(x64emu_t *emu, uintptr_t fnc);
diff --git a/src/wrapped/wrappedgnutls_private.h b/src/wrapped/wrappedgnutls_private.h
index 97913161..a4b57bfb 100644
--- a/src/wrapped/wrappedgnutls_private.h
+++ b/src/wrapped/wrappedgnutls_private.h
@@ -196,6 +196,7 @@ GO(gnutls_ecdh_compute_key, iFppp)
 //GO(gnutls_error_is_fatal, 
 //GO(gnutls_error_to_alert, 
 //GO(gnutls_est_record_overhead_size, 
+GO(gnutls_privkey_export_dh_raw, iFppppu)
 //GO(gnutls_ext_get_data, 
 //GO(gnutls_ext_get_name, 
 //GO(gnutls_ext_register, 
@@ -534,6 +535,7 @@ GO(gnutls_priority_set_direct, iFppp)
 //GO(gnutls_priority_string_list, 
 GO(gnutls_privkey_decrypt_data, iFpipp)
 GO(gnutls_privkey_deinit, vFp)
+GO(gnutls_privkey_derive_secret, iFppppu)
 GO(gnutls_privkey_export_dsa_raw, iFpppppp)
 GO(gnutls_privkey_export_ecc_raw, iFppppp)
 //GO(gnutls_privkey_export_openpgp, 
@@ -541,10 +543,11 @@ GO(gnutls_privkey_export_ecc_raw, iFppppp)
 GO(gnutls_privkey_export_rsa_raw, iFppppppppp)
 GO(gnutls_privkey_export_x509, iFpp)
 GO(gnutls_privkey_generate, iFppuu)
-//GO(gnutls_privkey_generate2, 
+GO(gnutls_privkey_generate2, iFpuuupu)
 //GO(gnutls_privkey_get_pk_algorithm, 
 //GO(gnutls_privkey_get_seed, 
 //GO(gnutls_privkey_get_type, 
+GO(gnutls_privkey_import_dh_raw, iFpupp)
 GO(gnutls_privkey_import_dsa_raw, iFpppppp)
 GO(gnutls_privkey_import_ecc_raw, iFppppp)
 //GO(gnutls_privkey_import_ext, 
@@ -592,6 +595,7 @@ GO(gnutls_pubkey_encrypt_data, iFpupp)
 //GO(gnutls_pubkey_export, 
 //GO(gnutls_pubkey_export2, 
 GO(gnutls_pubkey_export_dsa_raw, iFppppp)
+GO(gnutls_pubkey_export_dh_raw, iFpupu)
 GO(gnutls_pubkey_export_ecc_raw, iFpppp)
 //GO(gnutls_pubkey_export_ecc_x962, 
 GO(gnutls_pubkey_export_rsa_raw, iFppp)
@@ -601,6 +605,7 @@ GO(gnutls_pubkey_export_rsa_raw, iFppp)
 //GO(gnutls_pubkey_get_pk_algorithm, 
 //GO(gnutls_pubkey_get_preferred_hash_algorithm, 
 //GO(gnutls_pubkey_import, 
+GO(gnutls_pubkey_import_dh_raw, iFpup)
 GO(gnutls_pubkey_import_dsa_raw, iFppppp)
 GO(gnutls_pubkey_import_ecc_raw, iFpppp)
 //GO(gnutls_pubkey_import_ecc_x962,