diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-07-09 18:38:12 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-07-09 18:38:12 +0200 |
| commit | 2f74e6ebf84794c54e6204d59d5edbf5026afbd8 (patch) | |
| tree | b182594490edafd621e52ffc647ff328845a14d4 /src | |
| parent | c1aeb2244cf57886d9a9fdd992c4690975f31539 (diff) | |
| download | box64-2f74e6ebf84794c54e6204d59d5edbf5026afbd8.tar.gz box64-2f74e6ebf84794c54e6204d59d5edbf5026afbd8.zip | |
Added (empty) wrapped libgcrypt.so.20
Diffstat (limited to 'src')
| -rwxr-xr-x | src/library_list.h | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedgcryptdefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedgcrypttypes.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedgcryptundefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedgcrypt.c | 18 | ||||
| -rw-r--r-- | src/wrapped/wrappedgcrypt_private.h | 220 |
7 files changed, 273 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index 1fadc421..97449b35 100755 --- a/src/library_list.h +++ b/src/library_list.h @@ -95,6 +95,7 @@ GO("libexpat.so", expat) GO("libcrypto.so.1", crypto) GO("libssl.so.1", libssl) GO("libcrypt.so.1", libcrypt) +GO("libgcrypt.so.20", gcrypt) GO("libutil.so.1", util) GO("libuuid.so.1", libuuid) GO("libresolv.so.2", libresolv) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 465b9e10..3966a97d 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -2223,6 +2223,7 @@ wrappedfreetype: - FTC_Manager_New wrappedgbm: wrappedgconf2: +wrappedgcrypt: wrappedgdkpixbuf2: - pFpiiiiiipp: - gdk_pixbuf_new_from_data diff --git a/src/wrapped/generated/wrappedgcryptdefs.h b/src/wrapped/generated/wrappedgcryptdefs.h new file mode 100644 index 00000000..9b284bb0 --- /dev/null +++ b/src/wrapped/generated/wrappedgcryptdefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedgcryptDEFS_H_ +#define __wrappedgcryptDEFS_H_ + + +#endif // __wrappedgcryptDEFS_H_ diff --git a/src/wrapped/generated/wrappedgcrypttypes.h b/src/wrapped/generated/wrappedgcrypttypes.h new file mode 100644 index 00000000..74ee72d3 --- /dev/null +++ b/src/wrapped/generated/wrappedgcrypttypes.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedgcryptTYPES_H_ +#define __wrappedgcryptTYPES_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + + +#define SUPER() ADDED_FUNCTIONS() + +#endif // __wrappedgcryptTYPES_H_ diff --git a/src/wrapped/generated/wrappedgcryptundefs.h b/src/wrapped/generated/wrappedgcryptundefs.h new file mode 100644 index 00000000..604d4020 --- /dev/null +++ b/src/wrapped/generated/wrappedgcryptundefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedgcryptUNDEFS_H_ +#define __wrappedgcryptUNDEFS_H_ + + +#endif // __wrappedgcryptUNDEFS_H_ diff --git a/src/wrapped/wrappedgcrypt.c b/src/wrapped/wrappedgcrypt.c new file mode 100644 index 00000000..b8bd8fcc --- /dev/null +++ b/src/wrapped/wrappedgcrypt.c @@ -0,0 +1,18 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" + +const char* gcryptName = "libgcrypt.so.20"; +#define LIBNAME gcrypt + +#include "wrappedlib_init.h" + diff --git a/src/wrapped/wrappedgcrypt_private.h b/src/wrapped/wrappedgcrypt_private.h new file mode 100644 index 00000000..ed8a826f --- /dev/null +++ b/src/wrapped/wrappedgcrypt_private.h @@ -0,0 +1,220 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + + +//GO(gcry_calloc, +//GO(gcry_calloc_secure, +//GO(gcry_check_version, +//GO(gcry_cipher_algo_info, +//GO(gcry_cipher_algo_name, +//GO(gcry_cipher_authenticate, +//GO(gcry_cipher_checktag, +//GO(gcry_cipher_close, +//GO(gcry_cipher_ctl, +//GO(gcry_cipher_decrypt, +//GO(gcry_cipher_encrypt, +//GO(gcry_cipher_get_algo_blklen, +//GO(gcry_cipher_get_algo_keylen, +//GO(gcry_cipher_gettag, +//GO(gcry_cipher_info, +//GO(gcry_cipher_map_name, +//GO(gcry_cipher_mode_from_oid, +//GO(gcry_cipher_open, +//GO(gcry_cipher_setctr, +//GO(gcry_cipher_setiv, +//GO(gcry_cipher_setkey, +//GO(gcry_control, +//GO(gcry_create_nonce, +//GO(gcry_ctx_release, +//GO(gcry_ecc_get_algo_keylen, +//GO(gcry_ecc_mul_point, +//GO(gcry_err_code_from_errno, +//GO(gcry_err_code_to_errno, +//GO(gcry_err_make_from_errno, +//GO(gcry_error_from_errno, +//GO(gcry_free, +//GO(gcry_get_config, +//GO(gcry_is_secure, +//GO(gcry_kdf_close, +//GO(gcry_kdf_compute, +//GO(gcry_kdf_derive, +//GO(gcry_kdf_final, +//GO(gcry_kdf_open, +//GO(gcry_log_debug, +//GO(gcry_log_debughex, +//GO(gcry_log_debugmpi, +//GO(gcry_log_debugpnt, +//GO(gcry_log_debugsxp, +//GO(gcry_mac_algo_info, +//GO(gcry_mac_algo_name, +//GO(gcry_mac_close, +//GO(gcry_mac_ctl, +//GO(gcry_mac_get_algo, +//GO(gcry_mac_get_algo_keylen, +//GO(gcry_mac_get_algo_maclen, +//GO(gcry_mac_map_name, +//GO(gcry_mac_open, +//GO(gcry_mac_read, +//GO(gcry_mac_setiv, +//GO(gcry_mac_setkey, +//GO(gcry_mac_verify, +//GO(gcry_mac_write, +//GO(gcry_malloc, +//GO(gcry_malloc_secure, +//GO(gcry_md_algo_info, +//GO(gcry_md_algo_name, +//GO(gcry_md_close, +//GO(gcry_md_copy, +//GO(gcry_md_ctl, +//GO(gcry_md_debug, +//GO(gcry_md_enable, +//GO(gcry_md_extract, +//GO(gcry_md_get_algo, +//GO(gcry_md_get_algo_dlen, +//GO(gcry_md_hash_buffer, +//GO(gcry_md_hash_buffers, +//GO(gcry_md_info, +//GO(gcry_md_is_enabled, +//GO(gcry_md_is_secure, +//GO(gcry_md_map_name, +//GO(gcry_md_open, +//GO(gcry_md_read, +//GO(gcry_md_reset, +//GO(gcry_md_setkey, +//GO(gcry_md_write, +//GO(gcry_mpi_abs, +//GO(gcry_mpi_add, +//GO(gcry_mpi_addm, +//GO(gcry_mpi_add_ui, +//GO(gcry_mpi_aprint, +//GO(gcry_mpi_clear_bit, +//GO(gcry_mpi_clear_flag, +//GO(gcry_mpi_clear_highbit, +//GO(gcry_mpi_cmp, +//GO(gcry_mpi_cmp_ui, +//GO(gcry_mpi_copy, +//GO(gcry_mpi_div, +//GO(gcry_mpi_dump, +//GO(gcry_mpi_ec_add, +//GO(gcry_mpi_ec_curve_point, +//GO(gcry_mpi_ec_decode_point, +//GO(gcry_mpi_ec_dup, +//GO(gcry_mpi_ec_get_affine, +//GO(gcry_mpi_ec_get_mpi, +//GO(gcry_mpi_ec_get_point, +//GO(gcry_mpi_ec_mul, +//GO(gcry_mpi_ec_new, +//GO(gcry_mpi_ec_set_mpi, +//GO(gcry_mpi_ec_set_point, +//GO(gcry_mpi_ec_sub, +//GO(gcry_mpi_gcd, +//GO(_gcry_mpi_get_const, +//GO(gcry_mpi_get_flag, +//GO(gcry_mpi_get_nbits, +//GO(gcry_mpi_get_opaque, +//GO(gcry_mpi_get_ui, +//GO(gcry_mpi_invm, +//GO(gcry_mpi_is_neg, +//GO(gcry_mpi_lshift, +//GO(gcry_mpi_mod, +//GO(gcry_mpi_mul, +//GO(gcry_mpi_mul_2exp, +//GO(gcry_mpi_mulm, +//GO(gcry_mpi_mul_ui, +//GO(gcry_mpi_neg, +//GO(gcry_mpi_new, +//GO(gcry_mpi_point_copy, +//GO(gcry_mpi_point_get, +//GO(gcry_mpi_point_new, +//GO(gcry_mpi_point_release, +//GO(gcry_mpi_point_set, +//GO(gcry_mpi_point_snatch_get, +//GO(gcry_mpi_point_snatch_set, +//GO(gcry_mpi_powm, +//GO(gcry_mpi_print, +//GO(gcry_mpi_randomize, +//GO(gcry_mpi_release, +//GO(gcry_mpi_rshift, +//GO(gcry_mpi_scan, +//GO(gcry_mpi_set, +//GO(gcry_mpi_set_bit, +//GO(gcry_mpi_set_flag, +//GO(gcry_mpi_set_highbit, +//GO(gcry_mpi_set_opaque, +//GO(gcry_mpi_set_opaque_copy, +//GO(gcry_mpi_set_ui, +//GO(gcry_mpi_snatch, +//GO(gcry_mpi_snew, +//GO(gcry_mpi_sub, +//GO(gcry_mpi_subm, +//GO(gcry_mpi_sub_ui, +//GO(gcry_mpi_swap, +//GO(gcry_mpi_test_bit, +//GO(gcry_pk_algo_info, +//GO(gcry_pk_algo_name, +//GO(gcry_pk_ctl, +//GO(gcry_pk_decrypt, +//GO(gcry_pk_encrypt, +//GO(gcry_pk_genkey, +//GO(gcry_pk_get_curve, +//GO(gcry_pk_get_keygrip, +//GO(gcry_pk_get_nbits, +//GO(gcry_pk_get_param, +//GO(gcry_pk_hash_sign, +//GO(gcry_pk_hash_verify, +//GO(gcry_pk_map_name, +//GO(gcry_pk_random_override_new, +//GO(gcry_pk_sign, +//GO(gcry_pk_testkey, +//GO(gcry_pk_verify, +//GO(gcry_prime_check, +//GO(gcry_prime_generate, +//GO(gcry_prime_group_generator, +//GO(gcry_prime_release_factors, +//GO(gcry_pubkey_get_sexp, +//GO(gcry_random_add_bytes, +//GO(gcry_random_bytes, +//GO(gcry_random_bytes_secure, +//GO(gcry_randomize, +//GO(gcry_realloc, +//GO(gcry_set_allocation_handler, +//GO(gcry_set_fatalerror_handler, +//GO(gcry_set_gettext_handler, +//GO(gcry_set_log_handler, +//GO(gcry_set_outofcore_handler, +//GO(gcry_set_progress_handler, +//GO(gcry_sexp_alist, +//GO(gcry_sexp_append, +//GO(gcry_sexp_build, +//GO(gcry_sexp_build_array, +//GO(gcry_sexp_cadr, +//GO(gcry_sexp_canon_len, +//GO(gcry_sexp_car, +//GO(gcry_sexp_cdr, +//GO(gcry_sexp_cons, +//GO(gcry_sexp_create, +//GO(gcry_sexp_dump, +//GO(gcry_sexp_extract_param, +//GO(gcry_sexp_find_token, +//GO(gcry_sexp_length, +//GO(gcry_sexp_new, +//GO(gcry_sexp_nth, +//GO(gcry_sexp_nth_buffer, +//GO(gcry_sexp_nth_data, +//GO(gcry_sexp_nth_mpi, +//GO(gcry_sexp_nth_string, +//GO(gcry_sexp_prepend, +//GO(gcry_sexp_release, +//GO(gcry_sexp_sprint, +//GO(gcry_sexp_sscan, +//GO(gcry_sexp_vlist, +//GO(gcry_strdup, +//GO(gcry_strerror, +//GO(gcry_strsource, +//GO(gcry_xcalloc, +//GO(gcry_xcalloc_secure, +//GO(gcry_xmalloc, +//GO(gcry_xmalloc_secure, +//GO(gcry_xrealloc, +//GO(gcry_xstrdup, |