diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/library_list.h | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibnettle8defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibnettle8types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibnettle8undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibnettle8.c | 17 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibnettle8_private.h | 134 |
7 files changed, 186 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index e6d1e96a..84bd02a9 100644 --- a/src/library_list.h +++ b/src/library_list.h @@ -259,6 +259,7 @@ GO("libpsl.so.5", psl5) GO("libssh2.so.1", libssh2) GO("libp11-kit.so.0", p11kit) GO("libtasn1.so.6", libtasn1) +GO("libnettle.so.8", libnettle8) #ifdef ANDROID GO("libc.so", libc) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 385e36aa..a185ec75 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -4605,6 +4605,7 @@ wrappedlibncursesw6: - mvprintw - iFpiipV: - mvwprintw +wrappedlibnettle8: wrappedlibnuma: wrappedlibogg: wrappedlibpanel: diff --git a/src/wrapped/generated/wrappedlibnettle8defs.h b/src/wrapped/generated/wrappedlibnettle8defs.h new file mode 100644 index 00000000..4b2b0004 --- /dev/null +++ b/src/wrapped/generated/wrappedlibnettle8defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappedlibnettle8DEFS_H_ +#define __wrappedlibnettle8DEFS_H_ + + +#endif // __wrappedlibnettle8DEFS_H_ diff --git a/src/wrapped/generated/wrappedlibnettle8types.h b/src/wrapped/generated/wrappedlibnettle8types.h new file mode 100644 index 00000000..469e9326 --- /dev/null +++ b/src/wrapped/generated/wrappedlibnettle8types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappedlibnettle8TYPES_H_ +#define __wrappedlibnettle8TYPES_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 // __wrappedlibnettle8TYPES_H_ diff --git a/src/wrapped/generated/wrappedlibnettle8undefs.h b/src/wrapped/generated/wrappedlibnettle8undefs.h new file mode 100644 index 00000000..6f345ec3 --- /dev/null +++ b/src/wrapped/generated/wrappedlibnettle8undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappedlibnettle8UNDEFS_H_ +#define __wrappedlibnettle8UNDEFS_H_ + + +#endif // __wrappedlibnettle8UNDEFS_H_ diff --git a/src/wrapped/wrappedlibnettle8.c b/src/wrapped/wrappedlibnettle8.c new file mode 100644 index 00000000..5803aec4 --- /dev/null +++ b/src/wrapped/wrappedlibnettle8.c @@ -0,0 +1,17 @@ +#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* libnettle8Name = "libnettle.so.8"; +#define LIBNAME libnettle8 + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedlibnettle8_private.h b/src/wrapped/wrappedlibnettle8_private.h new file mode 100644 index 00000000..5f30b484 --- /dev/null +++ b/src/wrapped/wrappedlibnettle8_private.h @@ -0,0 +1,134 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +error Meh... +#endif + +GO(nettle_camellia_set_decrypt_key, vFpip) +GO(nettle_sha512_init, vFp) +GO(nettle_sha512_digest, vFpip) +GO(nettle_sha384_init, vFp) +GO(nettle_sha384_digest, vFpip) +GO(nettle_sha224_init, vFp) +GO(nettle_sha224_digest, vFpip) +GO(nettle_sha256_init, vFp) +GO(nettle_sha256_update, vFpip) +GO(nettle_sha256_digest, vFpip) +GO(nettle_aes256_encrypt, vFpipp) +GO(nettle_aes256_decrypt, vFpipp) +GO(nettle_gcm_aes256_update, vFpip) +GO(nettle_gcm_aes256_digest, vFpip) +GO(nettle_gcm_aes256_set_key, vFpp) +GO(nettle_gcm_aes256_set_iv, vFpip) +GO(nettle_aes256_set_encrypt_key, vFpp) +GO(nettle_aes256_set_decrypt_key, vFpp) +GO(nettle_camellia256_crypt, vFpipp) +GO(nettle_gcm_camellia256_update, vFpip) +GO(nettle_gcm_camellia256_digest, vFpip) +GO(nettle_gcm_camellia256_set_key, vFpp) +GO(nettle_gcm_camellia256_set_iv, vFpip) +GO(nettle_camellia256_set_encrypt_key, vFpp) +GO(nettle_camellia256_set_decrypt_key, vFpp) +GO(nettle_sha1_init, vFp) +GO(nettle_sha1_digest, vFpip) +GO(nettle_aes128_encrypt, vFpipp) +GO(nettle_aes128_decrypt, vFpipp) +GO(nettle_gcm_aes128_update, vFpip) +GO(nettle_gcm_aes128_digest, vFpip) +GO(nettle_gcm_aes128_set_key, vFpp) +GO(nettle_gcm_aes128_set_iv, vFpip) +GO(nettle_aes128_set_encrypt_key, vFpp) +GO(nettle_aes128_set_decrypt_key, vFpp) +GO(nettle_camellia128_crypt, vFpipp) +GO(nettle_gcm_camellia128_update, vFpip) +GO(nettle_gcm_camellia128_digest, vFpip) +GO(nettle_gcm_camellia128_set_key, vFpp) +GO(nettle_gcm_camellia128_set_iv, vFpip) +GO(nettle_camellia128_set_encrypt_key, vFpp) +GO(nettle_camellia128_set_decrypt_key, vFpp) +GO(nettle_aes192_encrypt, vFpipp) +GO(nettle_aes192_decrypt, vFpipp) +GO(nettle_gcm_aes192_update, vFpip) +GO(nettle_gcm_aes192_digest, vFpip) +GO(nettle_gcm_aes192_set_key, vFpp) +GO(nettle_gcm_aes192_set_iv, vFpip) +GO(nettle_aes192_set_encrypt_key, vFpp) +GO(nettle_aes192_set_decrypt_key, vFpp) +GO(nettle_camellia192_set_encrypt_key, vFpp) +GO(nettle_camellia192_set_decrypt_key, vFpp) +GO(nettle_arctwo_encrypt, vFpipp) +GO(nettle_arctwo_decrypt, vFpipp) +GO(nettle_arctwo40_set_key, vFpp) +GO(nettle_des_encrypt, vFpipp) +GO(nettle_des_decrypt, vFpipp) +GO(nettle_des3_encrypt, vFpipp) +GO(nettle_des3_decrypt, vFpipp) +GO(nettle_arcfour_crypt, vFpipp) +GO(nettle_arcfour_set_key, vFpip) +GO(nettle_arcfour128_set_key, vFpp) +GO(nettle_salsa20_crypt, vFpipp) +GO(nettle_salsa20_256_set_key, vFpp) +GO(nettle_salsa20r12_crypt, vFpipp) +GO(nettle_chacha_crypt32, vFpipp) +GO(nettle_chacha_set_key, vFpp) +GO(nettle_chacha_crypt, vFpipp) +GO(nettle_chacha_poly1305_encrypt, vFpipp) +GO(nettle_chacha_poly1305_decrypt, vFpipp) +GO(nettle_chacha_poly1305_update, vFpip) +GO(nettle_chacha_poly1305_digest, vFpip) +GO(nettle_chacha_poly1305_set_key, vFpp) +GO(nettle_siv_cmac_aes128_set_key, vFpp) +GO(nettle_siv_cmac_aes256_set_key, vFpp) +GO(nettle_streebog256_digest, vFpip) +GO(nettle_umac128_set_nonce, vFpp) +GO(nettle_hmac_streebog512_update, vFpip) +GO(nettle_umac96_set_nonce, vFpp) +GO(nettle_umac128_digest, vFpip) +GO(nettle_gosthash94cp_update, vFpip) +GO(nettle_gosthash94cp_digest, vFpip) +GO(nettle_sha3_256_update, vFpip) +GO(nettle_sha3_256_digest, vFpip) +GO(nettle_hmac_sha1_set_key, vFpip) +GO(nettle_hmac_sha512_set_key, vFpip) +GO(nettle_cmac_aes128_digest, vFpip) +GO(nettle_hmac_md5_set_key, vFpip) +GO(nettle_md5_update, vFpip) +GO(nettle_sha3_384_update, vFpip) +GO(nettle_sha1_update, vFpip) +GO(nettle_hmac_sha384_digest, vFpip) +GO(nettle_hmac_sha224_digest, vFpip) +GO(nettle_hmac_sha1_digest, vFpip) +GO(nettle_sha3_384_digest, vFpip) +GO(nettle_sha3_224_update, vFpip) +GO(nettle_sha3_512_update, vFpip) +GO(nettle_cmac_aes256_digest, vFpip) +GO(nettle_umac96_update, vFpip) +GO(nettle_hmac_sha256_digest, vFpip) +GO(nettle_hmac_streebog512_digest, vFpip) +GO(nettle_cmac_aes128_update, vFpip) +GO(nettle_sha512_update, vFpip) +GO(nettle_sha3_512_digest, vFpip) +GO(nettle_hmac_gosthash94cp_digest, vFpip) +GO(nettle_md2_digest, vFpip) +GO(nettle_umac128_update, vFpip) +GO(nettle_hmac_md5_digest, vFpip) +GO(nettle_streebog512_digest, vFpip) +GO(nettle_hmac_sha1_update, vFpip) +GO(nettle_cmac_aes256_update, vFpip) +GO(nettle_hmac_sha256_set_key, vFpip) +GO(nettle_hmac_sha256_update, vFpip) +GO(nettle_md5_digest, vFpip) +GO(nettle_umac96_digest, vFpip) +GO(nettle_hmac_streebog512_set_key, vFpip) +GO(nettle_hmac_streebog256_set_key, vFpip) +GO(nettle_sha3_224_digest, vFpip) +GO(nettle_hmac_sha512_digest, vFpip) +GO(nettle_hmac_gosthash94cp_update, vFpip) +GO(nettle_streebog512_update, vFpip) +GO(nettle_hmac_sha512_update, vFpip) +GO(nettle_hmac_md5_update, vFpip) +GO(nettle_hmac_streebog256_digest, vFpip) +GO(nettle_md2_update, vFpip) +GO(nettle_hmac_sha384_set_key, vFpip) +GO(nettle_hmac_gosthash94cp_set_key, vFpip) +GO(nettle_hmac_sha224_set_key, vFpip) +GO(nettle_sha3_384_init, vFp) +GO(nettle_sha3_224_init, vFp) |