Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

native.fz


#
# autogenerated by fzextract.fz from /usr/include/wolfssl/ssl.h
#

module c(LM type : mutate) is

################################### structs ####################################

  module WOLFSSL_STACK is
  module WOLFSSL_CRL is
  module WOLFSSL_ASN1_TIME(module data Native_Ref /* from: unsigned char[32] */, module length i32 /* from: int */, module type_ i32 /* from: int */) is
  module WC_RNG is
  module OS_Seed(module fd i32 /* from: int */) is
  module DerBuffer(module buffer Native_Ref /* from: unsigned char * */, module heap Native_Ref /* from: void * */, module length u32 /* from: unsigned int */, module type_ i32 /* from: int */, module dynType i32 /* from: int */) is
  module DRBG_internal(module reseedCtr u32 /* from: unsigned int */, module V Native_Ref /* from: unsigned char[55] */, module C Native_Ref /* from: unsigned char[55] */, module heap Native_Ref /* from: void * */) is
  module Cert(module version i32 /* from: int */, module serial Native_Ref /* from: unsigned char[20] */, module serialSz i32 /* from: int */, module sigType i32 /* from: int */, module daysValid i32 /* from: int */, module selfSigned i32 /* from: int */, module isCA i32 /* from: int */, module pathLen u8 /* from: unsigned char */, module bodySz i32 /* from: int */, module keyType i32 /* from: int */, module beforeDate Native_Ref /* from: unsigned char[32] */, module beforeDateSz i32 /* from: int */, module afterDate Native_Ref /* from: unsigned char[32] */, module afterDateSz i32 /* from: int */, module decodedCert Native_Ref /* from: void * */, module der Native_Ref /* from: unsigned char * */, module heap Native_Ref /* from: void * */, module basicConstSet u8 /* from: unsigned char */, module pathLenSet u8 /* from: unsigned char */) is
  module DecodedCert is
  module DhKey is
  module Md4(module buffLen u32 /* from: unsigned int */, module loLen u32 /* from: unsigned int */, module hiLen u32 /* from: unsigned int */, module digest Native_Ref /* from: unsigned int[4] */, module buffer Native_Ref /* from: unsigned int[16] */) is
  module WC_DerCertList(module buffer Native_Ref /* from: unsigned char * */, module bufferSz u32 /* from: unsigned int */, module next Native_Ref /* from: struct WC_DerCertList * */) is
  module RsaKey is
  module WC_PKCS12 is
  module WOLFSSL_ASN1_INTEGER(module intData Native_Ref /* from: unsigned char[20] */, module negative u8 /* from: unsigned char */, module data Native_Ref /* from: unsigned char * */, module dataMax u32 /* from: unsigned int */, module isDynamic u32 /* from: unsigned int */, module length i32 /* from: int */, module type_ i32 /* from: int */) is
  module WOLFSSL_ACCESS_DESCRIPTION(module method Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */, module location Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */) is
  module WOLFSSL is
  module WOLFSSL_ASN1_BIT_STRING is
  module WOLFSSL_ALERT(module code i32 /* from: int */, module level i32 /* from: int */) is
  module WOLFSSL_ASN1_OTHERNAME(module type_id Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */, module value Native_Ref /* from: struct WOLFSSL_ASN1_TYPE * */) is
  module WOLFSSL_ASN1_OBJECT is
  module WOLFSSL_ASN1_PCTX is
  module WOLFSSL_ASN1_STRING is
  module WOLFSSL_BY_DIR_entry is
  module WOLFSSL_BIO(module mem_buf Native_Ref /* from: struct WOLFSSL_BUF_MEM * */, module method Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, module prev Native_Ref /* from: struct WOLFSSL_BIO * */, module next Native_Ref /* from: struct WOLFSSL_BIO * */, module pair Native_Ref /* from: struct WOLFSSL_BIO * */, module heap Native_Ref /* from: void * */, module ptr Native_Ref /* from: void * */, module usrCtx Native_Ref /* from: void * */, module ip Native_Ref /* from: char * */, module port u16 /* from: unsigned short */, module infoArg Native_Ref /* from: char * */, module infoCb Native_Ref /* from: long (*)(struct WOLFSSL_BIO *, int, char *, int, long, long) */, module wrSz i32 /* from: int */, module wrSzReset i32 /* from: int */, module wrIdx i32 /* from: int */, module rdIdx i32 /* from: int */, module readRq i32 /* from: int */, module num i32 /* from: int */, module eof i32 /* from: int */, module flags i32 /* from: int */, module type_ u8 /* from: unsigned char */, module init u8 /* from: unsigned char */, module shutdown u8 /* from: unsigned char */) is
  module WOLFSSL_AUTHORITY_KEYID is
  module WOLFSSL_ASN1_TYPE is
  module WOLFSSL_BASIC_CONSTRAINTS is
  module WOLFSSL_BY_DIR is
  module WOLFSSL_BIO_METHOD(module type_ u8 /* from: unsigned char */, module name Native_Ref /* from: char[256] */, module writeCb Native_Ref /* from: int (*)(struct WOLFSSL_BIO *, char *, int) */, module readCb Native_Ref /* from: int (*)(struct WOLFSSL_BIO *, char *, int) */, module putsCb Native_Ref /* from: int (*)(struct WOLFSSL_BIO *, char *) */, module getsCb Native_Ref /* from: int (*)(struct WOLFSSL_BIO *, char *, int) */, module ctrlCb Native_Ref /* from: long (*)(struct WOLFSSL_BIO *, int, long, void *) */, module createCb Native_Ref /* from: int (*)(struct WOLFSSL_BIO *) */, module freeCb Native_Ref /* from: int (*)(struct WOLFSSL_BIO *) */, module ctrlInfoCb Native_Ref /* from: long (*)(struct WOLFSSL_BIO *, int, int (*)(struct WOLFSSL_BIO *, int, int)) */) is
  module WOLFSSL_BUFFER_INFO(module buffer Native_Ref /* from: unsigned char * */, module length u32 /* from: unsigned int */) is
  module WOLFSSL_BY_DIR_HASH is
  module WOLFSSL_COMP(module id i32 /* from: int */, module name Native_Ref /* from: char * */, module method Native_Ref /* from: struct WOLFSSL_COMP_METHOD * */) is
  module WOLFSSL_CIPHER is
  module WOLFSSL_CERT_MANAGER is
  module WOLFSSL_CIPHERSUITE_INFO(module rsaAuth u8 /* from: unsigned char */, module eccAuth u8 /* from: unsigned char */, module eccStatic u8 /* from: unsigned char */, module psk u8 /* from: unsigned char */) is
  module WOLFSSL_COMP_METHOD(module type_ i32 /* from: int */) is
  module WOLFSSL_CONF_CTX is
  module WOLFSSL_EC_KEY is
  module WOLFSSL_DSA is
  module WOLFSSL_DH is
  module WOLFSSL_CTX is
  module WOLFSSL_DIST_POINT_NAME is
  module WOLFSSL_DIST_POINT(module distpoint Native_Ref /* from: struct WOLFSSL_DIST_POINT_NAME * */) is
  module WOLFSSL_EC_BUILTIN_CURVE is
  module WOLFSSL_ECDSA_SIG is
  module WOLFSSL_EC_GROUP is
  module WOLFSSL_METHOD is
  module WOLFSSL_EVP_PKEY is
  module WOLFSSL_EVP_CIPHER_CTX is
  module WOLFSSL_EC_POINT is
  module WOLFSSL_EVP_MD_CTX is
  module WOLFSSL_EVP_PKEY_CTX is
  module WOLFSSL_GENERAL_NAME is
  module WOLFSSL_RSA is
  module WOLFSSL_OBJ_NAME is
  module WOLFSSL_RAND_METHOD(module seed Native_Ref /* from: int (*)(void *, int) */, module bytes Native_Ref /* from: int (*)(unsigned char *, int) */, module cleanup Native_Ref /* from: void (*)(void) */, module add Native_Ref /* from: int (*)(void *, int, double) */, module pseudorand Native_Ref /* from: int (*)(unsigned char *, int) */, module status Native_Ref /* from: int (*)(void) */) is
  module WOLFSSL_SESSION is
  module WOLFSSL_SOCKADDR is
  module __pthread_internal_list(module __prev Native_Ref /* from: struct __pthread_internal_list * */, module __next Native_Ref /* from: struct __pthread_internal_list * */) is
  module _IO_codecvt is
  module WOLFSSL_X509_NAME is
  module WOLFSSL_X509_INFO is
  module WOLFSSL_X509_ALGOR(module algorithm Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */, module parameter Native_Ref /* from: struct WOLFSSL_ASN1_TYPE * */) is
  module WOLFSSL_X509 is
  module WOLFSSL_X509V3_CTX(module x509 Native_Ref /* from: struct WOLFSSL_X509 * */) is
  module WOLFSSL_X509_CHAIN is
  module WOLFSSL_X509_ATTRIBUTE(module object Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */, module value Native_Ref /* from: struct WOLFSSL_ASN1_TYPE * */, module set_ Native_Ref /* from: struct WOLFSSL_STACK * */) is
  module WOLFSSL_X509_EXTENSION is
  module WOLFSSL_X509_LOOKUP(module store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, module type_ i32 /* from: int */, module dirs Native_Ref /* from: struct WOLFSSL_BY_DIR * */) is
  module WOLFSSL_X509_LOOKUP_METHOD(module type_ i32 /* from: int */) is
  module WOLFSSL_X509_STORE_CTX(module store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, module current_cert Native_Ref /* from: struct WOLFSSL_X509 * */, module sesChain Native_Ref /* from: struct WOLFSSL_X509_CHAIN * */, module chain Native_Ref /* from: struct WOLFSSL_STACK * */, module domain Native_Ref /* from: char * */, module userCtx Native_Ref /* from: void * */, module error i32 /* from: int */, module error_depth i32 /* from: int */, module discardSessionCerts i32 /* from: int */, module totalCerts i32 /* from: int */, module certs Native_Ref /* from: struct WOLFSSL_BUFFER_INFO * */, module verify_cb Native_Ref /* from: int (*)(int, struct WOLFSSL_X509_STORE_CTX *) */, module heap Native_Ref /* from: void * */) is
  module WOLFSSL_X509_PUBKEY(module algor Native_Ref /* from: struct WOLFSSL_X509_ALGOR * */, module pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */, module pubKeyOID i32 /* from: int */) is
  module WOLFSSL_X509_NAME_ENTRY is
  module WOLFSSL_X509_PKEY(module dec_pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */, module heap Native_Ref /* from: void * */) is
  module WOLFSSL_X509_STORE is
  module WOLFSSL_X509_REVOKED(module serialNumber Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */) is
  module WOLFSSL_v3_ext_method is
  module WOLFSSL_X509_VERIFY_PARAM is
  module WOLFSSL_dynlock_value is
  module _IO_FILE is
  module __fsid_t(module __val Native_Ref /* from: int[2] */) is
  module __cancel_jmp_buf_tag(module __cancel_jmp_buf Native_Ref /* from: long[8] */, module __mask_was_saved i32 /* from: int */) is
  module _IO_marker is
  module _IO_cookie_io_functions_t(module read Native_Ref /* from: long (*)(void *, char *, unsigned long) */, module write Native_Ref /* from: long (*)(void *, char *, unsigned long) */, module seek Native_Ref /* from: int (*)(void *, long *, int) */, module close Native_Ref /* from: int (*)(void *) */) is
  module _IO_wide_data is
  module __dirstream is
  module __locale_struct(module __locales Native_Ref /* from: struct __locale_data *[13] */, module __ctype_b Native_Ref /* from: unsigned short * */, module __ctype_tolower Native_Ref /* from: int * */, module __ctype_toupper Native_Ref /* from: int * */, module __names Native_Ref /* from: char *[13] */) is
  module __kernel_fd_set(module fds_bits Native_Ref /* from: unsigned long[16] */) is
  module __kernel_fsid_t(module val Native_Ref /* from: int[2] */) is
  module __once_flag(module __data i32 /* from: int */) is
  module __pthread_cleanup_frame(module __cancel_routine Native_Ref /* from: void (*)(void *) */, module __cancel_arg Native_Ref /* from: void * */, module __do_it i32 /* from: int */, module __cancel_type i32 /* from: int */) is
  module lldiv_t(module quot i64 /* from: long long */, module rem i64 /* from: long long */) is
  module drand48_data(module __x Native_Ref /* from: unsigned short[3] */, module __old_x Native_Ref /* from: unsigned short[3] */, module __c u16 /* from: unsigned short */, module __init u16 /* from: unsigned short */, module __a u64 /* from: unsigned long long */) is
  module cpu_set_t(module __bits Native_Ref /* from: unsigned long[16] */) is
  module __sigset_t(module __val Native_Ref /* from: unsigned long[16] */) is
  module __pthread_internal_slist(module __next Native_Ref /* from: struct __pthread_internal_slist * */) is
  module __pthread_unwind_buf_t(module __cancel_jmp_buf Native_Ref /* from: struct __cancel_jmp_buf_tag[1] */, module __pad Native_Ref /* from: void *[4] */) is
  module _pthread_cleanup_buffer(module __routine Native_Ref /* from: void (*)(void *) */, module __arg Native_Ref /* from: void * */, module __canceltype i32 /* from: int */, module __prev Native_Ref /* from: struct _pthread_cleanup_buffer * */) is
  module curve448_key is
  module curve25519_key is
  module div_t(module quot i32 /* from: int */, module rem i32 /* from: int */) is
  module dilithium_key is
  module falcon_key is
  module ed25519_key is
  module ecc_key is
  module ed448_key is
  module handShakeInfo_st(module ssl Native_Ref /* from: struct WOLFSSL * */, module cipherName Native_Ref /* from: char[25] */, module packetNames Native_Ref /* from: char[14][25] */, module numberPackets i32 /* from: int */, module negotiationError i32 /* from: int */) is
  module fd_set(module __fds_bits Native_Ref /* from: long[16] */) is
  module in_addr(module s_addr u32 /* from: unsigned int */) is
  module hostent is
  module linger(module l_onoff i32 /* from: int */, module l_linger i32 /* from: int */) is
  module sp_int(module used u32 /* from: unsigned int */, module size u32 /* from: unsigned int */, module dp Native_Ref /* from: unsigned int[193] */) is
  module sched_param(module sched_priority i32 /* from: int */) is
  module random_data(module fptr Native_Ref /* from: int * */, module rptr Native_Ref /* from: int * */, module state Native_Ref /* from: int * */, module rand_type i32 /* from: int */, module rand_deg i32 /* from: int */, module rand_sep i32 /* from: int */, module end_ptr Native_Ref /* from: int * */) is
  module osockaddr(module sa_family u16 /* from: unsigned short */, module sa_data Native_Ref /* from: unsigned char[14] */) is
  module sigevent is
  module sockaddr(module sa_family u16 /* from: unsigned short */, module sa_data Native_Ref /* from: char[14] */) is
  module wc_Sha(module buffLen u32 /* from: unsigned int */, module loLen u32 /* from: unsigned int */, module hiLen u32 /* from: unsigned int */, module buffer Native_Ref /* from: unsigned int[16] */, module digest Native_Ref /* from: unsigned int[5] */, module heap Native_Ref /* from: void * */) is
  module sphincs_key is
  module sp_int_minimal(module used u32 /* from: unsigned int */, module size u32 /* from: unsigned int */, module dp Native_Ref /* from: unsigned int[1] */) is
  module wc_Md5(module buffLen u32 /* from: unsigned int */, module loLen u32 /* from: unsigned int */, module hiLen u32 /* from: unsigned int */, module buffer Native_Ref /* from: unsigned int[16] */, module digest Native_Ref /* from: unsigned int[4] */, module heap Native_Ref /* from: void * */) is
  module wc_Sha256(module digest Native_Ref /* from: unsigned int[8] */, module buffer Native_Ref /* from: unsigned int[16] */, module buffLen u32 /* from: unsigned int */, module loLen u32 /* from: unsigned int */, module hiLen u32 /* from: unsigned int */, module heap Native_Ref /* from: void * */) is

############################ function declarations #############################

  # module __bswap_64(__bsx --error: unsigned long--) --error: unsigned long-- => native
  # module __ctype_get_mb_cur_max --error: unsigned long-- => native
  # module __getdelim(__lineptr Native_Ref /* from: char ** */, __n LM.array u32 /* from: unsigned long * */, __delimiter i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) --error: long-- => native
  # module __memcmpeq(__s1 LM.array u8 /* from: void * */, __s2 LM.array u8 /* from: void * */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module __mempcpy(__dest LM.array u8 /* from: void * */, __src LM.array u8 /* from: void * */, __n --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module __sched_cpualloc(__count --error: unsigned long--) Native_Ref /* from: cpu_set_t * */ => native
  # module __sched_cpucount(__setsize --error: unsigned long--, __setp Native_Ref /* from: cpu_set_t * */) i32 /* from: int */ => native
  # module __stpncpy(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module __uint64_identity(__x --error: unsigned long--) --error: unsigned long-- => native
  # module a64l(__s LM.array u8 /* from: char * */) --error: long-- => native
  # module aligned_alloc(__alignment --error: unsigned long--, __size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module alloca(__size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module arc4random_buf(__buf LM.array u8 /* from: void * */, __size --error: unsigned long--) unit => native
  # module atol(__nptr LM.array u8 /* from: char * */) --error: long-- => native
  # module bcmp(__s1 LM.array u8 /* from: void * */, __s2 LM.array u8 /* from: void * */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module bcopy(__src LM.array u8 /* from: void * */, __dest LM.array u8 /* from: void * */, __n --error: unsigned long--) unit => native
  # module bsearch(__key LM.array u8 /* from: void * */, __base LM.array u8 /* from: void * */, __nmemb --error: unsigned long--, __size --error: unsigned long--, __compar F4 : Function i32 /* from: int */ Native_Ref /* from: void * */ Native_Ref /* from: void * */) Native_Ref /* from: void * */ => native
  # module bzero(__s LM.array u8 /* from: void * */, __n --error: unsigned long--) unit => native
  # module calloc(__nmemb --error: unsigned long--, __size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module clock --error: long-- => native
  # module confstr(__name i32 /* from: int */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) --error: unsigned long-- => native
  # module difftime(__time1 --error: long--, __time0 --error: long--) f64 /* from: double */ => native
  # module div(__numer i32 /* from: int */, __denom i32 /* from: int */) --error: div_t-- => native
  # module ecvt_r(__value f64 /* from: double */, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module explicit_bzero(__s LM.array u8 /* from: void * */, __n --error: unsigned long--) unit => native
  # module fcvt_r(__value f64 /* from: double */, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module ffsl(__l --error: long--) i32 /* from: int */ => native
  # module fmemopen(__s LM.array u8 /* from: void * */, __len --error: unsigned long--, __modes LM.array u8 /* from: char * */) Native_Ref /* from: struct _IO_FILE * */ => native
  # module fopencookie(__magic_cookie LM.array u8 /* from: void * */, __modes LM.array u8 /* from: char * */, __io_funcs --error: struct _IO_cookie_io_functions_t--) Native_Ref /* from: struct _IO_FILE * */ => native
  # module fpathconf(__fd i32 /* from: int */, __name i32 /* from: int */) --error: long-- => native
  # module fread(__ptr LM.array u8 /* from: void * */, __size --error: unsigned long--, __n --error: unsigned long--, __stream Native_Ref /* from: struct _IO_FILE * */) --error: unsigned long-- => native
  # module fread_unlocked(__ptr LM.array u8 /* from: void * */, __size --error: unsigned long--, __n --error: unsigned long--, __stream Native_Ref /* from: struct _IO_FILE * */) --error: unsigned long-- => native
  # module fseek(__stream Native_Ref /* from: struct _IO_FILE * */, __off --error: long--, __whence i32 /* from: int */) i32 /* from: int */ => native
  # module fseeko(__stream Native_Ref /* from: struct _IO_FILE * */, __off --error: long--, __whence i32 /* from: int */) i32 /* from: int */ => native
  # module ftell(__stream Native_Ref /* from: struct _IO_FILE * */) --error: long-- => native
  # module ftello(__stream Native_Ref /* from: struct _IO_FILE * */) --error: long-- => native
  # module ftruncate(__fd i32 /* from: int */, __length --error: long--) i32 /* from: int */ => native
  # module fwrite(__ptr LM.array u8 /* from: void * */, __size --error: unsigned long--, __n --error: unsigned long--, __s Native_Ref /* from: struct _IO_FILE * */) --error: unsigned long-- => native
  # module fwrite_unlocked(__ptr LM.array u8 /* from: void * */, __size --error: unsigned long--, __n --error: unsigned long--, __stream Native_Ref /* from: struct _IO_FILE * */) --error: unsigned long-- => native
  # module getcwd(__buf LM.array u8 /* from: char * */, __size --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module getdelim(__lineptr Native_Ref /* from: char ** */, __n LM.array u32 /* from: unsigned long * */, __delimiter i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) --error: long-- => native
  # module getdirentries(__fd i32 /* from: int */, __buf LM.array u8 /* from: char * */, __nbytes --error: unsigned long--, __basep Native_Ref /* from: long * */) --error: long-- => native
  # module getdomainname(__name LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module getentropy(__buffer LM.array u8 /* from: void * */, __length --error: unsigned long--) i32 /* from: int */ => native
  # module gethostid --error: long-- => native
  # module gethostname(__name LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module getline(__lineptr Native_Ref /* from: char ** */, __n LM.array u32 /* from: unsigned long * */, __stream Native_Ref /* from: struct _IO_FILE * */) --error: long-- => native
  # module getlogin_r(__name LM.array u8 /* from: char * */, __name_len --error: unsigned long--) i32 /* from: int */ => native
  # module inet_lnaof(__in --error: struct in_addr--) u32 /* from: unsigned int */ => native
  # module inet_makeaddr(__net u32 /* from: unsigned int */, __host u32 /* from: unsigned int */) --error: struct in_addr-- => native
  # module inet_net_ntop(__af i32 /* from: int */, __cp LM.array u8 /* from: void * */, __bits i32 /* from: int */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module inet_net_pton(__af i32 /* from: int */, __cp LM.array u8 /* from: char * */, __buf LM.array u8 /* from: void * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module inet_neta(__net u32 /* from: unsigned int */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module inet_netof(__in --error: struct in_addr--) u32 /* from: unsigned int */ => native
  # module inet_ntoa(__in --error: struct in_addr--) Native_Ref /* from: char * */ => native
  # module initstate(__seed u32 /* from: unsigned int */, __statebuf LM.array u8 /* from: char * */, __statelen --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module initstate_r(__seed u32 /* from: unsigned int */, __statebuf LM.array u8 /* from: char * */, __statelen --error: unsigned long--, __buf Native_Ref /* from: struct random_data * */) i32 /* from: int */ => native
  # module jrand48(__xsubi LM.array u32 /* from: unsigned short[3] */) --error: long-- => native
  # module l64a(__n --error: long--) Native_Ref /* from: char * */ => native
  # module labs(__x --error: long--) --error: long-- => native
  # module ldiv(__numer --error: long--, __denom --error: long--) --error: ldiv_t-- => native
  # module lldiv(__numer i64 /* from: long long */, __denom i64 /* from: long long */) --error: lldiv_t-- => native
  # module lockf(__fd i32 /* from: int */, __cmd i32 /* from: int */, __len --error: long--) i32 /* from: int */ => native
  # module lrand48 --error: long-- => native
  # module lseek(__fd i32 /* from: int */, __offset --error: long--, __whence i32 /* from: int */) --error: long-- => native
  # module malloc(__size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module mblen(__s LM.array u8 /* from: char * */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module mbstowcs(__pwcs LM.array i32 /* from: int * */, __s LM.array u8 /* from: char * */, __n --error: unsigned long--) --error: unsigned long-- => native
  # module mbtowc(__pwc LM.array i32 /* from: int * */, __s LM.array u8 /* from: char * */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module memccpy(__dest LM.array u8 /* from: void * */, __src LM.array u8 /* from: void * */, __c i32 /* from: int */, __n --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module memchr(__s LM.array u8 /* from: void * */, __c i32 /* from: int */, __n --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module memcmp(__s1 LM.array u8 /* from: void * */, __s2 LM.array u8 /* from: void * */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module memcpy(__dest LM.array u8 /* from: void * */, __src LM.array u8 /* from: void * */, __n --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module memmem(__haystack LM.array u8 /* from: void * */, __haystacklen --error: unsigned long--, __needle LM.array u8 /* from: void * */, __needlelen --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module memmove(__dest LM.array u8 /* from: void * */, __src LM.array u8 /* from: void * */, __n --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module mempcpy(__dest LM.array u8 /* from: void * */, __src LM.array u8 /* from: void * */, __n --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module memset(__s LM.array u8 /* from: void * */, __c i32 /* from: int */, __n --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module mknod(__path LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */, __dev --error: unsigned long--) i32 /* from: int */ => native
  # module mknodat(__fd i32 /* from: int */, __path LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */, __dev --error: unsigned long--) i32 /* from: int */ => native
  # module mktime(__tp Native_Ref /* from: struct tm * */) --error: long-- => native
  # module mrand48 --error: long-- => native
  # module nrand48(__xsubi LM.array u32 /* from: unsigned short[3] */) --error: long-- => native
  # module pathconf(__path LM.array u8 /* from: char * */, __name i32 /* from: int */) --error: long-- => native
  # module posix_fadvise(__fd i32 /* from: int */, __offset --error: long--, __len --error: long--, __advise i32 /* from: int */) i32 /* from: int */ => native
  # module posix_fallocate(__fd i32 /* from: int */, __offset --error: long--, __len --error: long--) i32 /* from: int */ => native
  # module posix_memalign(__memptr Native_Ref /* from: void ** */, __alignment --error: unsigned long--, __size --error: unsigned long--) i32 /* from: int */ => native
  # module pread(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __nbytes --error: unsigned long--, __offset --error: long--) --error: long-- => native
  # module preadv(__fd i32 /* from: int */, __iovec Native_Ref /* from: struct iovec * */, __count i32 /* from: int */, __offset --error: long--) --error: long-- => native
  # module profil(__sample_buffer LM.array u32 /* from: unsigned short * */, __size --error: unsigned long--, __offset --error: unsigned long--, __scale u32 /* from: unsigned int */) i32 /* from: int */ => native
  # module pthread_attr_setguardsize(__attr Native_Ref /* from: union pthread_attr_t * */, __guardsize --error: unsigned long--) i32 /* from: int */ => native
  # module pthread_attr_setstack(__attr Native_Ref /* from: union pthread_attr_t * */, __stackaddr LM.array u8 /* from: void * */, __stacksize --error: unsigned long--) i32 /* from: int */ => native
  # module pthread_attr_setstacksize(__attr Native_Ref /* from: union pthread_attr_t * */, __stacksize --error: unsigned long--) i32 /* from: int */ => native
  # module pthread_cancel(__th --error: unsigned long--) i32 /* from: int */ => native
  # module pthread_detach(__th --error: unsigned long--) i32 /* from: int */ => native
  # module pthread_equal(__thread1 --error: unsigned long--, __thread2 --error: unsigned long--) i32 /* from: int */ => native
  # module pthread_getcpuclockid(__thread_id --error: unsigned long--, __clock_id LM.array i32 /* from: int * */) i32 /* from: int */ => native
  # module pthread_getschedparam(__target_thread --error: unsigned long--, __policy LM.array i32 /* from: int * */, __param Native_Ref /* from: struct sched_param * */) i32 /* from: int */ => native
  # module pthread_join(__th --error: unsigned long--, __thread_return Native_Ref /* from: void ** */) i32 /* from: int */ => native
  # module pthread_self --error: unsigned long-- => native
  # module pthread_setschedparam(__target_thread --error: unsigned long--, __policy i32 /* from: int */, __param Native_Ref /* from: struct sched_param * */) i32 /* from: int */ => native
  # module pthread_setschedprio(__target_thread --error: unsigned long--, __prio i32 /* from: int */) i32 /* from: int */ => native
  # module pwrite(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __n --error: unsigned long--, __offset --error: long--) --error: long-- => native
  # module pwritev(__fd i32 /* from: int */, __iovec Native_Ref /* from: struct iovec * */, __count i32 /* from: int */, __offset --error: long--) --error: long-- => native
  # module qecvt(__value --error: long double--, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */) Native_Ref /* from: char * */ => native
  # module qecvt_r(__value --error: long double--, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module qfcvt(__value --error: long double--, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */) Native_Ref /* from: char * */ => native
  # module qfcvt_r(__value --error: long double--, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module qgcvt(__value --error: long double--, __ndigit i32 /* from: int */, __buf LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  # module qsort(__base LM.array u8 /* from: void * */, __nmemb --error: unsigned long--, __size --error: unsigned long--, __compar F3 : Function i32 /* from: int */ Native_Ref /* from: void * */ Native_Ref /* from: void * */) unit => native
  # module random --error: long-- => native
  # module read(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __nbytes --error: unsigned long--) --error: long-- => native
  # module readlink(__path LM.array u8 /* from: char * */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) --error: long-- => native
  # module readlinkat(__fd i32 /* from: int */, __path LM.array u8 /* from: char * */, __buf LM.array u8 /* from: char * */, __len --error: unsigned long--) --error: long-- => native
  # module readv(__fd i32 /* from: int */, __iovec Native_Ref /* from: struct iovec * */, __count i32 /* from: int */) --error: long-- => native
  # module realloc(__ptr LM.array u8 /* from: void * */, __size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module reallocarray(__ptr LM.array u8 /* from: void * */, __nmemb --error: unsigned long--, __size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module recv(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __n --error: unsigned long--, __flags i32 /* from: int */) --error: long-- => native
  # module recvfrom(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __n --error: unsigned long--, __flags i32 /* from: int */, __addr Native_Ref /* from: struct sockaddr * */, __addr_len LM.array u32 /* from: unsigned int * */) --error: long-- => native
  # module recvmsg(__fd i32 /* from: int */, __message Native_Ref /* from: struct msghdr * */, __flags i32 /* from: int */) --error: long-- => native
  # module sbrk(__delta --error: long--) Native_Ref /* from: void * */ => native
  # module seekdir(__dirp Native_Ref /* from: struct __dirstream * */, __pos --error: long--) unit => native
  # module send(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __n --error: unsigned long--, __flags i32 /* from: int */) --error: long-- => native
  # module sendmsg(__fd i32 /* from: int */, __message Native_Ref /* from: struct msghdr * */, __flags i32 /* from: int */) --error: long-- => native
  # module sendto(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __n --error: unsigned long--, __flags i32 /* from: int */, __addr Native_Ref /* from: struct sockaddr * */, __addr_len u32 /* from: unsigned int */) --error: long-- => native
  # module setbuffer(__stream Native_Ref /* from: struct _IO_FILE * */, __buf LM.array u8 /* from: char * */, __size --error: unsigned long--) unit => native
  # module setdomainname(__name LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module sethostid(__id --error: long--) i32 /* from: int */ => native
  # module sethostname(__name LM.array u8 /* from: char * */, __len --error: unsigned long--) i32 /* from: int */ => native
  # module setvbuf(__stream Native_Ref /* from: struct _IO_FILE * */, __buf LM.array u8 /* from: char * */, __modes i32 /* from: int */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module snprintf(__s LM.array u8 /* from: char * */, __maxlen --error: unsigned long--, __format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  # module sp_set_int(a Native_Ref /* from: struct sp_int * */, n --error: unsigned long--) i32 /* from: int */ => native
  # module srand48(__seedval --error: long--) unit => native
  # module srand48_r(__seedval --error: long--, __buffer Native_Ref /* from: struct drand48_data * */) i32 /* from: int */ => native
  # module stpncpy(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module strcspn(__s LM.array u8 /* from: char * */, __reject LM.array u8 /* from: char * */) --error: unsigned long-- => native
  # module strerror_r(__errnum i32 /* from: int */, __buf LM.array u8 /* from: char * */, __buflen --error: unsigned long--) i32 /* from: int */ => native
  # module strftime(__s LM.array u8 /* from: char * */, __maxsize --error: unsigned long--, __format LM.array u8 /* from: char * */, __tp Native_Ref /* from: struct tm * */) --error: unsigned long-- => native
  # module strftime_l(__s LM.array u8 /* from: char * */, __maxsize --error: unsigned long--, __format LM.array u8 /* from: char * */, __tp Native_Ref /* from: struct tm * */, __loc Native_Ref /* from: struct __locale_struct * */) --error: unsigned long-- => native
  # module strlcat(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--) --error: unsigned long-- => native
  # module strlcpy(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--) --error: unsigned long-- => native
  # module strlen(__s LM.array u8 /* from: char * */) --error: unsigned long-- => native
  # module strncasecmp(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module strncasecmp_l(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */, __n --error: unsigned long--, __loc Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  # module strncat(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module strncmp(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */, __n --error: unsigned long--) i32 /* from: int */ => native
  # module strncpy(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module strndup(__string LM.array u8 /* from: char * */, __n --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module strnlen(__string LM.array u8 /* from: char * */, __maxlen --error: unsigned long--) --error: unsigned long-- => native
  # module strspn(__s LM.array u8 /* from: char * */, __accept LM.array u8 /* from: char * */) --error: unsigned long-- => native
  # module strtol(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */, __base i32 /* from: int */) --error: long-- => native
  # module strtold(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */) --error: long double-- => native
  # module strtoul(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */, __base i32 /* from: int */) --error: unsigned long-- => native
  # module strxfrm(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--) --error: unsigned long-- => native
  # module strxfrm_l(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */, __n --error: unsigned long--, __l Native_Ref /* from: struct __locale_struct * */) --error: unsigned long-- => native
  # module syscall(__sysno --error: long--) --error: long-- => native
  # module sysconf(__name i32 /* from: int */) --error: long-- => native
  # module telldir(__dirp Native_Ref /* from: struct __dirstream * */) --error: long-- => native
  # module time(__timer Native_Ref /* from: long * */) --error: long-- => native
  # module timegm(__tp Native_Ref /* from: struct tm * */) --error: long-- => native
  # module timelocal(__tp Native_Ref /* from: struct tm * */) --error: long-- => native
  # module truncate(__file LM.array u8 /* from: char * */, __length --error: long--) i32 /* from: int */ => native
  # module ttyname_r(__fd i32 /* from: int */, __buf LM.array u8 /* from: char * */, __buflen --error: unsigned long--) i32 /* from: int */ => native
  # module valloc(__size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module vsnprintf(__s LM.array u8 /* from: char * */, __maxlen --error: unsigned long--, __format LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  # module wc_PemToDer(buff LM.array u32 /* from: unsigned char * */, longSz --error: long--, type_ i32 /* from: int */, pDer Native_Ref /* from: struct DerBuffer ** */, heap LM.array u8 /* from: void * */, info Native_Ref /* from: struct EncryptedInfo * */, keyFormat LM.array i32 /* from: int * */) i32 /* from: int */ => native
  # module wc_SetTimeCb(f --error: long (*)(long *)--) i32 /* from: int */ => native
  # module wc_Time(t Native_Ref /* from: long * */) --error: long-- => native
  # module wc_strlcat(dst LM.array u8 /* from: char * */, src LM.array u8 /* from: char * */, dstSize --error: unsigned long--) --error: unsigned long-- => native
  # module wc_strlcpy(dst LM.array u8 /* from: char * */, src LM.array u8 /* from: char * */, dstSize --error: unsigned long--) --error: unsigned long-- => native
  # module wcstombs(__s LM.array u8 /* from: char * */, __pwcs LM.array i32 /* from: int * */, __n --error: unsigned long--) --error: unsigned long-- => native
  # module wolfSSL_ASN1_INTEGER_get(a Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */) --error: long-- => native
  # module wolfSSL_ASN1_INTEGER_set(a Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */, v --error: long--) i32 /* from: int */ => native
  # module wolfSSL_BIO_ctrl(bp Native_Ref /* from: struct WOLFSSL_BIO * */, cmd i32 /* from: int */, larg --error: long--, parg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_BIO_do_connect(b Native_Ref /* from: struct WOLFSSL_BIO * */) --error: long-- => native
  # module wolfSSL_BIO_do_handshake(b Native_Ref /* from: struct WOLFSSL_BIO * */) --error: long-- => native
  # module wolfSSL_BIO_get_mem_ptr(bio Native_Ref /* from: struct WOLFSSL_BIO * */, m Native_Ref /* from: struct WOLFSSL_BUF_MEM ** */) --error: long-- => native
  # module wolfSSL_BIO_get_ssl(bio Native_Ref /* from: struct WOLFSSL_BIO * */, ssl Native_Ref /* from: struct WOLFSSL ** */) --error: long-- => native
  # module wolfSSL_BIO_int_ctrl(bp Native_Ref /* from: struct WOLFSSL_BIO * */, cmd i32 /* from: int */, larg --error: long--, iarg i32 /* from: int */) --error: long-- => native
  # module wolfSSL_BIO_meth_set_ctrl(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, biom_ctrl --error: long (*)(struct WOLFSSL_BIO *, int, long, void *)--) i32 /* from: int */ => native
  # module wolfSSL_BIO_set_callback(bio Native_Ref /* from: struct WOLFSSL_BIO * */, callback_func --error: long (*)(struct WOLFSSL_BIO *, int, char *, int, long, long)--) unit => native
  # module wolfSSL_BIO_set_close(b Native_Ref /* from: struct WOLFSSL_BIO * */, flag --error: long--) i32 /* from: int */ => native
  # module wolfSSL_BIO_set_conn_hostname(b Native_Ref /* from: struct WOLFSSL_BIO * */, name LM.array u8 /* from: char * */) --error: long-- => native
  # module wolfSSL_BIO_set_conn_port(b Native_Ref /* from: struct WOLFSSL_BIO * */, port LM.array u8 /* from: char * */) --error: long-- => native
  # module wolfSSL_BIO_set_fd(b Native_Ref /* from: struct WOLFSSL_BIO * */, fd i32 /* from: int */, flag i32 /* from: int */) --error: long-- => native
  # module wolfSSL_BIO_set_mem_eof_return(bio Native_Ref /* from: struct WOLFSSL_BIO * */, v i32 /* from: int */) --error: long-- => native
  # module wolfSSL_BIO_set_nbio(bio Native_Ref /* from: struct WOLFSSL_BIO * */, on --error: long--) --error: long-- => native
  # module wolfSSL_BIO_set_ssl(b Native_Ref /* from: struct WOLFSSL_BIO * */, ssl Native_Ref /* from: struct WOLFSSL * */, flag i32 /* from: int */) --error: long-- => native
  # module wolfSSL_BIO_set_write_buf_size(b Native_Ref /* from: struct WOLFSSL_BIO * */, size --error: long--) i32 /* from: int */ => native
  # module wolfSSL_BIO_set_write_buffer_size(bio Native_Ref /* from: struct WOLFSSL_BIO * */, size --error: long--) --error: long-- => native
  # module wolfSSL_CTX_LoadCRLBuffer(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, buff LM.array u32 /* from: unsigned char * */, sz --error: long--, type_ i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_SetTmpDH_buffer(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, b LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_add_extra_chain_cert(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) --error: long-- => native
  # module wolfSSL_CTX_clear_mode(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, mode --error: long--) --error: long-- => native
  # module wolfSSL_CTX_clear_options(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, opt --error: long--) --error: long-- => native
  # module wolfSSL_CTX_flush_sessions(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, tm --error: long--) unit => native
  # module wolfSSL_CTX_get_mode(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_get_options(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_get_session_cache_mode(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_get_verify_depth(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_load_verify_buffer(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_load_verify_buffer_ex(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */, userChain i32 /* from: int */, flags u32 /* from: unsigned int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_load_verify_chain_buffer_format(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_sess_accept(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_accept_good(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_accept_renegotiate(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_cache_full(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_cb_hits(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_connect(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_connect_good(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_connect_renegotiate(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_get_cache_size(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_hits(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_misses(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_number(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_sess_set_cache_size(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, sz --error: long--) --error: long-- => native
  # module wolfSSL_CTX_sess_timeouts(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) --error: long-- => native
  # module wolfSSL_CTX_set_mode(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, mode --error: long--) --error: long-- => native
  # module wolfSSL_CTX_set_options(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, opt --error: long--) --error: long-- => native
  # module wolfSSL_CTX_set_session_cache_mode(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, mode --error: long--) --error: long-- => native
  # module wolfSSL_CTX_set_tlsext_opaque_prf_input_callback_arg(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, arg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_CTX_set_tlsext_status_arg(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, arg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_CTX_use_PrivateKey_Id(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, id LM.array u32 /* from: unsigned char * */, sz --error: long--, devId i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_use_PrivateKey_buffer(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_use_PrivateKey_id(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, id LM.array u32 /* from: unsigned char * */, sz --error: long--, devId i32 /* from: int */, keySz --error: long--) i32 /* from: int */ => native
  # module wolfSSL_CTX_use_certificate_buffer(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CTX_use_certificate_chain_buffer(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--) i32 /* from: int */ => native
  # module wolfSSL_CTX_use_certificate_chain_buffer_format(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CertManagerLoadCABuffer(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, buff LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CertManagerLoadCABuffer_ex(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, buff LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */, userChain i32 /* from: int */, flags u32 /* from: unsigned int */) i32 /* from: int */ => native
  # module wolfSSL_CertManagerLoadCRLBuffer(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, buff LM.array u32 /* from: unsigned char * */, sz --error: long--, type_ i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_CertManagerVerifyBuffer(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, buff LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_ERR_GET_LIB(err --error: unsigned long--) i32 /* from: int */ => native
  # module wolfSSL_ERR_GET_REASON(err --error: unsigned long--) i32 /* from: int */ => native
  # module wolfSSL_ERR_error_string(errNumber --error: unsigned long--, data LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  # module wolfSSL_ERR_error_string_n(e --error: unsigned long--, buf LM.array u8 /* from: char * */, sz --error: unsigned long--) unit => native
  # module wolfSSL_ERR_func_error_string(e --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module wolfSSL_ERR_get_error --error: unsigned long-- => native
  # module wolfSSL_ERR_get_error_line(file Native_Ref /* from: char ** */, line LM.array i32 /* from: int * */) --error: unsigned long-- => native
  # module wolfSSL_ERR_get_error_line_data(file Native_Ref /* from: char ** */, line LM.array i32 /* from: int * */, data Native_Ref /* from: char ** */, flags LM.array i32 /* from: int * */) --error: unsigned long-- => native
  # module wolfSSL_ERR_lib_error_string(e --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module wolfSSL_ERR_peek_error --error: unsigned long-- => native
  # module wolfSSL_ERR_reason_error_string(e --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module wolfSSL_ERR_remove_state(id --error: unsigned long--) unit => native
  # module wolfSSL_JoinThread(thread --error: unsigned long--) i32 /* from: int */ => native
  # module wolfSSL_LoadCRLBuffer(ssl Native_Ref /* from: struct WOLFSSL * */, buff LM.array u32 /* from: unsigned char * */, sz --error: long--, type_ i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_Malloc(size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module wolfSSL_RAND_file_name(fname LM.array u8 /* from: char * */, len --error: unsigned long--) Native_Ref /* from: char * */ => native
  # module wolfSSL_RAND_load_file(fname LM.array u8 /* from: char * */, len --error: long--) i32 /* from: int */ => native
  # module wolfSSL_RSA_generate_key(len i32 /* from: int */, e --error: unsigned long--, f F2 : Function unit i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: void * */, data LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_RSA * */ => native
  # module wolfSSL_Realloc(ptr LM.array u8 /* from: void * */, size --error: unsigned long--) Native_Ref /* from: void * */ => native
  # module wolfSSL_SESSION_get_ticket_lifetime_hint(sess Native_Ref /* from: struct WOLFSSL_SESSION * */) --error: unsigned long-- => native
  # module wolfSSL_SESSION_get_time(session Native_Ref /* from: struct WOLFSSL_SESSION * */) --error: long-- => native
  # module wolfSSL_SESSION_get_timeout(session Native_Ref /* from: struct WOLFSSL_SESSION * */) --error: long-- => native
  # module wolfSSL_SESSION_set_time(ses Native_Ref /* from: struct WOLFSSL_SESSION * */, t --error: long--) --error: long-- => native
  # module wolfSSL_SSL_SESSION_set_timeout(ses Native_Ref /* from: struct WOLFSSL_SESSION * */, t --error: long--) --error: long-- => native
  # module wolfSSL_SSL_get_mode(ssl Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_SetAllocators(mf --error: void *(*)(unsigned long)--, ff F1 : Function unit Native_Ref /* from: void * */, rf --error: void *(*)(void *, unsigned long)--) i32 /* from: int */ => native
  # module wolfSSL_SetTmpDH_buffer(ssl Native_Ref /* from: struct WOLFSSL * */, b LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_X509_LOOKUP_add_dir(lookup Native_Ref /* from: struct WOLFSSL_X509_LOOKUP * */, dir LM.array u8 /* from: char * */, type_ --error: long--) i32 /* from: int */ => native
  # module wolfSSL_X509_LOOKUP_ctrl(ctx Native_Ref /* from: struct WOLFSSL_X509_LOOKUP * */, cmd i32 /* from: int */, argc LM.array u8 /* from: char * */, argl --error: long--, ret Native_Ref /* from: char ** */) i32 /* from: int */ => native
  # module wolfSSL_X509_LOOKUP_load_file(lookup Native_Ref /* from: struct WOLFSSL_X509_LOOKUP * */, file LM.array u8 /* from: char * */, type_ --error: long--) i32 /* from: int */ => native
  # module wolfSSL_X509_NAME_hash(name Native_Ref /* from: struct WOLFSSL_X509_NAME * */) --error: unsigned long-- => native
  # module wolfSSL_X509_STORE_set_flags(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, flag --error: unsigned long--) i32 /* from: int */ => native
  # module wolfSSL_X509_check_host(x Native_Ref /* from: struct WOLFSSL_X509 * */, chk LM.array u8 /* from: char * */, chklen --error: unsigned long--, flags u32 /* from: unsigned int */, peername Native_Ref /* from: char ** */) i32 /* from: int */ => native
  # module wolfSSL_X509_issuer_name_hash(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) --error: unsigned long-- => native
  # module wolfSSL_X509_print_ex(bio Native_Ref /* from: struct WOLFSSL_BIO * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */, nmflags --error: unsigned long--, cflag --error: unsigned long--) i32 /* from: int */ => native
  # module wolfSSL_X509_set_version(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, v --error: long--) i32 /* from: int */ => native
  # module wolfSSL_X509_subject_name_hash(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) --error: unsigned long-- => native
  # module wolfSSL_X509_verify_cert_error_string(err --error: long--) Native_Ref /* from: char * */ => native
  # module wolfSSL_clear_num_renegotiations(s Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_clear_options(s Native_Ref /* from: struct WOLFSSL * */, op --error: long--) --error: long-- => native
  # module wolfSSL_d2i_ASN1_INTEGER(a Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER ** */, in_ Native_Ref /* from: unsigned char ** */, inSz --error: long--) Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */ => native
  # module wolfSSL_d2i_DISPLAYTEXT(asn Native_Ref /* from: struct WOLFSSL_ASN1_STRING ** */, in_ Native_Ref /* from: unsigned char ** */, len --error: long--) Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */ => native
  # module wolfSSL_d2i_PKCS8_PKEY(pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */, keyBuf Native_Ref /* from: unsigned char ** */, keyLen --error: long--) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  # module wolfSSL_d2i_PUBKEY(key Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */, in_ Native_Ref /* from: unsigned char ** */, inSz --error: long--) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  # module wolfSSL_d2i_PrivateKey(type_ i32 /* from: int */, out Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */, in_ Native_Ref /* from: unsigned char ** */, inSz --error: long--) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  # module wolfSSL_d2i_PrivateKey_EVP(key Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */, in_ Native_Ref /* from: unsigned char ** */, inSz --error: long--) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  # module wolfSSL_d2i_PublicKey(type_ i32 /* from: int */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */, in_ Native_Ref /* from: unsigned char ** */, inSz --error: long--) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  # module wolfSSL_d2i_RSAPrivateKey(r Native_Ref /* from: struct WOLFSSL_RSA ** */, derBuf Native_Ref /* from: unsigned char ** */, derSz --error: long--) Native_Ref /* from: struct WOLFSSL_RSA * */ => native
  # module wolfSSL_d2i_RSAPublicKey(r Native_Ref /* from: struct WOLFSSL_RSA ** */, pp Native_Ref /* from: unsigned char ** */, len --error: long--) Native_Ref /* from: struct WOLFSSL_RSA * */ => native
  # module wolfSSL_d2i_SSL_SESSION(sess Native_Ref /* from: struct WOLFSSL_SESSION ** */, p Native_Ref /* from: unsigned char ** */, i --error: long--) Native_Ref /* from: struct WOLFSSL_SESSION * */ => native
  # module wolfSSL_d2i_X509_NAME(name Native_Ref /* from: struct WOLFSSL_X509_NAME ** */, in_ Native_Ref /* from: unsigned char ** */, length --error: long--) Native_Ref /* from: struct WOLFSSL_X509_NAME * */ => native
  # module wolfSSL_flush_sessions(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, tm --error: long--) unit => native
  # module wolfSSL_get_ciphersuite_info(first u8 /* from: unsigned char */, second u8 /* from: unsigned char */) --error: struct WOLFSSL_CIPHERSUITE_INFO-- => native
  # module wolfSSL_get_options(s Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_get_tlsext_status_exts(s Native_Ref /* from: struct WOLFSSL * */, arg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_get_tlsext_status_ids(s Native_Ref /* from: struct WOLFSSL * */, arg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_get_tlsext_status_ocsp_resp(s Native_Ref /* from: struct WOLFSSL * */, resp Native_Ref /* from: unsigned char ** */) --error: long-- => native
  # module wolfSSL_get_tlsext_status_type(s Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_get_verify_depth(ssl Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_get_verify_result(ssl Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_num_renegotiations(s Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_set_id_callback(f --error: unsigned long (*)(void)--) unit => native
  # module wolfSSL_set_options(s Native_Ref /* from: struct WOLFSSL * */, op --error: long--) --error: long-- => native
  # module wolfSSL_set_tlsext_debug_arg(s Native_Ref /* from: struct WOLFSSL * */, arg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_set_tlsext_status_exts(s Native_Ref /* from: struct WOLFSSL * */, arg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_set_tlsext_status_ids(s Native_Ref /* from: struct WOLFSSL * */, arg LM.array u8 /* from: void * */) --error: long-- => native
  # module wolfSSL_set_tlsext_status_ocsp_resp(s Native_Ref /* from: struct WOLFSSL * */, resp LM.array u32 /* from: unsigned char * */, len i32 /* from: int */) --error: long-- => native
  # module wolfSSL_set_tlsext_status_type(s Native_Ref /* from: struct WOLFSSL * */, type_ i32 /* from: int */) --error: long-- => native
  # module wolfSSL_set_tmp_dh(s Native_Ref /* from: struct WOLFSSL * */, dh Native_Ref /* from: struct WOLFSSL_DH * */) --error: long-- => native
  # module wolfSSL_set_verify_result(ssl Native_Ref /* from: struct WOLFSSL * */, v --error: long--) unit => native
  # module wolfSSL_thread_id --error: unsigned long-- => native
  # module wolfSSL_total_renegotiations(s Native_Ref /* from: struct WOLFSSL * */) --error: long-- => native
  # module wolfSSL_use_PrivateKey_Id(ssl Native_Ref /* from: struct WOLFSSL * */, id LM.array u32 /* from: unsigned char * */, sz --error: long--, devId i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_use_PrivateKey_buffer(ssl Native_Ref /* from: struct WOLFSSL * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_use_PrivateKey_id(ssl Native_Ref /* from: struct WOLFSSL * */, id LM.array u32 /* from: unsigned char * */, sz --error: long--, devId i32 /* from: int */, keySz --error: long--) i32 /* from: int */ => native
  # module wolfSSL_use_certificate_buffer(ssl Native_Ref /* from: struct WOLFSSL * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module wolfSSL_use_certificate_chain_buffer(ssl Native_Ref /* from: struct WOLFSSL * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--) i32 /* from: int */ => native
  # module wolfSSL_use_certificate_chain_buffer_format(ssl Native_Ref /* from: struct WOLFSSL * */, in_ LM.array u32 /* from: unsigned char * */, sz --error: long--, format i32 /* from: int */) i32 /* from: int */ => native
  # module write(__fd i32 /* from: int */, __buf LM.array u8 /* from: void * */, __n --error: unsigned long--) --error: long-- => native
  # module writev(__fd i32 /* from: int */, __iovec Native_Ref /* from: struct iovec * */, __count i32 /* from: int */) --error: long-- => native
  module BioReceive(ssl Native_Ref /* from: struct WOLFSSL * */, buf LM.array u8 /* from: char * */, sz i32 /* from: int */, ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module BioSend(ssl Native_Ref /* from: struct WOLFSSL * */, buf LM.array u8 /* from: char * */, sz i32 /* from: int */, ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module CertSetupCbWrapper(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module CheckRunTimeFastMath u32 /* from: unsigned int */ => native
  module CheckRunTimeSettings u32 /* from: unsigned int */ => native
  module EmbedReceive(ssl Native_Ref /* from: struct WOLFSSL * */, buf LM.array u8 /* from: char * */, sz i32 /* from: int */, ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module EmbedSend(ssl Native_Ref /* from: struct WOLFSSL * */, buf LM.array u8 /* from: char * */, sz i32 /* from: int */, ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module _Exit(__status i32 /* from: int */) unit => native
  module _InitHmac(hmac Native_Ref /* from: struct Hmac * */, type_ i32 /* from: int */, heap LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module __asprintf(__ptr Native_Ref /* from: char ** */, __fmt LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module __bswap_16(__bsx u16 /* from: unsigned short */) u16 /* from: unsigned short */ => native
  module __bswap_32(__bsx u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module __cmsg_nxthdr(__mhdr Native_Ref /* from: struct msghdr * */, __cmsg Native_Ref /* from: struct cmsghdr * */) Native_Ref /* from: struct cmsghdr * */ => native
  module __ctype_b_loc Native_Ref /* from: unsigned short ** */ => native
  module __ctype_tolower_loc Native_Ref /* from: int ** */ => native
  module __ctype_toupper_loc Native_Ref /* from: int ** */ => native
  module __errno_location Native_Ref /* from: int * */ => native
  module __getpgid(__pid i32 /* from: int */) i32 /* from: int */ => native
  module __overflow(_ Native_Ref /* from: struct _IO_FILE * */, _ i32 /* from: int */) i32 /* from: int */ => native
  module __pthread_register_cancel(__buf Native_Ref /* from: __pthread_unwind_buf_t * */) unit => native
  module __pthread_unregister_cancel(__buf Native_Ref /* from: __pthread_unwind_buf_t * */) unit => native
  module __pthread_unwind_next(__buf Native_Ref /* from: __pthread_unwind_buf_t * */) unit => native
  module __sched_cpufree(__set Native_Ref /* from: cpu_set_t * */) unit => native
  module __sigsetjmp(__env Native_Ref /* from: struct __jmp_buf_tag[1] */, __savemask i32 /* from: int */) i32 /* from: int */ => native
  module __stpcpy(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module __strtok_r(__s LM.array u8 /* from: char * */, __delim LM.array u8 /* from: char * */, __save_ptr Native_Ref /* from: char ** */) Native_Ref /* from: char * */ => native
  module __tolower_l(__c i32 /* from: int */, __l Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module __toupper_l(__c i32 /* from: int */, __l Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module __uflow(_ Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module __uint16_identity(__x u16 /* from: unsigned short */) u16 /* from: unsigned short */ => native
  module __uint32_identity(__x u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module _exit(__status i32 /* from: int */) unit => native
  module _tolower(_ i32 /* from: int */) i32 /* from: int */ => native
  module _toupper(_ i32 /* from: int */) i32 /* from: int */ => native
  module abort unit => native
  module abs(__x i32 /* from: int */) i32 /* from: int */ => native
  module accept(__fd i32 /* from: int */, __addr Native_Ref /* from: struct sockaddr * */, __addr_len LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module access(__name LM.array u8 /* from: char * */, __type i32 /* from: int */) i32 /* from: int */ => native
  module acct(__name LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module alarm(__seconds u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module alphasort(__e1 Native_Ref /* from: struct dirent ** */, __e2 Native_Ref /* from: struct dirent ** */) i32 /* from: int */ => native
  module arc4random u32 /* from: unsigned int */ => native
  module arc4random_uniform(__upper_bound u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module asctime(__tp Native_Ref /* from: struct tm * */) Native_Ref /* from: char * */ => native
  module asctime_r(__tp Native_Ref /* from: struct tm * */, __buf LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module asprintf(__ptr Native_Ref /* from: char ** */, __fmt LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module at_quick_exit(__func F0 : Function unit unit) i32 /* from: int */ => native
  module atexit(__func F0 : Function unit unit) i32 /* from: int */ => native
  module atof(__nptr LM.array u8 /* from: char * */) f64 /* from: double */ => native
  module atoi(__nptr LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module atoll(__nptr LM.array u8 /* from: char * */) i64 /* from: long long */ => native
  module bind(__fd i32 /* from: int */, __addr Native_Ref /* from: struct sockaddr * */, __len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module bindresvport(__sockfd i32 /* from: int */, __sock_in Native_Ref /* from: struct sockaddr_in * */) i32 /* from: int */ => native
  module bindresvport6(__sockfd i32 /* from: int */, __sock_in Native_Ref /* from: struct sockaddr_in6 * */) i32 /* from: int */ => native
  module brk(__addr LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module chdir(__path LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module chmod(__file LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module chown(__file LM.array u8 /* from: char * */, __owner u32 /* from: unsigned int */, __group u32 /* from: unsigned int */) i32 /* from: int */ => native
  module chroot(__path LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module clearenv i32 /* from: int */ => native
  module clearerr(__stream Native_Ref /* from: struct _IO_FILE * */) unit => native
  module clearerr_unlocked(__stream Native_Ref /* from: struct _IO_FILE * */) unit => native
  module clock_getcpuclockid(__pid i32 /* from: int */, __clock_id LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module clock_getres(__clock_id i32 /* from: int */, __res Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module clock_gettime(__clock_id i32 /* from: int */, __tp Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module clock_nanosleep(__clock_id i32 /* from: int */, __flags i32 /* from: int */, __req Native_Ref /* from: struct timespec * */, __rem Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module clock_settime(__clock_id i32 /* from: int */, __tp Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module close(__fd i32 /* from: int */) i32 /* from: int */ => native
  module closedir(__dirp Native_Ref /* from: struct __dirstream * */) i32 /* from: int */ => native
  module closefrom(__lowfd i32 /* from: int */) unit => native
  module connect(__fd i32 /* from: int */, __addr Native_Ref /* from: struct sockaddr * */, __len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module creat(__file LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module crypt(__key LM.array u8 /* from: char * */, __salt LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module ctermid(__s LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module ctime(__timer Native_Ref /* from: long * */) Native_Ref /* from: char * */ => native
  module ctime_r(__timer Native_Ref /* from: long * */, __buf LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module daemon(__nochdir i32 /* from: int */, __noclose i32 /* from: int */) i32 /* from: int */ => native
  module dirfd(__dirp Native_Ref /* from: struct __dirstream * */) i32 /* from: int */ => native
  module dprintf(__fd i32 /* from: int */, __fmt LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module drand48 f64 /* from: double */ => native
  module drand48_r(__buffer Native_Ref /* from: struct drand48_data * */, __result LM.array f64 /* from: double * */) i32 /* from: int */ => native
  module dup(__fd i32 /* from: int */) i32 /* from: int */ => native
  module dup2(__fd i32 /* from: int */, __fd2 i32 /* from: int */) i32 /* from: int */ => native
  module dysize(__year i32 /* from: int */) i32 /* from: int */ => native
  module ecvt(__value f64 /* from: double */, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */) Native_Ref /* from: char * */ => native
  module endusershell unit => native
  module erand48(__xsubi LM.array u32 /* from: unsigned short[3] */) f64 /* from: double */ => native
  module erand48_r(__xsubi LM.array u32 /* from: unsigned short[3] */, __buffer Native_Ref /* from: struct drand48_data * */, __result LM.array f64 /* from: double * */) i32 /* from: int */ => native
  module execl(__path LM.array u8 /* from: char * */, __arg LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module execle(__path LM.array u8 /* from: char * */, __arg LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module execlp(__file LM.array u8 /* from: char * */, __arg LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module execv(__path LM.array u8 /* from: char * */, __argv LM.array u8 /* from: char *[] */) i32 /* from: int */ => native
  module execve(__path LM.array u8 /* from: char * */, __argv LM.array u8 /* from: char *[] */, __envp LM.array u8 /* from: char *[] */) i32 /* from: int */ => native
  module execvp(__file LM.array u8 /* from: char * */, __argv LM.array u8 /* from: char *[] */) i32 /* from: int */ => native
  module exit(__status i32 /* from: int */) unit => native
  module faccessat(__fd i32 /* from: int */, __file LM.array u8 /* from: char * */, __type i32 /* from: int */, __flag i32 /* from: int */) i32 /* from: int */ => native
  module fchdir(__fd i32 /* from: int */) i32 /* from: int */ => native
  module fchmod(__fd i32 /* from: int */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module fchmodat(__fd i32 /* from: int */, __file LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */, __flag i32 /* from: int */) i32 /* from: int */ => native
  module fchown(__fd i32 /* from: int */, __owner u32 /* from: unsigned int */, __group u32 /* from: unsigned int */) i32 /* from: int */ => native
  module fchownat(__fd i32 /* from: int */, __file LM.array u8 /* from: char * */, __owner u32 /* from: unsigned int */, __group u32 /* from: unsigned int */, __flag i32 /* from: int */) i32 /* from: int */ => native
  module fclose(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fcntl(__fd i32 /* from: int */, __cmd i32 /* from: int */) i32 /* from: int */ => native
  module fcvt(__value f64 /* from: double */, __ndigit i32 /* from: int */, __decpt LM.array i32 /* from: int * */, __sign LM.array i32 /* from: int * */) Native_Ref /* from: char * */ => native
  module fdatasync(__fildes i32 /* from: int */) i32 /* from: int */ => native
  module fdopen(__fd i32 /* from: int */, __modes LM.array u8 /* from: char * */) Native_Ref /* from: struct _IO_FILE * */ => native
  module fdopendir(__fd i32 /* from: int */) Native_Ref /* from: struct __dirstream * */ => native
  module feof(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module feof_unlocked(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module ferror(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module ferror_unlocked(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fexecve(__fd i32 /* from: int */, __argv LM.array u8 /* from: char *[] */, __envp LM.array u8 /* from: char *[] */) i32 /* from: int */ => native
  module fflush(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fflush_unlocked(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module ffs(__i i32 /* from: int */) i32 /* from: int */ => native
  module ffsll(__ll i64 /* from: long long */) i32 /* from: int */ => native
  module fgetc(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fgetc_unlocked(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fgetpos(__stream Native_Ref /* from: struct _IO_FILE * */, __pos Native_Ref /* from: struct _G_fpos_t * */) i32 /* from: int */ => native
  module fgets(__s LM.array u8 /* from: char * */, __n i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) Native_Ref /* from: char * */ => native
  module fileno(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fileno_unlocked(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module flockfile(__stream Native_Ref /* from: struct _IO_FILE * */) unit => native
  module fopen(__filename LM.array u8 /* from: char * */, __modes LM.array u8 /* from: char * */) Native_Ref /* from: struct _IO_FILE * */ => native
  module fork i32 /* from: int */ => native
  module fprintf(__stream Native_Ref /* from: struct _IO_FILE * */, __format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module fputc(__c i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fputc_unlocked(__c i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module fputs(__s LM.array u8 /* from: char * */, __stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module free(__ptr LM.array u8 /* from: void * */) unit => native
  module freopen(__filename LM.array u8 /* from: char * */, __modes LM.array u8 /* from: char * */, __stream Native_Ref /* from: struct _IO_FILE * */) Native_Ref /* from: struct _IO_FILE * */ => native
  module fscanf(__stream Native_Ref /* from: struct _IO_FILE * */, __format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module fsetpos(__stream Native_Ref /* from: struct _IO_FILE * */, __pos Native_Ref /* from: struct _G_fpos_t * */) i32 /* from: int */ => native
  module fstat(__fd i32 /* from: int */, __buf Native_Ref /* from: struct stat * */) i32 /* from: int */ => native
  module fstatat(__fd i32 /* from: int */, __file LM.array u8 /* from: char * */, __buf Native_Ref /* from: struct stat * */, __flag i32 /* from: int */) i32 /* from: int */ => native
  module fsync(__fd i32 /* from: int */) i32 /* from: int */ => native
  module ftrylockfile(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module funlockfile(__stream Native_Ref /* from: struct _IO_FILE * */) unit => native
  module futimens(__fd i32 /* from: int */, __times Native_Ref /* from: struct timespec[2] */) i32 /* from: int */ => native
  module gcvt(__value f64 /* from: double */, __ndigit i32 /* from: int */, __buf LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module get_digit(a Native_Ref /* from: struct sp_int * */, n i32 /* from: int */) u32 /* from: unsigned int */ => native
  module get_digit_count(a Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module get_rand_digit(rng Native_Ref /* from: struct WC_RNG * */, d LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module getc(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module getc_unlocked(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module getchar i32 /* from: int */ => native
  module getchar_unlocked i32 /* from: int */ => native
  module getdtablesize i32 /* from: int */ => native
  module getegid u32 /* from: unsigned int */ => native
  module getenv(__name LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module geteuid u32 /* from: unsigned int */ => native
  module getgid u32 /* from: unsigned int */ => native
  module getgroups(__size i32 /* from: int */, __list LM.array u32 /* from: unsigned int[] */) i32 /* from: int */ => native
  module getloadavg(__loadavg LM.array f64 /* from: double[] */, __nelem i32 /* from: int */) i32 /* from: int */ => native
  module getlogin Native_Ref /* from: char * */ => native
  module getopt(___argc i32 /* from: int */, ___argv Native_Ref /* from: char ** */, __shortopts LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module getpagesize i32 /* from: int */ => native
  module getpass(__prompt LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module getpeername(__fd i32 /* from: int */, __addr Native_Ref /* from: struct sockaddr * */, __len LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module getpgid(__pid i32 /* from: int */) i32 /* from: int */ => native
  module getpgrp i32 /* from: int */ => native
  module getpid i32 /* from: int */ => native
  module getppid i32 /* from: int */ => native
  module getsid(__pid i32 /* from: int */) i32 /* from: int */ => native
  module getsockname(__fd i32 /* from: int */, __addr Native_Ref /* from: struct sockaddr * */, __len LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module getsockopt(__fd i32 /* from: int */, __level i32 /* from: int */, __optname i32 /* from: int */, __optval LM.array u8 /* from: void * */, __optlen LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module getsubopt(__optionp Native_Ref /* from: char ** */, __tokens Native_Ref /* from: char ** */, __valuep Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module getuid u32 /* from: unsigned int */ => native
  module getusershell Native_Ref /* from: char * */ => native
  module getw(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module getwd(__buf LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module gmtime(__timer Native_Ref /* from: long * */) Native_Ref /* from: struct tm * */ => native
  module gmtime_r(__timer Native_Ref /* from: long * */, __tp Native_Ref /* from: struct tm * */) Native_Ref /* from: struct tm * */ => native
  module htonl(__hostlong u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module htons(__hostshort u16 /* from: unsigned short */) u16 /* from: unsigned short */ => native
  module index_(__s LM.array u8 /* from: char * */, __c i32 /* from: int */) Native_Ref /* from: char * */ => native
  module inet_addr(__cp LM.array u8 /* from: char * */) u32 /* from: unsigned int */ => native
  module inet_aton(__cp LM.array u8 /* from: char * */, __inp Native_Ref /* from: struct in_addr * */) i32 /* from: int */ => native
  module inet_network(__cp LM.array u8 /* from: char * */) u32 /* from: unsigned int */ => native
  module inet_nsap_addr(__cp LM.array u8 /* from: char * */, __buf LM.array u32 /* from: unsigned char * */, __len i32 /* from: int */) u32 /* from: unsigned int */ => native
  module inet_nsap_ntoa(__len i32 /* from: int */, __cp LM.array u32 /* from: unsigned char * */, __buf LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module inet_ntop(__af i32 /* from: int */, __cp LM.array u8 /* from: void * */, __buf LM.array u8 /* from: char * */, __len u32 /* from: unsigned int */) Native_Ref /* from: char * */ => native
  module inet_pton(__af i32 /* from: int */, __cp LM.array u8 /* from: char * */, __buf LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module isalnum(_ i32 /* from: int */) i32 /* from: int */ => native
  module isalnum_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isalpha(_ i32 /* from: int */) i32 /* from: int */ => native
  module isalpha_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isascii(__c i32 /* from: int */) i32 /* from: int */ => native
  module isatty(__fd i32 /* from: int */) i32 /* from: int */ => native
  module isblank(_ i32 /* from: int */) i32 /* from: int */ => native
  module isblank_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module iscntrl(_ i32 /* from: int */) i32 /* from: int */ => native
  module iscntrl_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isdigit(_ i32 /* from: int */) i32 /* from: int */ => native
  module isdigit_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isfdtype(__fd i32 /* from: int */, __fdtype i32 /* from: int */) i32 /* from: int */ => native
  module isgraph(_ i32 /* from: int */) i32 /* from: int */ => native
  module isgraph_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module islower(_ i32 /* from: int */) i32 /* from: int */ => native
  module islower_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isprint(_ i32 /* from: int */) i32 /* from: int */ => native
  module isprint_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module ispunct(_ i32 /* from: int */) i32 /* from: int */ => native
  module ispunct_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isspace(_ i32 /* from: int */) i32 /* from: int */ => native
  module isspace_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isupper(_ i32 /* from: int */) i32 /* from: int */ => native
  module isupper_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module isxdigit(_ i32 /* from: int */) i32 /* from: int */ => native
  module isxdigit_l(_ i32 /* from: int */, _ Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module jrand48_r(__xsubi LM.array u32 /* from: unsigned short[3] */, __buffer Native_Ref /* from: struct drand48_data * */, __result Native_Ref /* from: long * */) i32 /* from: int */ => native
  module lchmod(__file LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module lchown(__file LM.array u8 /* from: char * */, __owner u32 /* from: unsigned int */, __group u32 /* from: unsigned int */) i32 /* from: int */ => native
  module lcong48(__param LM.array u32 /* from: unsigned short[7] */) unit => native
  module lcong48_r(__param LM.array u32 /* from: unsigned short[7] */, __buffer Native_Ref /* from: struct drand48_data * */) i32 /* from: int */ => native
  module link(__from LM.array u8 /* from: char * */, __to LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module linkat(__fromfd i32 /* from: int */, __from LM.array u8 /* from: char * */, __tofd i32 /* from: int */, __to LM.array u8 /* from: char * */, __flags i32 /* from: int */) i32 /* from: int */ => native
  module listen(__fd i32 /* from: int */, __n i32 /* from: int */) i32 /* from: int */ => native
  module llabs(__x i64 /* from: long long */) i64 /* from: long long */ => native
  module localtime(__timer Native_Ref /* from: long * */) Native_Ref /* from: struct tm * */ => native
  module localtime_r(__timer Native_Ref /* from: long * */, __tp Native_Ref /* from: struct tm * */) Native_Ref /* from: struct tm * */ => native
  module lrand48_r(__buffer Native_Ref /* from: struct drand48_data * */, __result Native_Ref /* from: long * */) i32 /* from: int */ => native
  module lstat(__file LM.array u8 /* from: char * */, __buf Native_Ref /* from: struct stat * */) i32 /* from: int */ => native
  module mkdir(__path LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module mkdirat(__fd i32 /* from: int */, __path LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module mkdtemp(__template LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module mkfifo(__path LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module mkfifoat(__fd i32 /* from: int */, __path LM.array u8 /* from: char * */, __mode u32 /* from: unsigned int */) i32 /* from: int */ => native
  module mkstemp(__template LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module mkstemps(__template LM.array u8 /* from: char * */, __suffixlen i32 /* from: int */) i32 /* from: int */ => native
  module mktemp(__template LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module mp_cond_copy(a Native_Ref /* from: struct sp_int * */, copy i32 /* from: int */, b Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module mp_rand(a Native_Ref /* from: struct sp_int * */, digits i32 /* from: int */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module mp_reverse(s LM.array u32 /* from: unsigned char * */, len i32 /* from: int */) unit => native
  module mrand48_r(__buffer Native_Ref /* from: struct drand48_data * */, __result Native_Ref /* from: long * */) i32 /* from: int */ => native
  module mystrnstr(s1 LM.array u8 /* from: char * */, s2 LM.array u8 /* from: char * */, n u32 /* from: unsigned int */) Native_Ref /* from: char * */ => native
  module nanosleep(__requested_time Native_Ref /* from: struct timespec * */, __remaining Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module nice(__inc i32 /* from: int */) i32 /* from: int */ => native
  module nrand48_r(__xsubi LM.array u32 /* from: unsigned short[3] */, __buffer Native_Ref /* from: struct drand48_data * */, __result Native_Ref /* from: long * */) i32 /* from: int */ => native
  module ntohl(__netlong u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module ntohs(__netshort u16 /* from: unsigned short */) u16 /* from: unsigned short */ => native
  module on_exit(__func F0 : Function unit i32 /* from: int */ Native_Ref /* from: void * */, __arg LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module open(__file LM.array u8 /* from: char * */, __oflag i32 /* from: int */) i32 /* from: int */ => native
  module open_memstream(__bufloc Native_Ref /* from: char ** */, __sizeloc LM.array u32 /* from: unsigned long * */) Native_Ref /* from: struct _IO_FILE * */ => native
  module openat(__fd i32 /* from: int */, __file LM.array u8 /* from: char * */, __oflag i32 /* from: int */) i32 /* from: int */ => native
  module opendir(__name LM.array u8 /* from: char * */) Native_Ref /* from: struct __dirstream * */ => native
  module pause i32 /* from: int */ => native
  module pclose(__stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module perror(__s LM.array u8 /* from: char * */) unit => native
  module pipe(__pipedes LM.array i32 /* from: int[2] */) i32 /* from: int */ => native
  module popen(__command LM.array u8 /* from: char * */, __modes LM.array u8 /* from: char * */) Native_Ref /* from: struct _IO_FILE * */ => native
  module printf(__format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module pselect(__nfds i32 /* from: int */, __readfds Native_Ref /* from: fd_set * */, __writefds Native_Ref /* from: fd_set * */, __exceptfds Native_Ref /* from: fd_set * */, __timeout Native_Ref /* from: struct timespec * */, __sigmask Native_Ref /* from: __sigset_t * */) i32 /* from: int */ => native
  module pthread_atfork(__prepare F0 : Function unit unit, __parent F1 : Function unit unit, __child F2 : Function unit unit) i32 /* from: int */ => native
  module pthread_attr_destroy(__attr Native_Ref /* from: union pthread_attr_t * */) i32 /* from: int */ => native
  module pthread_attr_getdetachstate(__attr Native_Ref /* from: union pthread_attr_t * */, __detachstate LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_attr_getguardsize(__attr Native_Ref /* from: union pthread_attr_t * */, __guardsize LM.array u32 /* from: unsigned long * */) i32 /* from: int */ => native
  module pthread_attr_getinheritsched(__attr Native_Ref /* from: union pthread_attr_t * */, __inherit LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_attr_getschedparam(__attr Native_Ref /* from: union pthread_attr_t * */, __param Native_Ref /* from: struct sched_param * */) i32 /* from: int */ => native
  module pthread_attr_getschedpolicy(__attr Native_Ref /* from: union pthread_attr_t * */, __policy LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_attr_getscope(__attr Native_Ref /* from: union pthread_attr_t * */, __scope LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_attr_getstack(__attr Native_Ref /* from: union pthread_attr_t * */, __stackaddr Native_Ref /* from: void ** */, __stacksize LM.array u32 /* from: unsigned long * */) i32 /* from: int */ => native
  module pthread_attr_getstackaddr(__attr Native_Ref /* from: union pthread_attr_t * */, __stackaddr Native_Ref /* from: void ** */) i32 /* from: int */ => native
  module pthread_attr_getstacksize(__attr Native_Ref /* from: union pthread_attr_t * */, __stacksize LM.array u32 /* from: unsigned long * */) i32 /* from: int */ => native
  module pthread_attr_init(__attr Native_Ref /* from: union pthread_attr_t * */) i32 /* from: int */ => native
  module pthread_attr_setdetachstate(__attr Native_Ref /* from: union pthread_attr_t * */, __detachstate i32 /* from: int */) i32 /* from: int */ => native
  module pthread_attr_setinheritsched(__attr Native_Ref /* from: union pthread_attr_t * */, __inherit i32 /* from: int */) i32 /* from: int */ => native
  module pthread_attr_setschedparam(__attr Native_Ref /* from: union pthread_attr_t * */, __param Native_Ref /* from: struct sched_param * */) i32 /* from: int */ => native
  module pthread_attr_setschedpolicy(__attr Native_Ref /* from: union pthread_attr_t * */, __policy i32 /* from: int */) i32 /* from: int */ => native
  module pthread_attr_setscope(__attr Native_Ref /* from: union pthread_attr_t * */, __scope i32 /* from: int */) i32 /* from: int */ => native
  module pthread_attr_setstackaddr(__attr Native_Ref /* from: union pthread_attr_t * */, __stackaddr LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module pthread_barrier_destroy(__barrier Native_Ref /* from: pthread_barrier_t * */) i32 /* from: int */ => native
  module pthread_barrier_init(__barrier Native_Ref /* from: pthread_barrier_t * */, __attr Native_Ref /* from: pthread_barrierattr_t * */, __count u32 /* from: unsigned int */) i32 /* from: int */ => native
  module pthread_barrier_wait(__barrier Native_Ref /* from: pthread_barrier_t * */) i32 /* from: int */ => native
  module pthread_barrierattr_destroy(__attr Native_Ref /* from: pthread_barrierattr_t * */) i32 /* from: int */ => native
  module pthread_barrierattr_getpshared(__attr Native_Ref /* from: pthread_barrierattr_t * */, __pshared LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_barrierattr_init(__attr Native_Ref /* from: pthread_barrierattr_t * */) i32 /* from: int */ => native
  module pthread_barrierattr_setpshared(__attr Native_Ref /* from: pthread_barrierattr_t * */, __pshared i32 /* from: int */) i32 /* from: int */ => native
  module pthread_cond_broadcast(__cond Native_Ref /* from: pthread_cond_t * */) i32 /* from: int */ => native
  module pthread_cond_destroy(__cond Native_Ref /* from: pthread_cond_t * */) i32 /* from: int */ => native
  module pthread_cond_init(__cond Native_Ref /* from: pthread_cond_t * */, __cond_attr Native_Ref /* from: pthread_condattr_t * */) i32 /* from: int */ => native
  module pthread_cond_signal(__cond Native_Ref /* from: pthread_cond_t * */) i32 /* from: int */ => native
  module pthread_cond_timedwait(__cond Native_Ref /* from: pthread_cond_t * */, __mutex Native_Ref /* from: pthread_mutex_t * */, __abstime Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module pthread_cond_wait(__cond Native_Ref /* from: pthread_cond_t * */, __mutex Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module pthread_condattr_destroy(__attr Native_Ref /* from: pthread_condattr_t * */) i32 /* from: int */ => native
  module pthread_condattr_getclock(__attr Native_Ref /* from: pthread_condattr_t * */, __clock_id LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_condattr_getpshared(__attr Native_Ref /* from: pthread_condattr_t * */, __pshared LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_condattr_init(__attr Native_Ref /* from: pthread_condattr_t * */) i32 /* from: int */ => native
  module pthread_condattr_setclock(__attr Native_Ref /* from: pthread_condattr_t * */, __clock_id i32 /* from: int */) i32 /* from: int */ => native
  module pthread_condattr_setpshared(__attr Native_Ref /* from: pthread_condattr_t * */, __pshared i32 /* from: int */) i32 /* from: int */ => native
  module pthread_create(__newthread LM.array u32 /* from: unsigned long * */, __attr Native_Ref /* from: union pthread_attr_t * */, __start_routine F2 : Function Native_Ref /* from: void * */ Native_Ref /* from: void * */, __arg LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module pthread_exit(__retval LM.array u8 /* from: void * */) unit => native
  module pthread_getspecific(__key u32 /* from: unsigned int */) Native_Ref /* from: void * */ => native
  module pthread_key_create(__key LM.array u32 /* from: unsigned int * */, __destr_function F1 : Function unit Native_Ref /* from: void * */) i32 /* from: int */ => native
  module pthread_key_delete(__key u32 /* from: unsigned int */) i32 /* from: int */ => native
  module pthread_mutex_consistent(__mutex Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module pthread_mutex_destroy(__mutex Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module pthread_mutex_getprioceiling(__mutex Native_Ref /* from: pthread_mutex_t * */, __prioceiling LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_mutex_init(__mutex Native_Ref /* from: pthread_mutex_t * */, __mutexattr Native_Ref /* from: pthread_mutexattr_t * */) i32 /* from: int */ => native
  module pthread_mutex_lock(__mutex Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module pthread_mutex_setprioceiling(__mutex Native_Ref /* from: pthread_mutex_t * */, __prioceiling i32 /* from: int */, __old_ceiling LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_mutex_timedlock(__mutex Native_Ref /* from: pthread_mutex_t * */, __abstime Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module pthread_mutex_trylock(__mutex Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module pthread_mutex_unlock(__mutex Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module pthread_mutexattr_destroy(__attr Native_Ref /* from: pthread_mutexattr_t * */) i32 /* from: int */ => native
  module pthread_mutexattr_getprioceiling(__attr Native_Ref /* from: pthread_mutexattr_t * */, __prioceiling LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_mutexattr_getprotocol(__attr Native_Ref /* from: pthread_mutexattr_t * */, __protocol LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_mutexattr_getpshared(__attr Native_Ref /* from: pthread_mutexattr_t * */, __pshared LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_mutexattr_getrobust(__attr Native_Ref /* from: pthread_mutexattr_t * */, __robustness LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_mutexattr_gettype(__attr Native_Ref /* from: pthread_mutexattr_t * */, __kind LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_mutexattr_init(__attr Native_Ref /* from: pthread_mutexattr_t * */) i32 /* from: int */ => native
  module pthread_mutexattr_setprioceiling(__attr Native_Ref /* from: pthread_mutexattr_t * */, __prioceiling i32 /* from: int */) i32 /* from: int */ => native
  module pthread_mutexattr_setprotocol(__attr Native_Ref /* from: pthread_mutexattr_t * */, __protocol i32 /* from: int */) i32 /* from: int */ => native
  module pthread_mutexattr_setpshared(__attr Native_Ref /* from: pthread_mutexattr_t * */, __pshared i32 /* from: int */) i32 /* from: int */ => native
  module pthread_mutexattr_setrobust(__attr Native_Ref /* from: pthread_mutexattr_t * */, __robustness i32 /* from: int */) i32 /* from: int */ => native
  module pthread_mutexattr_settype(__attr Native_Ref /* from: pthread_mutexattr_t * */, __kind i32 /* from: int */) i32 /* from: int */ => native
  module pthread_once(__once_control LM.array i32 /* from: int * */, __init_routine F1 : Function unit unit) i32 /* from: int */ => native
  module pthread_rwlock_destroy(__rwlock Native_Ref /* from: pthread_rwlock_t * */) i32 /* from: int */ => native
  module pthread_rwlock_init(__rwlock Native_Ref /* from: pthread_rwlock_t * */, __attr Native_Ref /* from: pthread_rwlockattr_t * */) i32 /* from: int */ => native
  module pthread_rwlock_rdlock(__rwlock Native_Ref /* from: pthread_rwlock_t * */) i32 /* from: int */ => native
  module pthread_rwlock_timedrdlock(__rwlock Native_Ref /* from: pthread_rwlock_t * */, __abstime Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module pthread_rwlock_timedwrlock(__rwlock Native_Ref /* from: pthread_rwlock_t * */, __abstime Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module pthread_rwlock_tryrdlock(__rwlock Native_Ref /* from: pthread_rwlock_t * */) i32 /* from: int */ => native
  module pthread_rwlock_trywrlock(__rwlock Native_Ref /* from: pthread_rwlock_t * */) i32 /* from: int */ => native
  module pthread_rwlock_unlock(__rwlock Native_Ref /* from: pthread_rwlock_t * */) i32 /* from: int */ => native
  module pthread_rwlock_wrlock(__rwlock Native_Ref /* from: pthread_rwlock_t * */) i32 /* from: int */ => native
  module pthread_rwlockattr_destroy(__attr Native_Ref /* from: pthread_rwlockattr_t * */) i32 /* from: int */ => native
  module pthread_rwlockattr_getkind_np(__attr Native_Ref /* from: pthread_rwlockattr_t * */, __pref LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_rwlockattr_getpshared(__attr Native_Ref /* from: pthread_rwlockattr_t * */, __pshared LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_rwlockattr_init(__attr Native_Ref /* from: pthread_rwlockattr_t * */) i32 /* from: int */ => native
  module pthread_rwlockattr_setkind_np(__attr Native_Ref /* from: pthread_rwlockattr_t * */, __pref i32 /* from: int */) i32 /* from: int */ => native
  module pthread_rwlockattr_setpshared(__attr Native_Ref /* from: pthread_rwlockattr_t * */, __pshared i32 /* from: int */) i32 /* from: int */ => native
  module pthread_setcancelstate(__state i32 /* from: int */, __oldstate LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_setcanceltype(__type i32 /* from: int */, __oldtype LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_setspecific(__key u32 /* from: unsigned int */, __pointer LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module pthread_spin_destroy(__lock LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_spin_init(__lock LM.array i32 /* from: int * */, __pshared i32 /* from: int */) i32 /* from: int */ => native
  module pthread_spin_lock(__lock LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_spin_trylock(__lock LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_spin_unlock(__lock LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module pthread_testcancel unit => native
  module putc(__c i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module putc_unlocked(__c i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module putchar(__c i32 /* from: int */) i32 /* from: int */ => native
  module putchar_unlocked(__c i32 /* from: int */) i32 /* from: int */ => native
  module putenv(__string LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module puts(__s LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module putw(__w i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module quick_exit(__status i32 /* from: int */) unit => native
  module rand i32 /* from: int */ => native
  module rand_r(__seed LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module random_r(__buf Native_Ref /* from: struct random_data * */, __result LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module readdir(__dirp Native_Ref /* from: struct __dirstream * */) Native_Ref /* from: struct dirent * */ => native
  module readdir_r(__dirp Native_Ref /* from: struct __dirstream * */, __entry Native_Ref /* from: struct dirent * */, __result Native_Ref /* from: struct dirent ** */) i32 /* from: int */ => native
  module realpath(__name LM.array u8 /* from: char * */, __resolved LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module remove(__filename LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module rename(__old LM.array u8 /* from: char * */, __new LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module renameat(__oldfd i32 /* from: int */, __old LM.array u8 /* from: char * */, __newfd i32 /* from: int */, __new LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module revoke(__file LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module rewind(__stream Native_Ref /* from: struct _IO_FILE * */) unit => native
  module rewinddir(__dirp Native_Ref /* from: struct __dirstream * */) unit => native
  module rindex(__s LM.array u8 /* from: char * */, __c i32 /* from: int */) Native_Ref /* from: char * */ => native
  module rmdir(__path LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module rpmatch(__response LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module scandir(__dir LM.array u8 /* from: char * */, __namelist Native_Ref /* from: struct dirent *** */, __selector F2 : Function i32 /* from: int */ Native_Ref /* from: struct dirent * */, __cmp F3 : Function i32 /* from: int */ Native_Ref /* from: struct dirent ** */ Native_Ref /* from: struct dirent ** */) i32 /* from: int */ => native
  module scanf(__format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module sched_get_priority_max(__algorithm i32 /* from: int */) i32 /* from: int */ => native
  module sched_get_priority_min(__algorithm i32 /* from: int */) i32 /* from: int */ => native
  module sched_getparam(__pid i32 /* from: int */, __param Native_Ref /* from: struct sched_param * */) i32 /* from: int */ => native
  module sched_getscheduler(__pid i32 /* from: int */) i32 /* from: int */ => native
  module sched_rr_get_interval(__pid i32 /* from: int */, __t Native_Ref /* from: struct timespec * */) i32 /* from: int */ => native
  module sched_setparam(__pid i32 /* from: int */, __param Native_Ref /* from: struct sched_param * */) i32 /* from: int */ => native
  module sched_setscheduler(__pid i32 /* from: int */, __policy i32 /* from: int */, __param Native_Ref /* from: struct sched_param * */) i32 /* from: int */ => native
  module sched_yield i32 /* from: int */ => native
  module seed48(__seed16v LM.array u32 /* from: unsigned short[3] */) Native_Ref /* from: unsigned short * */ => native
  module seed48_r(__seed16v LM.array u32 /* from: unsigned short[3] */, __buffer Native_Ref /* from: struct drand48_data * */) i32 /* from: int */ => native
  module select(__nfds i32 /* from: int */, __readfds Native_Ref /* from: fd_set * */, __writefds Native_Ref /* from: fd_set * */, __exceptfds Native_Ref /* from: fd_set * */, __timeout Native_Ref /* from: struct timeval * */) i32 /* from: int */ => native
  module setbuf(__stream Native_Ref /* from: struct _IO_FILE * */, __buf LM.array u8 /* from: char * */) unit => native
  module setegid(__gid u32 /* from: unsigned int */) i32 /* from: int */ => native
  module setenv(__name LM.array u8 /* from: char * */, __value LM.array u8 /* from: char * */, __replace i32 /* from: int */) i32 /* from: int */ => native
  module seteuid(__uid u32 /* from: unsigned int */) i32 /* from: int */ => native
  module setgid(__gid u32 /* from: unsigned int */) i32 /* from: int */ => native
  module setlinebuf(__stream Native_Ref /* from: struct _IO_FILE * */) unit => native
  module setlogin(__name LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module setpgid(__pid i32 /* from: int */, __pgid i32 /* from: int */) i32 /* from: int */ => native
  module setpgrp i32 /* from: int */ => native
  module setregid(__rgid u32 /* from: unsigned int */, __egid u32 /* from: unsigned int */) i32 /* from: int */ => native
  module setreuid(__ruid u32 /* from: unsigned int */, __euid u32 /* from: unsigned int */) i32 /* from: int */ => native
  module setsid i32 /* from: int */ => native
  module setsockopt(__fd i32 /* from: int */, __level i32 /* from: int */, __optname i32 /* from: int */, __optval LM.array u8 /* from: void * */, __optlen u32 /* from: unsigned int */) i32 /* from: int */ => native
  module setstate(__statebuf LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module setstate_r(__statebuf LM.array u8 /* from: char * */, __buf Native_Ref /* from: struct random_data * */) i32 /* from: int */ => native
  module setuid(__uid u32 /* from: unsigned int */) i32 /* from: int */ => native
  module setusershell unit => native
  module shutdown(__fd i32 /* from: int */, __how i32 /* from: int */) i32 /* from: int */ => native
  module sleep(__seconds u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module sockatmark(__fd i32 /* from: int */) i32 /* from: int */ => native
  module socket(__domain i32 /* from: int */, __type i32 /* from: int */, __protocol i32 /* from: int */) i32 /* from: int */ => native
  module socketpair(__domain i32 /* from: int */, __type i32 /* from: int */, __protocol i32 /* from: int */, __fds LM.array i32 /* from: int[2] */) i32 /* from: int */ => native
  module sp_2expt(a Native_Ref /* from: struct sp_int * */, e i32 /* from: int */) i32 /* from: int */ => native
  module sp_add(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_add_d(a Native_Ref /* from: struct sp_int * */, d u32 /* from: unsigned int */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_addmod(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_clear(a Native_Ref /* from: struct sp_int * */) unit => native
  module sp_cmp(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_cmp_ct(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, n u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sp_cmp_d(a Native_Ref /* from: struct sp_int * */, d u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sp_cmp_mag(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_cond_swap_ct(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, cnt i32 /* from: int */, swap i32 /* from: int */) i32 /* from: int */ => native
  module sp_cond_swap_ct_ex(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, cnt i32 /* from: int */, swap i32 /* from: int */, t Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_copy(a Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_count_bits(a Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_div(a Native_Ref /* from: struct sp_int * */, d Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */, rem Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_div_2d(a Native_Ref /* from: struct sp_int * */, e i32 /* from: int */, r Native_Ref /* from: struct sp_int * */, rem Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_div_d(a Native_Ref /* from: struct sp_int * */, d u32 /* from: unsigned int */, r Native_Ref /* from: struct sp_int * */, rem LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module sp_exch(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_exptmod(b Native_Ref /* from: struct sp_int * */, e Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_exptmod_ex(b Native_Ref /* from: struct sp_int * */, e Native_Ref /* from: struct sp_int * */, digits i32 /* from: int */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_exptmod_nct(b Native_Ref /* from: struct sp_int * */, e Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_forcezero(a Native_Ref /* from: struct sp_int * */) unit => native
  module sp_free(a Native_Ref /* from: struct sp_int * */) unit => native
  module sp_gcd(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_grow(a Native_Ref /* from: struct sp_int * */, l i32 /* from: int */) i32 /* from: int */ => native
  module sp_init(a Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_init_copy(r Native_Ref /* from: struct sp_int * */, a Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_init_multi(n1 Native_Ref /* from: struct sp_int * */, n2 Native_Ref /* from: struct sp_int * */, n3 Native_Ref /* from: struct sp_int * */, n4 Native_Ref /* from: struct sp_int * */, n5 Native_Ref /* from: struct sp_int * */, n6 Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_init_size(a Native_Ref /* from: struct sp_int * */, size u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sp_invmod(a Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_is_bit_set(a Native_Ref /* from: struct sp_int * */, b u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sp_leading_bit(a Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_lshd(a Native_Ref /* from: struct sp_int * */, s i32 /* from: int */) i32 /* from: int */ => native
  module sp_mod(a Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_mod_2d(a Native_Ref /* from: struct sp_int * */, e i32 /* from: int */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_mod_d(a Native_Ref /* from: struct sp_int * */, d u32 /* from: unsigned int */, r LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module sp_mont_norm(norm Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_mont_red_ex(a Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, mp u32 /* from: unsigned int */, ct i32 /* from: int */) i32 /* from: int */ => native
  module sp_mont_setup(m Native_Ref /* from: struct sp_int * */, rho LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module sp_mul(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_mul_2d(a Native_Ref /* from: struct sp_int * */, e i32 /* from: int */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_mul_d(a Native_Ref /* from: struct sp_int * */, d u32 /* from: unsigned int */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_mulmod(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_prime_is_prime(a Native_Ref /* from: struct sp_int * */, t i32 /* from: int */, result_ LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module sp_prime_is_prime_ex(a Native_Ref /* from: struct sp_int * */, t i32 /* from: int */, result_ LM.array i32 /* from: int * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module sp_radix_size(a Native_Ref /* from: struct sp_int * */, radix i32 /* from: int */, size LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module sp_rand_prime(r Native_Ref /* from: struct sp_int * */, len i32 /* from: int */, rng Native_Ref /* from: struct WC_RNG * */, heap LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module sp_read_radix(a Native_Ref /* from: struct sp_int * */, in_ LM.array u8 /* from: char * */, radix i32 /* from: int */) i32 /* from: int */ => native
  module sp_read_unsigned_bin(a Native_Ref /* from: struct sp_int * */, in_ LM.array u32 /* from: unsigned char * */, inSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sp_rshb(a Native_Ref /* from: struct sp_int * */, n i32 /* from: int */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_rshd(a Native_Ref /* from: struct sp_int * */, c i32 /* from: int */) unit => native
  module sp_set(a Native_Ref /* from: struct sp_int * */, d u32 /* from: unsigned int */) i32 /* from: int */ => native
  module sp_set_bit(a Native_Ref /* from: struct sp_int * */, i i32 /* from: int */) i32 /* from: int */ => native
  module sp_sqr(a Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_sqrmod(a Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_sub(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_sub_d(a Native_Ref /* from: struct sp_int * */, d u32 /* from: unsigned int */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_submod(a Native_Ref /* from: struct sp_int * */, b Native_Ref /* from: struct sp_int * */, m Native_Ref /* from: struct sp_int * */, r Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_to_unsigned_bin(a Native_Ref /* from: struct sp_int * */, out LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module sp_to_unsigned_bin_at_pos(o i32 /* from: int */, a Native_Ref /* from: struct sp_int * */, out LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module sp_to_unsigned_bin_len(a Native_Ref /* from: struct sp_int * */, out LM.array u32 /* from: unsigned char * */, outSz i32 /* from: int */) i32 /* from: int */ => native
  module sp_to_unsigned_bin_len_ct(a Native_Ref /* from: struct sp_int * */, out LM.array u32 /* from: unsigned char * */, outSz i32 /* from: int */) i32 /* from: int */ => native
  module sp_todecimal(a Native_Ref /* from: struct sp_int * */, str LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module sp_tohex(a Native_Ref /* from: struct sp_int * */, str LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module sp_toradix(a Native_Ref /* from: struct sp_int * */, str LM.array u8 /* from: char * */, radix i32 /* from: int */) i32 /* from: int */ => native
  module sp_unsigned_bin_size(a Native_Ref /* from: struct sp_int * */) i32 /* from: int */ => native
  module sp_zero(a Native_Ref /* from: struct sp_int * */) unit => native
  module sprintf(__s LM.array u8 /* from: char * */, __format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module srand(__seed u32 /* from: unsigned int */) unit => native
  module srandom(__seed u32 /* from: unsigned int */) unit => native
  module srandom_r(__seed u32 /* from: unsigned int */, __buf Native_Ref /* from: struct random_data * */) i32 /* from: int */ => native
  module sscanf(__s LM.array u8 /* from: char * */, __format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module stat(__file LM.array u8 /* from: char * */, __buf Native_Ref /* from: struct stat * */) i32 /* from: int */ => native
  module stpcpy(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strcasecmp(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module strcasecmp_l(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */, __loc Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module strcasestr(__haystack LM.array u8 /* from: char * */, __needle LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strcat(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strchr(__s LM.array u8 /* from: char * */, __c i32 /* from: int */) Native_Ref /* from: char * */ => native
  module strchrnul(__s LM.array u8 /* from: char * */, __c i32 /* from: int */) Native_Ref /* from: char * */ => native
  module strcmp(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module strcoll(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module strcoll_l(__s1 LM.array u8 /* from: char * */, __s2 LM.array u8 /* from: char * */, __l Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module strcpy(__dest LM.array u8 /* from: char * */, __src LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strdup(__s LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strerror(__errnum i32 /* from: int */) Native_Ref /* from: char * */ => native
  module strerror_l(__errnum i32 /* from: int */, __l Native_Ref /* from: struct __locale_struct * */) Native_Ref /* from: char * */ => native
  module strpbrk(__s LM.array u8 /* from: char * */, __accept LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strrchr(__s LM.array u8 /* from: char * */, __c i32 /* from: int */) Native_Ref /* from: char * */ => native
  module strsep(__stringp Native_Ref /* from: char ** */, __delim LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strsignal(__sig i32 /* from: int */) Native_Ref /* from: char * */ => native
  module strstr(__haystack LM.array u8 /* from: char * */, __needle LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strtod(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */) f64 /* from: double */ => native
  module strtof(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */) f32 /* from: float */ => native
  module strtok(__s LM.array u8 /* from: char * */, __delim LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module strtok_r(__s LM.array u8 /* from: char * */, __delim LM.array u8 /* from: char * */, __save_ptr Native_Ref /* from: char ** */) Native_Ref /* from: char * */ => native
  module strtoll(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */, __base i32 /* from: int */) i64 /* from: long long */ => native
  module strtoq(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */, __base i32 /* from: int */) i64 /* from: long long */ => native
  module strtoull(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */, __base i32 /* from: int */) u64 /* from: unsigned long long */ => native
  module strtouq(__nptr LM.array u8 /* from: char * */, __endptr Native_Ref /* from: char ** */, __base i32 /* from: int */) u64 /* from: unsigned long long */ => native
  module symlink(__from LM.array u8 /* from: char * */, __to LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module symlinkat(__from LM.array u8 /* from: char * */, __tofd i32 /* from: int */, __to LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module sync unit => native
  module system(__command LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module tcgetpgrp(__fd i32 /* from: int */) i32 /* from: int */ => native
  module tcsetpgrp(__fd i32 /* from: int */, __pgrp_id i32 /* from: int */) i32 /* from: int */ => native
  module tempnam(__dir LM.array u8 /* from: char * */, __pfx LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module timer_create(__clock_id i32 /* from: int */, __evp Native_Ref /* from: struct sigevent * */, __timerid Native_Ref /* from: void ** */) i32 /* from: int */ => native
  module timer_delete(__timerid LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module timer_getoverrun(__timerid LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module timer_gettime(__timerid LM.array u8 /* from: void * */, __value Native_Ref /* from: struct itimerspec * */) i32 /* from: int */ => native
  module timer_settime(__timerid LM.array u8 /* from: void * */, __flags i32 /* from: int */, __value Native_Ref /* from: struct itimerspec * */, __ovalue Native_Ref /* from: struct itimerspec * */) i32 /* from: int */ => native
  module timespec_get(__ts Native_Ref /* from: struct timespec * */, __base i32 /* from: int */) i32 /* from: int */ => native
  module tmpfile Native_Ref /* from: struct _IO_FILE * */ => native
  module tmpnam(_ LM.array u8 /* from: char[20] */) Native_Ref /* from: char * */ => native
  module tmpnam_r(__s LM.array u8 /* from: char[20] */) Native_Ref /* from: char * */ => native
  module toascii(__c i32 /* from: int */) i32 /* from: int */ => native
  module tolower(__c i32 /* from: int */) i32 /* from: int */ => native
  module tolower_l(__c i32 /* from: int */, __l Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module toupper(__c i32 /* from: int */) i32 /* from: int */ => native
  module toupper_l(__c i32 /* from: int */, __l Native_Ref /* from: struct __locale_struct * */) i32 /* from: int */ => native
  module ttyname(__fd i32 /* from: int */) Native_Ref /* from: char * */ => native
  module ttyslot i32 /* from: int */ => native
  module tzset unit => native
  module ualarm(__value u32 /* from: unsigned int */, __interval u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module umask(__mask u32 /* from: unsigned int */) u32 /* from: unsigned int */ => native
  module ungetc(__c i32 /* from: int */, __stream Native_Ref /* from: struct _IO_FILE * */) i32 /* from: int */ => native
  module unlink(__name LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module unlinkat(__fd i32 /* from: int */, __name LM.array u8 /* from: char * */, __flag i32 /* from: int */) i32 /* from: int */ => native
  module unsetenv(__name LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module usleep(__useconds u32 /* from: unsigned int */) i32 /* from: int */ => native
  module utimensat(__fd i32 /* from: int */, __path LM.array u8 /* from: char * */, __times Native_Ref /* from: struct timespec[2] */, __flags i32 /* from: int */) i32 /* from: int */ => native
  module vasprintf(__ptr Native_Ref /* from: char ** */, __f LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module vdprintf(__fd i32 /* from: int */, __fmt LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module vfork i32 /* from: int */ => native
  module vfprintf(__s Native_Ref /* from: struct _IO_FILE * */, __format LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module vfscanf(__s Native_Ref /* from: struct _IO_FILE * */, __format LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module vhangup i32 /* from: int */ => native
  module vprintf(__format LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module vscanf(__format LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module vsprintf(__s LM.array u8 /* from: char * */, __format LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module vsscanf(__s LM.array u8 /* from: char * */, __format LM.array u8 /* from: char * */, __arg Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module wc_AllocDer(pDer Native_Ref /* from: struct DerBuffer ** */, length u32 /* from: unsigned int */, type_ i32 /* from: int */, heap LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wc_CertFree(cert Native_Ref /* from: struct Cert * */) unit => native
  module wc_CertNew(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct Cert * */ => native
  module wc_CertPemToDer(pem LM.array u32 /* from: unsigned char * */, pemSz i32 /* from: int */, buff LM.array u32 /* from: unsigned char * */, buffSz i32 /* from: int */, type_ i32 /* from: int */) i32 /* from: int */ => native
  module wc_CreateEncryptedPKCS8Key(key LM.array u32 /* from: unsigned char * */, keySz u32 /* from: unsigned int */, out LM.array u32 /* from: unsigned char * */, outSz LM.array u32 /* from: unsigned int * */, password LM.array u8 /* from: char * */, passwordSz i32 /* from: int */, vPKCS i32 /* from: int */, pbeOid i32 /* from: int */, encAlgId i32 /* from: int */, salt LM.array u32 /* from: unsigned char * */, saltSz u32 /* from: unsigned int */, itt i32 /* from: int */, rng Native_Ref /* from: struct WC_RNG * */, heap LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wc_CreatePKCS8Key(out LM.array u32 /* from: unsigned char * */, outSz LM.array u32 /* from: unsigned int * */, key LM.array u32 /* from: unsigned char * */, keySz u32 /* from: unsigned int */, algoID i32 /* from: int */, curveOID LM.array u32 /* from: unsigned char * */, oidSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_DecryptPKCS8Key(input LM.array u32 /* from: unsigned char * */, sz u32 /* from: unsigned int */, password LM.array u8 /* from: char * */, passwordSz i32 /* from: int */) i32 /* from: int */ => native
  module wc_DsaExportKeyRaw(dsa Native_Ref /* from: struct DsaKey * */, x LM.array u32 /* from: unsigned char * */, xSz LM.array u32 /* from: unsigned int * */, y LM.array u32 /* from: unsigned char * */, ySz LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wc_DsaExportParamsRaw(dsa Native_Ref /* from: struct DsaKey * */, p LM.array u32 /* from: unsigned char * */, pSz LM.array u32 /* from: unsigned int * */, q LM.array u32 /* from: unsigned char * */, qSz LM.array u32 /* from: unsigned int * */, g LM.array u32 /* from: unsigned char * */, gSz LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wc_DsaImportParamsRaw(dsa Native_Ref /* from: struct DsaKey * */, p LM.array u8 /* from: char * */, q LM.array u8 /* from: char * */, g LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wc_DsaImportParamsRawCheck(dsa Native_Ref /* from: struct DsaKey * */, p LM.array u8 /* from: char * */, q LM.array u8 /* from: char * */, g LM.array u8 /* from: char * */, trusted i32 /* from: int */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_DsaKeyToDer(key Native_Ref /* from: struct DsaKey * */, output LM.array u32 /* from: unsigned char * */, inLen u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_DsaKeyToParamsDer(key Native_Ref /* from: struct DsaKey * */, output LM.array u32 /* from: unsigned char * */, inLen u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_DsaKeyToParamsDer_ex(key Native_Ref /* from: struct DsaKey * */, output LM.array u32 /* from: unsigned char * */, inLen LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wc_DsaKeyToPublicDer(key Native_Ref /* from: struct DsaKey * */, output LM.array u32 /* from: unsigned char * */, inLen u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_DsaParamsDecode(input LM.array u32 /* from: unsigned char * */, inOutIdx LM.array u32 /* from: unsigned int * */, key Native_Ref /* from: struct DsaKey * */, inSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_DsaPrivateKeyDecode(input LM.array u32 /* from: unsigned char * */, inOutIdx LM.array u32 /* from: unsigned int * */, key Native_Ref /* from: struct DsaKey * */, inSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_DsaPublicKeyDecode(input LM.array u32 /* from: unsigned char * */, inOutIdx LM.array u32 /* from: unsigned int * */, key Native_Ref /* from: struct DsaKey * */, inSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_DsaSign(digest LM.array u32 /* from: unsigned char * */, out LM.array u32 /* from: unsigned char * */, key Native_Ref /* from: struct DsaKey * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_DsaSign_ex(digest LM.array u32 /* from: unsigned char * */, digestSz u32 /* from: unsigned int */, out LM.array u32 /* from: unsigned char * */, key Native_Ref /* from: struct DsaKey * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_DsaVerify(digest LM.array u32 /* from: unsigned char * */, sig LM.array u32 /* from: unsigned char * */, key Native_Ref /* from: struct DsaKey * */, answer LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wc_DsaVerify_ex(digest LM.array u32 /* from: unsigned char * */, digestSz u32 /* from: unsigned int */, sig LM.array u32 /* from: unsigned char * */, key Native_Ref /* from: struct DsaKey * */, answer LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wc_EncodeSignature(out LM.array u32 /* from: unsigned char * */, digest LM.array u32 /* from: unsigned char * */, digSz u32 /* from: unsigned int */, hashOID i32 /* from: int */) u32 /* from: unsigned int */ => native
  module wc_EncryptPKCS8Key(key LM.array u32 /* from: unsigned char * */, keySz u32 /* from: unsigned int */, out LM.array u32 /* from: unsigned char * */, outSz LM.array u32 /* from: unsigned int * */, password LM.array u8 /* from: char * */, passwordSz i32 /* from: int */, vPKCS i32 /* from: int */, pbeOid i32 /* from: int */, encAlgId i32 /* from: int */, salt LM.array u32 /* from: unsigned char * */, saltSz u32 /* from: unsigned int */, itt i32 /* from: int */, rng Native_Ref /* from: struct WC_RNG * */, heap LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wc_ErrorString(err i32 /* from: int */, buff LM.array u8 /* from: char * */) unit => native
  module wc_FileExists(fname LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wc_FileLoad(fname LM.array u8 /* from: char * */, buf Native_Ref /* from: unsigned char ** */, bufLen LM.array u32 /* from: unsigned long * */, heap LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wc_FreeCertList(list Native_Ref /* from: struct WC_DerCertList * */, heap LM.array u8 /* from: void * */) unit => native
  module wc_FreeDecodedCert(cert Native_Ref /* from: struct DecodedCert * */) unit => native
  module wc_FreeDer(pDer Native_Ref /* from: struct DerBuffer ** */) unit => native
  module wc_FreeDsaKey(key Native_Ref /* from: struct DsaKey * */) unit => native
  module wc_FreeMutex(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_FreeRng(rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_FreeRwLock(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_GenerateSeed(os Native_Ref /* from: struct OS_Seed * */, seed LM.array u32 /* from: unsigned char * */, sz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_GetCTC_HashOID(type_ i32 /* from: int */) i32 /* from: int */ => native
  module wc_GetCertDates(cert Native_Ref /* from: struct Cert * */, before Native_Ref /* from: struct tm * */, after Native_Ref /* from: struct tm * */) i32 /* from: int */ => native
  module wc_GetDateAsCalendarTime(date LM.array u32 /* from: unsigned char * */, length i32 /* from: int */, format u8 /* from: unsigned char */, timearg Native_Ref /* from: struct tm * */) i32 /* from: int */ => native
  module wc_GetDateInfo(certDate LM.array u32 /* from: unsigned char * */, certDateSz i32 /* from: int */, date Native_Ref /* from: unsigned char ** */, format LM.array u32 /* from: unsigned char * */, length LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wc_GetErrorString(error i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wc_GetPkcs8TraditionalOffset(input LM.array u32 /* from: unsigned char * */, inOutIdx LM.array u32 /* from: unsigned int * */, sz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_GetPubKeyDerFromCert(cert Native_Ref /* from: struct DecodedCert * */, derKey LM.array u32 /* from: unsigned char * */, derKeySz LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wc_GetTime(timePtr LM.array u8 /* from: void * */, timeSize u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_Hash(hash_type u32 /* from: enum wc_HashType */, data LM.array u32 /* from: unsigned char * */, data_len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */, hash_len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_HashFinal(hash Native_Ref /* from: wc_HashAlg * */, type_ u32 /* from: enum wc_HashType */, out LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_HashFree(hash Native_Ref /* from: wc_HashAlg * */, type_ u32 /* from: enum wc_HashType */) i32 /* from: int */ => native
  module wc_HashGetBlockSize(hash_type u32 /* from: enum wc_HashType */) i32 /* from: int */ => native
  module wc_HashGetDigestSize(hash_type u32 /* from: enum wc_HashType */) i32 /* from: int */ => native
  module wc_HashGetOID(hash_type u32 /* from: enum wc_HashType */) i32 /* from: int */ => native
  module wc_HashInit(hash Native_Ref /* from: wc_HashAlg * */, type_ u32 /* from: enum wc_HashType */) i32 /* from: int */ => native
  module wc_HashInit_ex(hash Native_Ref /* from: wc_HashAlg * */, type_ u32 /* from: enum wc_HashType */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_HashTypeConvert(hashType i32 /* from: int */) u32 /* from: enum wc_HashType */ => native
  module wc_HashUpdate(hash Native_Ref /* from: wc_HashAlg * */, type_ u32 /* from: enum wc_HashType */, data LM.array u32 /* from: unsigned char * */, dataSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_Hash_ex(hash_type u32 /* from: enum wc_HashType */, data LM.array u32 /* from: unsigned char * */, data_len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */, hash_len u32 /* from: unsigned int */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_HmacFinal(hmac Native_Ref /* from: struct Hmac * */, out LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_HmacFree(hmac Native_Ref /* from: struct Hmac * */) unit => native
  module wc_HmacInit(hmac Native_Ref /* from: struct Hmac * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_HmacSetKey(hmac Native_Ref /* from: struct Hmac * */, type_ i32 /* from: int */, key LM.array u32 /* from: unsigned char * */, keySz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_HmacSetKey_ex(hmac Native_Ref /* from: struct Hmac * */, type_ i32 /* from: int */, key LM.array u32 /* from: unsigned char * */, length u32 /* from: unsigned int */, allowFlag i32 /* from: int */) i32 /* from: int */ => native
  module wc_HmacSizeByType(type_ i32 /* from: int */) i32 /* from: int */ => native
  module wc_HmacUpdate(hmac Native_Ref /* from: struct Hmac * */, in_ LM.array u32 /* from: unsigned char * */, sz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_InitAndAllocMutex Native_Ref /* from: pthread_mutex_t * */ => native
  module wc_InitCert(cert Native_Ref /* from: struct Cert * */) i32 /* from: int */ => native
  module wc_InitCert_ex(cert Native_Ref /* from: struct Cert * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_InitDecodedCert(cert Native_Ref /* from: struct DecodedCert * */, source LM.array u32 /* from: unsigned char * */, inSz u32 /* from: unsigned int */, heap LM.array u8 /* from: void * */) unit => native
  module wc_InitDsaKey(key Native_Ref /* from: struct DsaKey * */) i32 /* from: int */ => native
  module wc_InitDsaKey_h(key Native_Ref /* from: struct DsaKey * */, h LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wc_InitMd4(md4 Native_Ref /* from: struct Md4 * */) unit => native
  module wc_InitMd5(md5 Native_Ref /* from: struct wc_Md5 * */) i32 /* from: int */ => native
  module wc_InitMd5_ex(md5 Native_Ref /* from: struct wc_Md5 * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_InitMutex(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_InitRng(rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_InitRngNonce(rng Native_Ref /* from: struct WC_RNG * */, nonce LM.array u32 /* from: unsigned char * */, nonceSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_InitRngNonce_ex(rng Native_Ref /* from: struct WC_RNG * */, nonce LM.array u32 /* from: unsigned char * */, nonceSz u32 /* from: unsigned int */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_InitRng_ex(rng Native_Ref /* from: struct WC_RNG * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_InitRwLock(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_InitSha(sha Native_Ref /* from: struct wc_Sha * */) i32 /* from: int */ => native
  module wc_InitSha256(sha Native_Ref /* from: struct wc_Sha256 * */) i32 /* from: int */ => native
  module wc_InitSha256_ex(sha Native_Ref /* from: struct wc_Sha256 * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_InitSha_ex(sha Native_Ref /* from: struct wc_Sha * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_KeyPemToDer(pem LM.array u32 /* from: unsigned char * */, pemSz i32 /* from: int */, buff LM.array u32 /* from: unsigned char * */, buffSz i32 /* from: int */, pass LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wc_LockMutex(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_LockRwLock_Rd(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_LockRwLock_Wr(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_MakeCert(cert Native_Ref /* from: struct Cert * */, derBuffer LM.array u32 /* from: unsigned char * */, derSz u32 /* from: unsigned int */, rsaKey Native_Ref /* from: struct RsaKey * */, eccKey Native_Ref /* from: struct ecc_key * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_MakeCert_ex(cert Native_Ref /* from: struct Cert * */, derBuffer LM.array u32 /* from: unsigned char * */, derSz u32 /* from: unsigned int */, keyType i32 /* from: int */, key LM.array u8 /* from: void * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_MakeSelfCert(cert Native_Ref /* from: struct Cert * */, buf LM.array u32 /* from: unsigned char * */, buffSz u32 /* from: unsigned int */, key Native_Ref /* from: struct RsaKey * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_Md4Final(md4 Native_Ref /* from: struct Md4 * */, hash LM.array u32 /* from: unsigned char * */) unit => native
  module wc_Md4Update(md4 Native_Ref /* from: struct Md4 * */, data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */) unit => native
  module wc_Md5Copy(src Native_Ref /* from: struct wc_Md5 * */, dst Native_Ref /* from: struct wc_Md5 * */) i32 /* from: int */ => native
  module wc_Md5Final(md5 Native_Ref /* from: struct wc_Md5 * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_Md5Free(md5 Native_Ref /* from: struct wc_Md5 * */) unit => native
  module wc_Md5GetHash(md5 Native_Ref /* from: struct wc_Md5 * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_Md5Hash(data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_Md5Hash_ex(data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_Md5Update(md5 Native_Ref /* from: struct wc_Md5 * */, data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_OidGetHash(oid i32 /* from: int */) u32 /* from: enum wc_HashType */ => native
  module wc_PKCS12_GetHeap(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */) Native_Ref /* from: void * */ => native
  module wc_PKCS12_SetHeap(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */, heap LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wc_PKCS12_create(pass LM.array u8 /* from: char * */, passSz u32 /* from: unsigned int */, name LM.array u8 /* from: char * */, key LM.array u32 /* from: unsigned char * */, keySz u32 /* from: unsigned int */, cert LM.array u32 /* from: unsigned char * */, certSz u32 /* from: unsigned int */, ca Native_Ref /* from: struct WC_DerCertList * */, nidKey i32 /* from: int */, nidCert i32 /* from: int */, iter i32 /* from: int */, macIter i32 /* from: int */, keyType i32 /* from: int */, heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WC_PKCS12 * */ => native
  module wc_PKCS12_free(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */) unit => native
  module wc_PKCS12_new Native_Ref /* from: struct WC_PKCS12 * */ => native
  module wc_PKCS12_new_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WC_PKCS12 * */ => native
  module wc_PKCS12_parse(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */, psw LM.array u8 /* from: char * */, pkey Native_Ref /* from: unsigned char ** */, pkeySz LM.array u32 /* from: unsigned int * */, cert Native_Ref /* from: unsigned char ** */, certSz LM.array u32 /* from: unsigned int * */, ca Native_Ref /* from: struct WC_DerCertList ** */) i32 /* from: int */ => native
  module wc_PKCS12_verify_ex(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */, psw LM.array u32 /* from: unsigned char * */, pswSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_ParseCert(cert Native_Ref /* from: struct DecodedCert * */, type_ i32 /* from: int */, verify i32 /* from: int */, cm LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wc_PemGetHeaderFooter(type_ i32 /* from: int */, header Native_Ref /* from: char ** */, footer Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module wc_RNG_DRBG_Reseed(rng Native_Ref /* from: struct WC_RNG * */, entropy LM.array u32 /* from: unsigned char * */, entropySz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_RNG_GenerateBlock(rng Native_Ref /* from: struct WC_RNG * */, b LM.array u32 /* from: unsigned char * */, sz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_RNG_GenerateByte(rng Native_Ref /* from: struct WC_RNG * */, b LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_RNG_HealthTest(reseed i32 /* from: int */, entropyA LM.array u32 /* from: unsigned char * */, entropyASz u32 /* from: unsigned int */, entropyB LM.array u32 /* from: unsigned char * */, entropyBSz u32 /* from: unsigned int */, output LM.array u32 /* from: unsigned char * */, outputSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_RNG_HealthTest_ex(reseed i32 /* from: int */, nonce LM.array u32 /* from: unsigned char * */, nonceSz u32 /* from: unsigned int */, entropyA LM.array u32 /* from: unsigned char * */, entropyASz u32 /* from: unsigned int */, entropyB LM.array u32 /* from: unsigned char * */, entropyBSz u32 /* from: unsigned int */, output LM.array u32 /* from: unsigned char * */, outputSz u32 /* from: unsigned int */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_RNG_TestSeed(seed LM.array u32 /* from: unsigned char * */, seedSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_ReadDirClose(ctx Native_Ref /* from: struct ReadDirCtx * */) unit => native
  module wc_ReadDirFirst(ctx Native_Ref /* from: struct ReadDirCtx * */, path LM.array u8 /* from: char * */, name Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module wc_ReadDirNext(ctx Native_Ref /* from: struct ReadDirCtx * */, path LM.array u8 /* from: char * */, name Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module wc_RsaKeyToPublicDer(key Native_Ref /* from: struct RsaKey * */, output LM.array u32 /* from: unsigned char * */, inLen u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_RsaKeyToPublicDer_ex(key Native_Ref /* from: struct RsaKey * */, output LM.array u32 /* from: unsigned char * */, inLen u32 /* from: unsigned int */, with_header i32 /* from: int */) i32 /* from: int */ => native
  module wc_RsaPublicKeyDecode_ex(input LM.array u32 /* from: unsigned char * */, inOutIdx LM.array u32 /* from: unsigned int * */, inSz u32 /* from: unsigned int */, n Native_Ref /* from: unsigned char ** */, nSz LM.array u32 /* from: unsigned int * */, e Native_Ref /* from: unsigned char ** */, eSz LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wc_RsaPublicKeyDerSize(key Native_Ref /* from: struct RsaKey * */, with_header i32 /* from: int */) i32 /* from: int */ => native
  module wc_SetAltNamesBuffer(cert Native_Ref /* from: struct Cert * */, der LM.array u32 /* from: unsigned char * */, derSz i32 /* from: int */) i32 /* from: int */ => native
  module wc_SetDatesBuffer(cert Native_Ref /* from: struct Cert * */, der LM.array u32 /* from: unsigned char * */, derSz i32 /* from: int */) i32 /* from: int */ => native
  module wc_SetDsaPublicKey(output LM.array u32 /* from: unsigned char * */, key Native_Ref /* from: struct DsaKey * */, outLen i32 /* from: int */, with_header i32 /* from: int */) i32 /* from: int */ => native
  module wc_SetIssuer(cert Native_Ref /* from: struct Cert * */, issuerFile LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wc_SetIssuerBuffer(cert Native_Ref /* from: struct Cert * */, der LM.array u32 /* from: unsigned char * */, derSz i32 /* from: int */) i32 /* from: int */ => native
  module wc_SetSubject(cert Native_Ref /* from: struct Cert * */, subjectFile LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wc_SetSubjectBuffer(cert Native_Ref /* from: struct Cert * */, der LM.array u32 /* from: unsigned char * */, derSz i32 /* from: int */) i32 /* from: int */ => native
  module wc_Sha256Copy(src Native_Ref /* from: struct wc_Sha256 * */, dst Native_Ref /* from: struct wc_Sha256 * */) i32 /* from: int */ => native
  module wc_Sha256Final(sha256 Native_Ref /* from: struct wc_Sha256 * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_Sha256FinalRaw(sha256 Native_Ref /* from: struct wc_Sha256 * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_Sha256Free(sha256 Native_Ref /* from: struct wc_Sha256 * */) unit => native
  module wc_Sha256GetHash(sha256 Native_Ref /* from: struct wc_Sha256 * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_Sha256Hash(data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_Sha256Hash_ex(data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_Sha256Update(sha Native_Ref /* from: struct wc_Sha256 * */, data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_ShaCopy(src Native_Ref /* from: struct wc_Sha * */, dst Native_Ref /* from: struct wc_Sha * */) i32 /* from: int */ => native
  module wc_ShaFinal(sha Native_Ref /* from: struct wc_Sha * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_ShaFinalRaw(sha Native_Ref /* from: struct wc_Sha * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_ShaFree(sha Native_Ref /* from: struct wc_Sha * */) unit => native
  module wc_ShaGetHash(sha Native_Ref /* from: struct wc_Sha * */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_ShaHash(data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wc_ShaHash_ex(data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */, hash LM.array u32 /* from: unsigned char * */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_ShaUpdate(sha Native_Ref /* from: struct wc_Sha * */, data LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wc_SignCert(requestSz i32 /* from: int */, sType i32 /* from: int */, buf LM.array u32 /* from: unsigned char * */, buffSz u32 /* from: unsigned int */, rsaKey Native_Ref /* from: struct RsaKey * */, eccKey Native_Ref /* from: struct ecc_key * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_SignCert_ex(requestSz i32 /* from: int */, sType i32 /* from: int */, buf LM.array u32 /* from: unsigned char * */, buffSz u32 /* from: unsigned int */, keyType i32 /* from: int */, key LM.array u8 /* from: void * */, rng Native_Ref /* from: struct WC_RNG * */) i32 /* from: int */ => native
  module wc_UnLockMutex(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_UnLockRwLock(m Native_Ref /* from: pthread_mutex_t * */) i32 /* from: int */ => native
  module wc_d2i_PKCS12(der LM.array u32 /* from: unsigned char * */, derSz u32 /* from: unsigned int */, pkcs12 Native_Ref /* from: struct WC_PKCS12 * */) i32 /* from: int */ => native
  module wc_d2i_PKCS12_fp(file LM.array u8 /* from: char * */, pkcs12 Native_Ref /* from: struct WC_PKCS12 ** */) i32 /* from: int */ => native
  module wc_i2d_PKCS12(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */, der Native_Ref /* from: unsigned char ** */, derSz LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wc_rng_free(rng Native_Ref /* from: struct WC_RNG * */) unit => native
  module wc_rng_new(nonce LM.array u32 /* from: unsigned char * */, nonceSz u32 /* from: unsigned int */, heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WC_RNG * */ => native
  module wc_rng_new_ex(rng Native_Ref /* from: struct WC_RNG ** */, nonce LM.array u32 /* from: unsigned char * */, nonceSz u32 /* from: unsigned int */, heap LM.array u8 /* from: void * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wc_strsep(stringp Native_Ref /* from: char ** */, delim LM.array u8 /* from: char * */) Native_Ref /* from: char * */ => native
  module wc_strtok(str LM.array u8 /* from: char * */, delim LM.array u8 /* from: char * */, nextp Native_Ref /* from: char ** */) Native_Ref /* from: char * */ => native
  module wctomb(__s LM.array u8 /* from: char * */, __wchar i32 /* from: int */) i32 /* from: int */ => native
  module wolfCrypt_Cleanup i32 /* from: int */ => native
  module wolfCrypt_Init i32 /* from: int */ => native
  module wolfIO_Recv(sd i32 /* from: int */, buf LM.array u8 /* from: char * */, sz i32 /* from: int */, rdFlags i32 /* from: int */) i32 /* from: int */ => native
  module wolfIO_Send(sd i32 /* from: int */, buf LM.array u8 /* from: char * */, sz i32 /* from: int */, wrFlags i32 /* from: int */) i32 /* from: int */ => native
  module wolfIO_TcpAccept(sockfd i32 /* from: int */, peer_addr Native_Ref /* from: struct sockaddr * */, peer_len LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wolfIO_TcpBind(sockfd LM.array i32 /* from: int * */, port u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfIO_TcpConnect(sockfd LM.array i32 /* from: int * */, ip LM.array u8 /* from: char * */, port u16 /* from: unsigned short */, to_sec i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_ACCESS_DESCRIPTION_free(a Native_Ref /* from: struct WOLFSSL_ACCESS_DESCRIPTION * */) unit => native
  module wolfSSL_ASN1_GENERALIZEDTIME_free(_ Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) unit => native
  module wolfSSL_ASN1_GENERALIZEDTIME_print(bio Native_Ref /* from: struct WOLFSSL_BIO * */, asnTime Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_INTEGER_cmp(a Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */, b Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_INTEGER_dup(src Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */) Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */ => native
  module wolfSSL_ASN1_INTEGER_free(in_ Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */) unit => native
  module wolfSSL_ASN1_INTEGER_new Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */ => native
  module wolfSSL_ASN1_OBJECT_dup(obj Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */) Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */ => native
  module wolfSSL_ASN1_OBJECT_free(obj Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */) unit => native
  module wolfSSL_ASN1_OBJECT_new Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */ => native
  module wolfSSL_ASN1_STRING_cmp(a Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */, b Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_STRING_copy(dst Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */, src Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_STRING_data(asn Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_ASN1_STRING_dup(asn1 Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */ => native
  module wolfSSL_ASN1_STRING_free(asn1 Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) unit => native
  module wolfSSL_ASN1_STRING_get0_data(asn Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_ASN1_STRING_length(asn Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_STRING_new Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */ => native
  module wolfSSL_ASN1_STRING_set(asn1 Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */, data LM.array u8 /* from: void * */, dataSz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_ASN1_STRING_to_UTF8(out Native_Ref /* from: unsigned char ** */, in_ Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_STRING_type(asn1 Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_STRING_type_new(type_ i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */ => native
  module wolfSSL_ASN1_TIME_check(a Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_TIME_compare(a Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */, b Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_TIME_diff(days LM.array i32 /* from: int * */, secs LM.array i32 /* from: int * */, from Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */, to Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_TIME_print(bio Native_Ref /* from: struct WOLFSSL_BIO * */, asnTime Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_TIME_to_string(t Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */, buf LM.array u8 /* from: char * */, len i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_ASN1_TIME_to_tm(asnTime Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */, tm Native_Ref /* from: struct tm * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_UNIVERSALSTRING_to_string(s Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) i32 /* from: int */ => native
  module wolfSSL_ASN1_UTCTIME_print(bio Native_Ref /* from: struct WOLFSSL_BIO * */, a Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_AUTHORITY_INFO_ACCESS_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_AUTHORITY_INFO_ACCESS_pop_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_ACCESS_DESCRIPTION * */) unit => native
  module wolfSSL_BIO_clear_flags(bio Native_Ref /* from: struct WOLFSSL_BIO * */, flags i32 /* from: int */) unit => native
  module wolfSSL_BIO_clear_retry_flags(bio Native_Ref /* from: struct WOLFSSL_BIO * */) unit => native
  module wolfSSL_BIO_ctrl_reset_read_request(b Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_do_accept(b Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_dump(bio Native_Ref /* from: struct WOLFSSL_BIO * */, buf LM.array u8 /* from: char * */, length i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_eof(b Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_f_base64 Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_f_buffer Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_f_md Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_f_ssl Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_find_type(bio Native_Ref /* from: struct WOLFSSL_BIO * */, type_ i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_flush(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_free(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_free_all(bio Native_Ref /* from: struct WOLFSSL_BIO * */) unit => native
  module wolfSSL_BIO_get_callback(bio Native_Ref /* from: struct WOLFSSL_BIO * */) Native_Ref /* from: long (*)(struct WOLFSSL_BIO *, int, char *, int, long, long) */ => native
  module wolfSSL_BIO_get_callback_arg(bio Native_Ref /* from: struct WOLFSSL_BIO * */) Native_Ref /* from: char * */ => native
  module wolfSSL_BIO_get_data(bio Native_Ref /* from: struct WOLFSSL_BIO * */) Native_Ref /* from: void * */ => native
  module wolfSSL_BIO_get_ex_data(bio Native_Ref /* from: struct WOLFSSL_BIO * */, idx i32 /* from: int */) Native_Ref /* from: void * */ => native
  module wolfSSL_BIO_get_fd(bio Native_Ref /* from: struct WOLFSSL_BIO * */, fd LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_BIO_get_len(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_get_md_ctx(bio Native_Ref /* from: struct WOLFSSL_BIO * */, mdcp Native_Ref /* from: struct WOLFSSL_EVP_MD_CTX ** */) i32 /* from: int */ => native
  module wolfSSL_BIO_get_mem_data(bio Native_Ref /* from: struct WOLFSSL_BIO * */, p LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_BIO_get_shutdown(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_gets(bio Native_Ref /* from: struct WOLFSSL_BIO * */, buf LM.array u8 /* from: char * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_make_bio_pair(b1 Native_Ref /* from: struct WOLFSSL_BIO * */, b2 Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_meth_free(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */) unit => native
  module wolfSSL_BIO_meth_new(type_ i32 /* from: int */, name LM.array u8 /* from: char * */) Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_meth_set_create(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, biom_create F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_meth_set_destroy(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, biom_destroy F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_meth_set_gets(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, biom_gets F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_BIO * */ Native_Ref /* from: char * */ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_meth_set_puts(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, biom_puts F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_BIO * */ Native_Ref /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_BIO_meth_set_read(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, biom_read F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_BIO * */ Native_Ref /* from: char * */ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_meth_set_write(biom Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */, biom_write F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_BIO * */ Native_Ref /* from: char * */ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_method_type(b Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_new(method Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_new_accept(port LM.array u8 /* from: char * */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_new_connect(str LM.array u8 /* from: char * */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_new_fd(fd i32 /* from: int */, close_flag i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_new_mem_buf(buf LM.array u8 /* from: void * */, len i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_new_socket(sfd i32 /* from: int */, flag i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_new_ssl(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, client i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_new_ssl_connect(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_next(bio Native_Ref /* from: struct WOLFSSL_BIO * */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_nread(bio Native_Ref /* from: struct WOLFSSL_BIO * */, buf Native_Ref /* from: char ** */, num i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_nread0(bio Native_Ref /* from: struct WOLFSSL_BIO * */, buf Native_Ref /* from: char ** */) i32 /* from: int */ => native
  module wolfSSL_BIO_nwrite(bio Native_Ref /* from: struct WOLFSSL_BIO * */, buf Native_Ref /* from: char ** */, num i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_pending(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_pop(bio Native_Ref /* from: struct WOLFSSL_BIO * */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_printf(bio Native_Ref /* from: struct WOLFSSL_BIO * */, format LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_BIO_push(top Native_Ref /* from: struct WOLFSSL_BIO * */, append Native_Ref /* from: struct WOLFSSL_BIO * */) Native_Ref /* from: struct WOLFSSL_BIO * */ => native
  module wolfSSL_BIO_puts(bio Native_Ref /* from: struct WOLFSSL_BIO * */, buf LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_BIO_read(bio Native_Ref /* from: struct WOLFSSL_BIO * */, buf LM.array u8 /* from: void * */, len i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_reset(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_s_bio Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_s_file Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_s_mem Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_s_socket Native_Ref /* from: struct WOLFSSL_BIO_METHOD * */ => native
  module wolfSSL_BIO_seek(bio Native_Ref /* from: struct WOLFSSL_BIO * */, ofs i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_set_callback_arg(bio Native_Ref /* from: struct WOLFSSL_BIO * */, arg LM.array u8 /* from: char * */) unit => native
  module wolfSSL_BIO_set_data(bio Native_Ref /* from: struct WOLFSSL_BIO * */, ptr LM.array u8 /* from: void * */) unit => native
  module wolfSSL_BIO_set_ex_data(bio Native_Ref /* from: struct WOLFSSL_BIO * */, idx i32 /* from: int */, data LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_BIO_set_flags(bio Native_Ref /* from: struct WOLFSSL_BIO * */, flags i32 /* from: int */) unit => native
  module wolfSSL_BIO_set_init(bio Native_Ref /* from: struct WOLFSSL_BIO * */, init i32 /* from: int */) unit => native
  module wolfSSL_BIO_set_shutdown(bio Native_Ref /* from: struct WOLFSSL_BIO * */, shut i32 /* from: int */) unit => native
  module wolfSSL_BIO_should_read(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_should_retry(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_should_write(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_ssl_shutdown(b Native_Ref /* from: struct WOLFSSL_BIO * */) unit => native
  module wolfSSL_BIO_tell(bio Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_up_ref(b Native_Ref /* from: struct WOLFSSL_BIO * */) i32 /* from: int */ => native
  module wolfSSL_BIO_vfree(bio Native_Ref /* from: struct WOLFSSL_BIO * */) unit => native
  module wolfSSL_BIO_vprintf(bio Native_Ref /* from: struct WOLFSSL_BIO * */, format LM.array u8 /* from: char * */, args Native_Ref /* from: struct __va_list_tag[1] */) i32 /* from: int */ => native
  module wolfSSL_BIO_write(bio Native_Ref /* from: struct WOLFSSL_BIO * */, data LM.array u8 /* from: void * */, len i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_BIO_write_filename(bio Native_Ref /* from: struct WOLFSSL_BIO * */, name LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CIPHER_description(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */, in_ LM.array u8 /* from: char * */, len i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_CIPHER_get_auth_nid(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) i32 /* from: int */ => native
  module wolfSSL_CIPHER_get_cipher_nid(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) i32 /* from: int */ => native
  module wolfSSL_CIPHER_get_digest_nid(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) i32 /* from: int */ => native
  module wolfSSL_CIPHER_get_id(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) u32 /* from: unsigned int */ => native
  module wolfSSL_CIPHER_get_kx_nid(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) i32 /* from: int */ => native
  module wolfSSL_CIPHER_get_name(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) Native_Ref /* from: char * */ => native
  module wolfSSL_CIPHER_get_version(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) Native_Ref /* from: char * */ => native
  module wolfSSL_CIPHER_is_aead(cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) i32 /* from: int */ => native
  module wolfSSL_COMP_add_compression_method(method i32 /* from: int */, data LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_COMP_rle Native_Ref /* from: struct WOLFSSL_COMP_METHOD * */ => native
  module wolfSSL_COMP_zlib Native_Ref /* from: struct WOLFSSL_COMP_METHOD * */ => native
  module wolfSSL_CONF_get1_default_config_file Native_Ref /* from: char * */ => native
  module wolfSSL_CONF_modules_unload(all i32 /* from: int */) unit => native
  module wolfSSL_CTX_DisableCRL(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_DisableExtendedMasterSecret(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_DisableOCSP(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_DisableOCSPMustStaple(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_DisableOCSPStapling(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_EnableCRL(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, options i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_EnableOCSP(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, options i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_EnableOCSPMustStaple(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_EnableOCSPStapling(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_GetCertManager(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */ => native
  module wolfSSL_CTX_GetDevId(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_CTX_GetHeap(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_CTX_GetObjectSize i32 /* from: int */ => native
  module wolfSSL_CTX_LoadCRL(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, path LM.array u8 /* from: char * */, type_ i32 /* from: int */, monitor i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_LoadCRLFile(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, path LM.array u8 /* from: char * */, type_ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetCACb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function unit Native_Ref /* from: unsigned char * */ i32 /* from: int */ i32 /* from: int */) unit => native
  module wolfSSL_CTX_SetCRL_Cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function unit Native_Ref /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetCertCbCtx(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, userCtx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_CTX_SetDecryptVerifyCb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: unsigned int * */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_CTX_SetDevId(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetEncryptMacCb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char * */ i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_CTX_SetIORecv(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, CBIORecv F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ i32 /* from: int */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_CTX_SetIOSend(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, CBIOSend F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ i32 /* from: int */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_CTX_SetMacEncryptCb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_CTX_SetMaxDhKey_Sz(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, keySz_bits u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetMinDhKey_Sz(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, keySz_bits u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetMinRsaKey_Sz(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, keySz i16 /* from: short */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetMinVersion(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, version i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetOCSP_Cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, ioCb F1 : Function i32 /* from: int */ Native_Ref /* from: void * */ Native_Ref /* from: char * */ i32 /* from: int */ Native_Ref /* from: unsigned char * */ i32 /* from: int */ Native_Ref /* from: unsigned char ** */, respFreeCb F2 : Function unit Native_Ref /* from: void * */ Native_Ref /* from: unsigned char * */, ioCbCtx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetOCSP_OverrideURL(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, url LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetTmpDH(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, p LM.array u32 /* from: unsigned char * */, pSz i32 /* from: int */, g LM.array u32 /* from: unsigned char * */, gSz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetTmpDH_file(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, f LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetTmpEC_DHE_Sz(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, sz u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_CTX_SetVerifyDecryptCb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: unsigned int * */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_CTX_UnloadCAs(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_UnloadIntermediateCerts(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_UseClientSuites(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_add_client_CA(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_CTX_add_session(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, session Native_Ref /* from: struct WOLFSSL_SESSION * */) i32 /* from: int */ => native
  module wolfSSL_CTX_check_private_key(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_dtls_set_mtu(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, _ u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_CTX_dtls_set_sctp(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_free(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) unit => native
  module wolfSSL_CTX_get0_param(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: struct WOLFSSL_X509_VERIFY_PARAM * */ => native
  module wolfSSL_CTX_get0_privatekey(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  module wolfSSL_CTX_get_cert_cache_memsize(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_get_client_CA_list(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_CTX_get_default_passwd_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: int (*)(char *, int, int, void *) */ => native
  module wolfSSL_CTX_get_default_passwd_cb_userdata(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: void * */ => native
  module wolfSSL_CTX_get_ex_data(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, idx i32 /* from: int */) Native_Ref /* from: void * */ => native
  module wolfSSL_CTX_get_psk_callback_ctx(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: void * */ => native
  module wolfSSL_CTX_get_read_ahead(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_load_system_CA_certs(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_load_verify_locations(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, file LM.array u8 /* from: char * */, path LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_load_verify_locations_ex(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, file LM.array u8 /* from: char * */, path LM.array u8 /* from: char * */, flags u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_CTX_mcast_set_highwater_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, maxSeq u32 /* from: unsigned int */, first u32 /* from: unsigned int */, second u32 /* from: unsigned int */, cb F4 : Function i32 /* from: int */ u16 /* from: unsigned short */ u32 /* from: unsigned int */ u32 /* from: unsigned int */ Native_Ref /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_CTX_mcast_set_member_id(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, id u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_CTX_memrestore_cert_cache(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, mem LM.array u8 /* from: void * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_memsave_cert_cache(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, mem LM.array u8 /* from: void * */, sz i32 /* from: int */, used LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_CTX_mutual_auth(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, req i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_new(method Native_Ref /* from: struct WOLFSSL_METHOD * */) Native_Ref /* from: struct WOLFSSL_CTX * */ => native
  module wolfSSL_CTX_new_ex(method Native_Ref /* from: struct WOLFSSL_METHOD * */, heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_CTX * */ => native
  module wolfSSL_CTX_restore_cert_cache(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, fname LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_save_cert_cache(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, fname LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_sess_set_get_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, f F1 : Function Native_Ref /* from: struct WOLFSSL_SESSION * */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char * */ i32 /* from: int */ Native_Ref /* from: int * */) unit => native
  module wolfSSL_CTX_sess_set_new_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, f F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: struct WOLFSSL_SESSION * */) unit => native
  module wolfSSL_CTX_sess_set_remove_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_CTX * */ Native_Ref /* from: struct WOLFSSL_SESSION * */) unit => native
  module wolfSSL_CTX_set1_param(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, vpm Native_Ref /* from: struct WOLFSSL_X509_VERIFY_PARAM * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_alpn_select_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char ** */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ Native_Ref /* from: void * */, arg LM.array u8 /* from: void * */) unit => native
  module wolfSSL_CTX_set_cert_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: void * */, arg LM.array u8 /* from: void * */) unit => native
  module wolfSSL_CTX_set_cipher_list(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, list LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_cipher_list_bytes(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, list LM.array u32 /* from: unsigned char * */, listSz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_client_CA_list(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, _ Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_CTX_set_client_cert_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: struct WOLFSSL_X509 ** */ Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */) unit => native
  module wolfSSL_CTX_set_current_time_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function unit Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: WOLFSSL_TIMEVAL * */) unit => native
  module wolfSSL_CTX_set_default_passwd_cb(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: char * */ i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_CTX_set_default_passwd_cb_userdata(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, userdata LM.array u8 /* from: void * */) unit => native
  module wolfSSL_CTX_set_default_read_ahead(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, m i32 /* from: int */) unit => native
  module wolfSSL_CTX_set_default_verify_paths(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_ex_data(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, idx i32 /* from: int */, data LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_group_messages(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_groups(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, groups LM.array i32 /* from: int * */, count i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_info_callback(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL * */ i32 /* from: int */ i32 /* from: int */) unit => native
  module wolfSSL_CTX_set_next_proto_select_cb(s Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char ** */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ Native_Ref /* from: void * */, arg LM.array u8 /* from: void * */) unit => native
  module wolfSSL_CTX_set_next_protos_advertised_cb(s Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char ** */ Native_Ref /* from: unsigned int * */ Native_Ref /* from: void * */, arg LM.array u8 /* from: void * */) unit => native
  module wolfSSL_CTX_set_psk_callback_ctx(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, psk_ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_psk_client_callback(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function u32 /* from: unsigned int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ Native_Ref /* from: char * */ u32 /* from: unsigned int */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */) unit => native
  module wolfSSL_CTX_set_psk_server_callback(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, cb F1 : Function u32 /* from: unsigned int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */) unit => native
  module wolfSSL_CTX_set_quiet_shutdown(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, mode i32 /* from: int */) unit => native
  module wolfSSL_CTX_set_read_ahead(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, v i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_session_id_context(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, sid_ctx LM.array u32 /* from: unsigned char * */, sid_ctx_len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_srp_password(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, password LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_srp_strength(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, strength i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_srp_username(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, username LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_timeout(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, to u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_tlsext_max_fragment_length(c Native_Ref /* from: struct WOLFSSL_CTX * */, mode u8 /* from: unsigned char */) i32 /* from: int */ => native
  module wolfSSL_CTX_set_tmp_rsa_callback(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, f F1 : Function Native_Ref /* from: struct WOLFSSL_RSA * */ Native_Ref /* from: struct WOLFSSL * */ i32 /* from: int */ i32 /* from: int */) unit => native
  module wolfSSL_CTX_set_verify(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, mode i32 /* from: int */, verify_callback F2 : Function i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) unit => native
  module wolfSSL_CTX_set_verify_depth(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, depth i32 /* from: int */) unit => native
  module wolfSSL_CTX_up_ref(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) i32 /* from: int */ => native
  module wolfSSL_CTX_use_PrivateKey_Label(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, label LM.array u8 /* from: char * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_use_PrivateKey_file(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_use_RSAPrivateKey_file(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_use_certificate_chain_file(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, file LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CTX_use_certificate_chain_file_format(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_use_certificate_file(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CTX_use_psk_identity_hint(ctx Native_Ref /* from: struct WOLFSSL_CTX * */, hint LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerCheckCRL(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, der LM.array u32 /* from: unsigned char * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CertManagerCheckOCSP(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, der LM.array u32 /* from: unsigned char * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CertManagerDisableCRL(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerDisableOCSP(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerDisableOCSPMustStaple(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerDisableOCSPStapling(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerEnableCRL(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, options i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CertManagerEnableOCSP(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, options i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CertManagerEnableOCSPMustStaple(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerEnableOCSPStapling(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerFree(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) unit => native
  module wolfSSL_CertManagerFreeCRL(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerLoadCA(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, f LM.array u8 /* from: char * */, d LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerLoadCRL(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, path LM.array u8 /* from: char * */, type_ i32 /* from: int */, monitor i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CertManagerLoadCRLFile(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, file LM.array u8 /* from: char * */, type_ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CertManagerNew Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */ => native
  module wolfSSL_CertManagerNew_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */ => native
  module wolfSSL_CertManagerSetCRL_Cb(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, cb F1 : Function unit Native_Ref /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerSetOCSPOverrideURL(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, url LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerSetOCSP_Cb(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, ioCb F1 : Function i32 /* from: int */ Native_Ref /* from: void * */ Native_Ref /* from: char * */ i32 /* from: int */ Native_Ref /* from: unsigned char * */ i32 /* from: int */ Native_Ref /* from: unsigned char ** */, respFreeCb F2 : Function unit Native_Ref /* from: void * */ Native_Ref /* from: unsigned char * */, ioCbCtx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerSetVerify(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, vc F1 : Function i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) unit => native
  module wolfSSL_CertManagerUnloadCAs(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerUnloadIntermediateCerts(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_CertManagerVerify(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */, f LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_CertManager_up_ref(cm Native_Ref /* from: struct WOLFSSL_CERT_MANAGER * */) i32 /* from: int */ => native
  module wolfSSL_Cleanup i32 /* from: int */ => native
  module wolfSSL_CondEnd(cond Native_Ref /* from: struct COND_TYPE * */) i32 /* from: int */ => native
  module wolfSSL_CondFree(cond Native_Ref /* from: struct COND_TYPE * */) i32 /* from: int */ => native
  module wolfSSL_CondInit(cond Native_Ref /* from: struct COND_TYPE * */) i32 /* from: int */ => native
  module wolfSSL_CondSignal(cond Native_Ref /* from: struct COND_TYPE * */) i32 /* from: int */ => native
  module wolfSSL_CondStart(cond Native_Ref /* from: struct COND_TYPE * */) i32 /* from: int */ => native
  module wolfSSL_CondWait(cond Native_Ref /* from: struct COND_TYPE * */) i32 /* from: int */ => native
  module wolfSSL_DIST_POINTS_free(dp Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_DIST_POINT_free(dp Native_Ref /* from: struct WOLFSSL_DIST_POINT * */) unit => native
  module wolfSSL_DIST_POINT_new Native_Ref /* from: struct WOLFSSL_DIST_POINT * */ => native
  module wolfSSL_DTLS_SetCookieSecret(ssl Native_Ref /* from: struct WOLFSSL * */, secret LM.array u32 /* from: unsigned char * */, secretSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_DTLSv1_get_timeout(ssl Native_Ref /* from: struct WOLFSSL * */, timeleft Native_Ref /* from: WOLFSSL_TIMEVAL * */) i32 /* from: int */ => native
  module wolfSSL_DTLSv1_handle_timeout(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_DTLSv1_set_initial_timeout_duration(ssl Native_Ref /* from: struct WOLFSSL * */, duration_ms u32 /* from: unsigned int */) unit => native
  module wolfSSL_Debugging_OFF unit => native
  module wolfSSL_Debugging_ON i32 /* from: int */ => native
  module wolfSSL_DeriveTlsKeys(key_data LM.array u32 /* from: unsigned char * */, keyLen u32 /* from: unsigned int */, ms LM.array u32 /* from: unsigned char * */, msLen u32 /* from: unsigned int */, sr LM.array u32 /* from: unsigned char * */, cr LM.array u32 /* from: unsigned char * */, tls1_2 i32 /* from: int */, hash_type i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_DisableCRL(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_DisableExtendedMasterSecret(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_DisableOCSP(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_DisableOCSPStapling(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_ERR_clear_error unit => native
  module wolfSSL_ERR_free_strings unit => native
  module wolfSSL_ERR_print_errors(bio Native_Ref /* from: struct WOLFSSL_BIO * */) unit => native
  module wolfSSL_ERR_print_errors_fp(fp Native_Ref /* from: struct _IO_FILE * */, err i32 /* from: int */) unit => native
  module wolfSSL_ERR_put_error(lib i32 /* from: int */, fun i32 /* from: int */, err i32 /* from: int */, file LM.array u8 /* from: char * */, line i32 /* from: int */) unit => native
  module wolfSSL_EXTENDED_KEY_USAGE_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_EnableCRL(ssl Native_Ref /* from: struct WOLFSSL * */, options i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_EnableOCSP(ssl Native_Ref /* from: struct WOLFSSL * */, options i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_EnableOCSPStapling(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_Free(ptr LM.array u8 /* from: void * */) unit => native
  module wolfSSL_FreeArrays(ssl Native_Ref /* from: struct WOLFSSL * */) unit => native
  module wolfSSL_FreeHandshakeResources(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GENERAL_NAMES_dup(gns Native_Ref /* from: struct WOLFSSL_STACK * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_GENERAL_NAMES_free(name Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_GENERAL_NAME_dup(gn Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */) Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */ => native
  module wolfSSL_GENERAL_NAME_free(gn Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */) unit => native
  module wolfSSL_GENERAL_NAME_new Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */ => native
  module wolfSSL_GENERAL_NAME_print(out Native_Ref /* from: struct WOLFSSL_BIO * */, name Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */) i32 /* from: int */ => native
  module wolfSSL_GENERAL_NAME_set0_othername(gen Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */, oid Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */, value Native_Ref /* from: struct WOLFSSL_ASN1_TYPE * */) i32 /* from: int */ => native
  module wolfSSL_GENERAL_NAME_set0_value(a Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */, type_ i32 /* from: int */, value LM.array u8 /* from: void * */) unit => native
  module wolfSSL_GENERAL_NAME_set_type(name Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */, typ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_GET_REASON(_ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_GetAeadMacSize(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetAllocators(mf Native_Ref /* from: void *(**)(unsigned long) */, ff Native_Ref /* from: void (**)(void *) */, rf Native_Ref /* from: void *(**)(void *, unsigned long) */) i32 /* from: int */ => native
  module wolfSSL_GetBulkCipher(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetCipherBlockSize(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetCipherType(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetClientWriteIV(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_GetClientWriteKey(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_GetDecryptVerifyCtx(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_GetDhKey_Sz(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetDtlsMacSecret(ssl Native_Ref /* from: struct WOLFSSL * */, verify i32 /* from: int */, epochOrder i32 /* from: int */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_GetEncryptMacCtx(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_GetHmacMaxSize i32 /* from: int */ => native
  module wolfSSL_GetHmacSize(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetHmacType(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetIOReadCtx(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_GetIOWriteCtx(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_GetIVSize(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetKeySize(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetLoggingCb Native_Ref /* from: void (*)(int, char *) */ => native
  module wolfSSL_GetMacEncryptCtx(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_GetMacSecret(ssl Native_Ref /* from: struct WOLFSSL * */, verify i32 /* from: int */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_GetMaxOutputSize(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetObjectSize i32 /* from: int */ => native
  module wolfSSL_GetOutputSize(ssl Native_Ref /* from: struct WOLFSSL * */, inSz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_GetPeerSequenceNumber(ssl Native_Ref /* from: struct WOLFSSL * */, seq LM.array u32 /* from: unsigned long * */) i32 /* from: int */ => native
  module wolfSSL_GetRNG(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WC_RNG * */ => native
  module wolfSSL_GetSequenceNumber(ssl Native_Ref /* from: struct WOLFSSL * */, seq LM.array u32 /* from: unsigned long * */) i32 /* from: int */ => native
  module wolfSSL_GetServerWriteIV(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_GetServerWriteKey(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_GetSide(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_GetVerifyDecryptCtx(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_GetVersion(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_Init i32 /* from: int */ => native
  module wolfSSL_IsTLSv1_1(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_KeepArrays(ssl Native_Ref /* from: struct WOLFSSL * */) unit => native
  module wolfSSL_KeepHandshakeResources(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_LoadCRL(ssl Native_Ref /* from: struct WOLFSSL * */, path LM.array u8 /* from: char * */, type_ i32 /* from: int */, monitor i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_LoadCRLFile(ssl Native_Ref /* from: struct WOLFSSL * */, file LM.array u8 /* from: char * */, type_ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_METHOD_GetObjectSize i32 /* from: int */ => native
  module wolfSSL_MakeTlsExtendedMasterSecret(ms LM.array u32 /* from: unsigned char * */, msLen u32 /* from: unsigned int */, pms LM.array u32 /* from: unsigned char * */, pmsLen u32 /* from: unsigned int */, sHash LM.array u32 /* from: unsigned char * */, sHashLen u32 /* from: unsigned int */, tls1_2 i32 /* from: int */, hash_type i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_MakeTlsMasterSecret(ms LM.array u32 /* from: unsigned char * */, msLen u32 /* from: unsigned int */, pms LM.array u32 /* from: unsigned char * */, pmsLen u32 /* from: unsigned int */, cr LM.array u32 /* from: unsigned char * */, sr LM.array u32 /* from: unsigned char * */, tls1_2 i32 /* from: int */, hash_type i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_NewThread(thread LM.array u32 /* from: unsigned long * */, cb F1 : Function Native_Ref /* from: void * */ Native_Ref /* from: void * */, arg LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_NewThreadNoJoin(cb F0 : Function Native_Ref /* from: void * */ Native_Ref /* from: void * */, arg LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_OCSP_parse_url(url LM.array u8 /* from: char * */, host Native_Ref /* from: char ** */, port Native_Ref /* from: char ** */, path Native_Ref /* from: char ** */, ssl LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_OpenSSL_version Native_Ref /* from: char * */ => native
  module wolfSSL_PEM_def_callback(name LM.array u8 /* from: char * */, num i32 /* from: int */, w i32 /* from: int */, key LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_PKCS12_PBE_add unit => native
  module wolfSSL_PKCS12_create(pass LM.array u8 /* from: char * */, name LM.array u8 /* from: char * */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */, cert Native_Ref /* from: struct WOLFSSL_X509 * */, ca Native_Ref /* from: struct WOLFSSL_STACK * */, keyNID i32 /* from: int */, certNID i32 /* from: int */, itt i32 /* from: int */, macItt i32 /* from: int */, keytype i32 /* from: int */) Native_Ref /* from: struct WC_PKCS12 * */ => native
  module wolfSSL_PKCS12_parse(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */, psw LM.array u8 /* from: char * */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */, cert Native_Ref /* from: struct WOLFSSL_X509 ** */, ca Native_Ref /* from: struct WOLFSSL_STACK ** */) i32 /* from: int */ => native
  module wolfSSL_PKCS12_verify_mac(pkcs12 Native_Ref /* from: struct WC_PKCS12 * */, psw LM.array u8 /* from: char * */, pswLen i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_PrintSessionStats i32 /* from: int */ => native
  module wolfSSL_RAND_Cleanup unit => native
  module wolfSSL_RAND_add(add LM.array u8 /* from: void * */, len i32 /* from: int */, entropy f64 /* from: double */) unit => native
  module wolfSSL_RAND_bytes(buf LM.array u32 /* from: unsigned char * */, num i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_RAND_egd(nm LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_RAND_poll i32 /* from: int */ => native
  module wolfSSL_RAND_pseudo_bytes(buf LM.array u32 /* from: unsigned char * */, num i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_RAND_screen unit => native
  module wolfSSL_RAND_seed(seed LM.array u8 /* from: void * */, len i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_RAND_status i32 /* from: int */ => native
  module wolfSSL_RAND_write_file(fname LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_RSA_print(bio Native_Ref /* from: struct WOLFSSL_BIO * */, rsa Native_Ref /* from: struct WOLFSSL_RSA * */, offset i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_RSA_print_fp(fp Native_Ref /* from: struct _IO_FILE * */, rsa Native_Ref /* from: struct WOLFSSL_RSA * */, indent i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_RefDec(ref_ Native_Ref /* from: struct wolfSSL_Ref * */, isZero LM.array i32 /* from: int * */, err LM.array i32 /* from: int * */) unit => native
  module wolfSSL_RefFree(ref_ Native_Ref /* from: struct wolfSSL_Ref * */) unit => native
  module wolfSSL_RefInc(ref_ Native_Ref /* from: struct wolfSSL_Ref * */, err LM.array i32 /* from: int * */) unit => native
  module wolfSSL_RefInit(ref_ Native_Ref /* from: struct wolfSSL_Ref * */, err LM.array i32 /* from: int * */) unit => native
  module wolfSSL_SESSION_CIPHER_get_name(session Native_Ref /* from: struct WOLFSSL_SESSION * */) Native_Ref /* from: char * */ => native
  module wolfSSL_SESSION_dup(session Native_Ref /* from: struct WOLFSSL_SESSION * */) Native_Ref /* from: struct WOLFSSL_SESSION * */ => native
  module wolfSSL_SESSION_free(session Native_Ref /* from: struct WOLFSSL_SESSION * */) unit => native
  module wolfSSL_SESSION_has_ticket(session Native_Ref /* from: struct WOLFSSL_SESSION * */) i32 /* from: int */ => native
  module wolfSSL_SESSION_new Native_Ref /* from: struct WOLFSSL_SESSION * */ => native
  module wolfSSL_SESSION_new_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_SESSION * */ => native
  module wolfSSL_SESSION_set_cipher(session Native_Ref /* from: struct WOLFSSL_SESSION * */, cipher Native_Ref /* from: struct WOLFSSL_CIPHER * */) i32 /* from: int */ => native
  module wolfSSL_SESSION_up_ref(session Native_Ref /* from: struct WOLFSSL_SESSION * */) i32 /* from: int */ => native
  module wolfSSL_SSLSetIORecv(ssl Native_Ref /* from: struct WOLFSSL * */, CBIORecv F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ i32 /* from: int */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_SSLSetIOSend(ssl Native_Ref /* from: struct WOLFSSL * */, CBIOSend F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ i32 /* from: int */ Native_Ref /* from: void * */) unit => native
  module wolfSSL_SSL_renegotiate_pending(s Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_SendUserCanceled(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_SessionIsSetup(session Native_Ref /* from: struct WOLFSSL_SESSION * */) i32 /* from: int */ => native
  module wolfSSL_SetCRL_Cb(ssl Native_Ref /* from: struct WOLFSSL * */, cb F1 : Function unit Native_Ref /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_SetCertCbCtx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_SetDecryptVerifyCtx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_SetDevId(ssl Native_Ref /* from: struct WOLFSSL * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_SetEnableDhKeyTest(ssl Native_Ref /* from: struct WOLFSSL * */, enable i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_SetEncryptMacCtx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_SetHsDoneCb(ssl Native_Ref /* from: struct WOLFSSL * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: void * */, user_ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_SetIOReadCtx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_SetIOReadFlags(ssl Native_Ref /* from: struct WOLFSSL * */, flags i32 /* from: int */) unit => native
  module wolfSSL_SetIOWriteCtx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_SetIOWriteFlags(ssl Native_Ref /* from: struct WOLFSSL * */, flags i32 /* from: int */) unit => native
  module wolfSSL_SetLoggingCb(log_function F0 : Function unit i32 /* from: int */ Native_Ref /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_SetLoggingPrefix(prefix_ LM.array u8 /* from: char * */) unit => native
  module wolfSSL_SetMacEncryptCtx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_SetMaxDhKey_Sz(ssl Native_Ref /* from: struct WOLFSSL * */, keySz_bits u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_SetMinDhKey_Sz(ssl Native_Ref /* from: struct WOLFSSL * */, keySz_bits u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_SetMinRsaKey_Sz(ssl Native_Ref /* from: struct WOLFSSL * */, keySz i16 /* from: short */) i32 /* from: int */ => native
  module wolfSSL_SetMinVersion(ssl Native_Ref /* from: struct WOLFSSL * */, version i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_SetOCSP_Cb(ssl Native_Ref /* from: struct WOLFSSL * */, ioCb F1 : Function i32 /* from: int */ Native_Ref /* from: void * */ Native_Ref /* from: char * */ i32 /* from: int */ Native_Ref /* from: unsigned char * */ i32 /* from: int */ Native_Ref /* from: unsigned char ** */, respFreeCb F2 : Function unit Native_Ref /* from: void * */ Native_Ref /* from: unsigned char * */, ioCbCtx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_SetOCSP_OverrideURL(ssl Native_Ref /* from: struct WOLFSSL * */, url LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_SetServerID(ssl Native_Ref /* from: struct WOLFSSL * */, id LM.array u32 /* from: unsigned char * */, len i32 /* from: int */, newSession i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_SetTlsHmacInner(ssl Native_Ref /* from: struct WOLFSSL * */, inner LM.array u32 /* from: unsigned char * */, sz u32 /* from: unsigned int */, content i32 /* from: int */, verify i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_SetTmpDH(ssl Native_Ref /* from: struct WOLFSSL * */, p LM.array u32 /* from: unsigned char * */, pSz i32 /* from: int */, g LM.array u32 /* from: unsigned char * */, gSz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_SetTmpDH_file(ssl Native_Ref /* from: struct WOLFSSL * */, f LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_SetTmpEC_DHE_Sz(ssl Native_Ref /* from: struct WOLFSSL * */, sz u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_SetVerifyDecryptCtx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) unit => native
  module wolfSSL_SetVersion(ssl Native_Ref /* from: struct WOLFSSL * */, version i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_UnloadCertsKeys(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_UseClientSuites(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_X509_CRL_get_REVOKED(crl Native_Ref /* from: struct WOLFSSL_CRL * */) Native_Ref /* from: struct WOLFSSL_X509_REVOKED * */ => native
  module wolfSSL_X509_CRL_get_lastUpdate(crl Native_Ref /* from: struct WOLFSSL_CRL * */) Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */ => native
  module wolfSSL_X509_CRL_get_nextUpdate(crl Native_Ref /* from: struct WOLFSSL_CRL * */) Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */ => native
  module wolfSSL_X509_CRL_verify(crl Native_Ref /* from: struct WOLFSSL_CRL * */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */) i32 /* from: int */ => native
  module wolfSSL_X509_EXTENSION_set_critical(ex Native_Ref /* from: struct WOLFSSL_X509_EXTENSION * */, crit i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_X509_LOOKUP_file Native_Ref /* from: struct WOLFSSL_X509_LOOKUP_METHOD * */ => native
  module wolfSSL_X509_LOOKUP_hash_dir Native_Ref /* from: struct WOLFSSL_X509_LOOKUP_METHOD * */ => native
  module wolfSSL_X509_NAME_ENTRY_get_data(in_ Native_Ref /* from: struct WOLFSSL_X509_NAME_ENTRY * */) Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */ => native
  module wolfSSL_X509_NAME_entry_count(name Native_Ref /* from: struct WOLFSSL_X509_NAME * */) i32 /* from: int */ => native
  module wolfSSL_X509_NAME_get_index_by_NID(name Native_Ref /* from: struct WOLFSSL_X509_NAME * */, nid i32 /* from: int */, pos i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_X509_NAME_get_sz(name Native_Ref /* from: struct WOLFSSL_X509_NAME * */) i32 /* from: int */ => native
  module wolfSSL_X509_NAME_get_text_by_NID(name Native_Ref /* from: struct WOLFSSL_X509_NAME * */, nid i32 /* from: int */, buf LM.array u8 /* from: char * */, len i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_X509_NAME_oneline(name Native_Ref /* from: struct WOLFSSL_X509_NAME * */, in_ LM.array u8 /* from: char * */, sz i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_X509_OBJECT_free_contents(obj Native_Ref /* from: struct WOLFSSL_X509_OBJECT * */) unit => native
  module wolfSSL_X509_REQ_print(bio Native_Ref /* from: struct WOLFSSL_BIO * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_REVOKED_get0_revocation_date(rev Native_Ref /* from: struct WOLFSSL_X509_REVOKED * */) Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */ => native
  module wolfSSL_X509_REVOKED_get0_serial_number(rev Native_Ref /* from: struct WOLFSSL_X509_REVOKED * */) Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */ => native
  module wolfSSL_X509_STORE_CTX_cleanup(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) unit => native
  module wolfSSL_X509_STORE_CTX_free(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) unit => native
  module wolfSSL_X509_STORE_CTX_get0_cert(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_STORE_CTX_get0_current_issuer(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_STORE_CTX_get0_param(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_X509_VERIFY_PARAM * */ => native
  module wolfSSL_X509_STORE_CTX_get0_parent_ctx(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */ => native
  module wolfSSL_X509_STORE_CTX_get0_store(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_X509_STORE * */ => native
  module wolfSSL_X509_STORE_CTX_get1_chain(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_X509_STORE_CTX_get_chain(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_X509_STORE_CTX_get_current_cert(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_STORE_CTX_get_error(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_CTX_get_error_depth(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_CTX_get_ex_data(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, idx i32 /* from: int */) Native_Ref /* from: void * */ => native
  module wolfSSL_X509_STORE_CTX_init(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */, _ Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_CTX_new Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */ => native
  module wolfSSL_X509_STORE_CTX_new_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */ => native
  module wolfSSL_X509_STORE_CTX_set_depth(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, depth i32 /* from: int */) unit => native
  module wolfSSL_X509_STORE_CTX_set_error(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, er i32 /* from: int */) unit => native
  module wolfSSL_X509_STORE_CTX_set_error_depth(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, depth i32 /* from: int */) unit => native
  module wolfSSL_X509_STORE_CTX_set_ex_data(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, idx i32 /* from: int */, data LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_CTX_set_verify_cb(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, verify_cb F1 : Function i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) unit => native
  module wolfSSL_X509_STORE_CTX_trusted_stack(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_X509_STORE_add_cert(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_add_lookup(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, m Native_Ref /* from: struct WOLFSSL_X509_LOOKUP_METHOD * */) Native_Ref /* from: struct WOLFSSL_X509_LOOKUP * */ => native
  module wolfSSL_X509_STORE_free(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */) unit => native
  module wolfSSL_X509_STORE_get0_param(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE * */) Native_Ref /* from: struct WOLFSSL_X509_VERIFY_PARAM * */ => native
  module wolfSSL_X509_STORE_get_by_subject(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */, idx i32 /* from: int */, name Native_Ref /* from: struct WOLFSSL_X509_NAME * */, obj Native_Ref /* from: struct WOLFSSL_X509_OBJECT * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_get_ex_data(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, idx i32 /* from: int */) Native_Ref /* from: void * */ => native
  module wolfSSL_X509_STORE_new Native_Ref /* from: struct WOLFSSL_X509_STORE * */ => native
  module wolfSSL_X509_STORE_set_check_crl(st Native_Ref /* from: struct WOLFSSL_X509_STORE * */, check_crl F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */ Native_Ref /* from: struct WOLFSSL_CRL * */) unit => native
  module wolfSSL_X509_STORE_set_default_paths(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_set_ex_data(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */, idx i32 /* from: int */, data LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_X509_STORE_set_get_crl(st Native_Ref /* from: struct WOLFSSL_X509_STORE * */, get_cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */ Native_Ref /* from: struct WOLFSSL_CRL ** */ Native_Ref /* from: struct WOLFSSL_X509 * */) unit => native
  module wolfSSL_X509_STORE_set_verify_cb(st Native_Ref /* from: struct WOLFSSL_X509_STORE * */, verify_cb F1 : Function i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) unit => native
  module wolfSSL_X509_STORE_up_ref(store Native_Ref /* from: struct WOLFSSL_X509_STORE * */) i32 /* from: int */ => native
  module wolfSSL_X509_add_altname(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, name LM.array u8 /* from: char * */, type_ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_X509_add_altname_ex(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, name LM.array u8 /* from: char * */, nameSz u32 /* from: unsigned int */, type_ i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_X509_check_ip_asc(x Native_Ref /* from: struct WOLFSSL_X509 * */, ipasc LM.array u8 /* from: char * */, flags u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_X509_cmp_current_time(asnTime Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_X509_d2i(x509 Native_Ref /* from: struct WOLFSSL_X509 ** */, in_ LM.array u32 /* from: unsigned char * */, len i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_d2i_ex(x509 Native_Ref /* from: struct WOLFSSL_X509 ** */, in_ LM.array u32 /* from: unsigned char * */, len i32 /* from: int */, heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_d2i_fp(x509 Native_Ref /* from: struct WOLFSSL_X509 ** */, file Native_Ref /* from: struct _IO_FILE * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_dup(x Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_ext_get_critical_by_NID(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, nid i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_X509_ext_isSet_by_NID(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, nid i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_X509_free(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) unit => native
  module wolfSSL_X509_get0_signature(psig Native_Ref /* from: struct WOLFSSL_ASN1_BIT_STRING ** */, palg Native_Ref /* from: struct WOLFSSL_X509_ALGOR ** */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) unit => native
  module wolfSSL_X509_get_authorityKeyID(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, dst LM.array u32 /* from: unsigned char * */, dstLen LM.array i32 /* from: int * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_X509_get_default_cert_dir Native_Ref /* from: char * */ => native
  module wolfSSL_X509_get_default_cert_dir_env Native_Ref /* from: char * */ => native
  module wolfSSL_X509_get_default_cert_file Native_Ref /* from: char * */ => native
  module wolfSSL_X509_get_default_cert_file_env Native_Ref /* from: char * */ => native
  module wolfSSL_X509_get_der(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, outSz LM.array i32 /* from: int * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_X509_get_isCA(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_get_isSet_pathLength(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_get_issuer_name(cert Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: struct WOLFSSL_X509_NAME * */ => native
  module wolfSSL_X509_get_keyUsage(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) u32 /* from: unsigned int */ => native
  module wolfSSL_X509_get_next_altname(cert Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: char * */ => native
  module wolfSSL_X509_get_notAfter(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */ => native
  module wolfSSL_X509_get_notBefore(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */ => native
  module wolfSSL_X509_get_pathLength(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) u32 /* from: unsigned int */ => native
  module wolfSSL_X509_get_pubkey(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  module wolfSSL_X509_get_pubkey_buffer(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, buf LM.array u32 /* from: unsigned char * */, bufSz LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_X509_get_pubkey_type(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_get_serialNumber(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */ => native
  module wolfSSL_X509_get_serial_number(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, in_ LM.array u32 /* from: unsigned char * */, inOutSz LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_X509_get_signature(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, buf LM.array u32 /* from: unsigned char * */, bufSz LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_X509_get_signature_type(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_get_subjectCN(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: char * */ => native
  module wolfSSL_X509_get_subjectKeyID(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, dst LM.array u32 /* from: unsigned char * */, dstLen LM.array i32 /* from: int * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_X509_get_subject_name(cert Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: struct WOLFSSL_X509_NAME * */ => native
  module wolfSSL_X509_get_tbs(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, outSz LM.array i32 /* from: int * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_X509_load_certificate_buffer(buf LM.array u32 /* from: unsigned char * */, sz i32 /* from: int */, format i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_load_certificate_file(fname LM.array u8 /* from: char * */, format i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_new Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_new_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_X509_notAfter(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_X509_notBefore(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_X509_print(bio Native_Ref /* from: struct WOLFSSL_BIO * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_print_fp(fp Native_Ref /* from: struct _IO_FILE * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_X509_set1_notAfter(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, t Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_X509_set1_notBefore(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, t Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_X509_set_issuer_name(cert Native_Ref /* from: struct WOLFSSL_X509 * */, name Native_Ref /* from: struct WOLFSSL_X509_NAME * */) i32 /* from: int */ => native
  module wolfSSL_X509_set_notAfter(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, t Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_X509_set_notBefore(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, t Native_Ref /* from: struct WOLFSSL_ASN1_TIME * */) i32 /* from: int */ => native
  module wolfSSL_X509_set_pubkey(cert Native_Ref /* from: struct WOLFSSL_X509 * */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */) i32 /* from: int */ => native
  module wolfSSL_X509_set_serialNumber(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, s Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */) i32 /* from: int */ => native
  module wolfSSL_X509_set_subject_name(cert Native_Ref /* from: struct WOLFSSL_X509 * */, name Native_Ref /* from: struct WOLFSSL_X509_NAME * */) i32 /* from: int */ => native
  module wolfSSL_X509_sign(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */, md LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_X509_sign_ctx(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, ctx Native_Ref /* from: struct WOLFSSL_EVP_MD_CTX * */) i32 /* from: int */ => native
  module wolfSSL_X509_signature_print(bp Native_Ref /* from: struct WOLFSSL_BIO * */, sigalg Native_Ref /* from: struct WOLFSSL_X509_ALGOR * */, sig Native_Ref /* from: struct WOLFSSL_ASN1_STRING * */) i32 /* from: int */ => native
  module wolfSSL_X509_verify(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */) i32 /* from: int */ => native
  module wolfSSL_X509_verify_cert(ctx Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) i32 /* from: int */ => native
  module wolfSSL_X509_version(x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_accept(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_alert_desc_string_long(alertID i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_alert_type_string_long(alertID i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_check_domain_name(ssl Native_Ref /* from: struct WOLFSSL * */, dn LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_cleanup_all_ex_data unit => native
  module wolfSSL_clear(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_cmp_peer_cert_to_file(ssl Native_Ref /* from: struct WOLFSSL * */, fname LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_connect(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_connect_cert(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_d2i_PKCS12_bio(bio Native_Ref /* from: struct WOLFSSL_BIO * */, pkcs12 Native_Ref /* from: struct WC_PKCS12 ** */) Native_Ref /* from: struct WC_PKCS12 * */ => native
  module wolfSSL_d2i_PKCS12_fp(fp Native_Ref /* from: struct _IO_FILE * */, pkcs12 Native_Ref /* from: struct WC_PKCS12 ** */) Native_Ref /* from: struct WC_PKCS12 * */ => native
  module wolfSSL_d2i_PKCS8_PKEY_bio(bio Native_Ref /* from: struct WOLFSSL_BIO * */, pkey Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  module wolfSSL_d2i_PUBKEY_bio(bio Native_Ref /* from: struct WOLFSSL_BIO * */, out Native_Ref /* from: struct WOLFSSL_EVP_PKEY ** */) Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */ => native
  module wolfSSL_d2i_X509(x509 Native_Ref /* from: struct WOLFSSL_X509 ** */, in_ Native_Ref /* from: unsigned char ** */, len i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_d2i_X509_CRL(crl Native_Ref /* from: struct WOLFSSL_CRL ** */, in_ LM.array u32 /* from: unsigned char * */, len i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_CRL * */ => native
  module wolfSSL_d2i_X509_CRL_bio(bp Native_Ref /* from: struct WOLFSSL_BIO * */, crl Native_Ref /* from: struct WOLFSSL_CRL ** */) Native_Ref /* from: struct WOLFSSL_CRL * */ => native
  module wolfSSL_d2i_X509_CRL_fp(file Native_Ref /* from: struct _IO_FILE * */, crl Native_Ref /* from: struct WOLFSSL_CRL ** */) Native_Ref /* from: struct WOLFSSL_CRL * */ => native
  module wolfSSL_dtls(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_dtls13_set_send_more_acks(ssl Native_Ref /* from: struct WOLFSSL * */, value i32 /* from: int */) unit => native
  module wolfSSL_dtls13_use_quick_timeout(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_dtls_create_peer(port i32 /* from: int */, ip LM.array u8 /* from: char * */) Native_Ref /* from: void * */ => native
  module wolfSSL_dtls_free_peer(addr LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_dtls_get_current_timeout(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_dtls_get_drop_stats(ssl Native_Ref /* from: struct WOLFSSL * */, _ LM.array u32 /* from: unsigned int * */, _ LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wolfSSL_dtls_get_peer(ssl Native_Ref /* from: struct WOLFSSL * */, peer LM.array u8 /* from: void * */, peerSz LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wolfSSL_dtls_get_using_nonblock(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_dtls_got_timeout(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_dtls_retransmit(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_dtls_set_mtu(ssl Native_Ref /* from: struct WOLFSSL * */, _ u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_dtls_set_peer(ssl Native_Ref /* from: struct WOLFSSL * */, peer LM.array u8 /* from: void * */, peerSz u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_dtls_set_sctp(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_dtls_set_timeout_init(ssl Native_Ref /* from: struct WOLFSSL * */, timeout i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_dtls_set_timeout_max(ssl Native_Ref /* from: struct WOLFSSL * */, timeout i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_dtls_set_using_nonblock(ssl Native_Ref /* from: struct WOLFSSL * */, nonblock i32 /* from: int */) unit => native
  module wolfSSL_free(ssl Native_Ref /* from: struct WOLFSSL * */) unit => native
  module wolfSSL_get0_alpn_selected(ssl Native_Ref /* from: struct WOLFSSL * */, data Native_Ref /* from: unsigned char ** */, len LM.array u32 /* from: unsigned int * */) unit => native
  module wolfSSL_get0_next_proto_negotiated(s Native_Ref /* from: struct WOLFSSL * */, data Native_Ref /* from: unsigned char ** */, len LM.array u32 /* from: unsigned int * */) unit => native
  module wolfSSL_get0_param(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_X509_VERIFY_PARAM * */ => native
  module wolfSSL_get1_session(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_SESSION * */ => native
  module wolfSSL_get_SSL_CTX(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_CTX * */ => native
  module wolfSSL_get_alert_history(ssl Native_Ref /* from: struct WOLFSSL * */, h Native_Ref /* from: struct WOLFSSL_ALERT_HISTORY * */) i32 /* from: int */ => native
  module wolfSSL_get_chain_X509(chain Native_Ref /* from: struct WOLFSSL_X509_CHAIN * */, idx i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_get_chain_cert(chain Native_Ref /* from: struct WOLFSSL_X509_CHAIN * */, idx i32 /* from: int */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_get_chain_cert_pem(chain Native_Ref /* from: struct WOLFSSL_X509_CHAIN * */, idx i32 /* from: int */, buf LM.array u32 /* from: unsigned char * */, inLen i32 /* from: int */, outLen LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_get_chain_count(chain Native_Ref /* from: struct WOLFSSL_X509_CHAIN * */) i32 /* from: int */ => native
  module wolfSSL_get_chain_length(chain Native_Ref /* from: struct WOLFSSL_X509_CHAIN * */, idx i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_get_cipher(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_cipher_by_value(value u16 /* from: unsigned short */) Native_Ref /* from: struct WOLFSSL_CIPHER * */ => native
  module wolfSSL_get_cipher_list(priority i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_cipher_list_ex(ssl Native_Ref /* from: struct WOLFSSL * */, priority i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_cipher_name(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_cipher_name_from_suite(cipherSuite0 u8 /* from: unsigned char */, cipherSuite u8 /* from: unsigned char */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_cipher_name_iana_from_suite(cipherSuite0 u8 /* from: unsigned char */, cipherSuite u8 /* from: unsigned char */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_cipher_suite_from_name(name LM.array u8 /* from: char * */, cipherSuite0 LM.array u32 /* from: unsigned char * */, cipherSuite LM.array u32 /* from: unsigned char * */, flags LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_get_ciphers(buf LM.array u8 /* from: char * */, len i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_get_ciphers_iana(buf LM.array u8 /* from: char * */, len i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_get_client_CA_list(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_get_client_suites_sigalgs(ssl Native_Ref /* from: struct WOLFSSL * */, suites Native_Ref /* from: unsigned char ** */, suiteSz LM.array u32 /* from: unsigned short * */, hashSigAlgo Native_Ref /* from: unsigned char ** */, hashSigAlgoSz LM.array u32 /* from: unsigned short * */) i32 /* from: int */ => native
  module wolfSSL_get_current_cipher(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_CIPHER * */ => native
  module wolfSSL_get_current_cipher_suite(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_get_curve_name(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_error(ssl Native_Ref /* from: struct WOLFSSL * */, ret i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_get_ex_data(ssl Native_Ref /* from: struct WOLFSSL * */, idx i32 /* from: int */) Native_Ref /* from: void * */ => native
  module wolfSSL_get_ex_data_X509_STORE_CTX_idx i32 /* from: int */ => native
  module wolfSSL_get_fd(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_get_keyblock_size(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_get_keys(ssl Native_Ref /* from: struct WOLFSSL * */, ms Native_Ref /* from: unsigned char ** */, msLen LM.array u32 /* from: unsigned int * */, sr Native_Ref /* from: unsigned char ** */, srLen LM.array u32 /* from: unsigned int * */, cr Native_Ref /* from: unsigned char ** */, crLen LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wolfSSL_get_peer_certificate(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_get_peer_chain(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_X509_CHAIN * */ => native
  module wolfSSL_get_psk_callback_ctx(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: void * */ => native
  module wolfSSL_get_psk_identity(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_psk_identity_hint(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_read_ahead(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_get_session(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL_SESSION * */ => native
  module wolfSSL_get_sessionID(s Native_Ref /* from: struct WOLFSSL_SESSION * */) Native_Ref /* from: unsigned char * */ => native
  module wolfSSL_get_session_cache_memsize i32 /* from: int */ => native
  module wolfSSL_get_session_stats(active LM.array u32 /* from: unsigned int * */, total LM.array u32 /* from: unsigned int * */, peak LM.array u32 /* from: unsigned int * */, maxSessions LM.array u32 /* from: unsigned int * */) i32 /* from: int */ => native
  module wolfSSL_get_shared_ciphers(ssl Native_Ref /* from: struct WOLFSSL * */, buf LM.array u8 /* from: char * */, len i32 /* from: int */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_shutdown(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_get_sigalg_info(first u8 /* from: unsigned char */, second u8 /* from: unsigned char */, hashAlgo LM.array i32 /* from: int * */, sigAlgo LM.array i32 /* from: int * */) i32 /* from: int */ => native
  module wolfSSL_get_srp_username(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_get_system_CA_dirs(num LM.array u32 /* from: unsigned int * */) Native_Ref /* from: char ** */ => native
  module wolfSSL_get_version(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_has_pending(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_i2d_ASN1_INTEGER(a Native_Ref /* from: struct WOLFSSL_ASN1_INTEGER * */, out Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_PKCS12_bio(bio Native_Ref /* from: struct WOLFSSL_BIO * */, pkcs12 Native_Ref /* from: struct WC_PKCS12 * */) i32 /* from: int */ => native
  module wolfSSL_i2d_PUBKEY(key Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */, der Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_PrivateKey(key Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */, der Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_PublicKey(key Native_Ref /* from: struct WOLFSSL_EVP_PKEY * */, der Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_RSAPrivateKey(r Native_Ref /* from: struct WOLFSSL_RSA * */, pp Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_RSAPublicKey(r Native_Ref /* from: struct WOLFSSL_RSA * */, pp Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_SSL_SESSION(sess Native_Ref /* from: struct WOLFSSL_SESSION * */, p Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_X509(x509 Native_Ref /* from: struct WOLFSSL_X509 * */, out Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_X509_NAME(n Native_Ref /* from: struct WOLFSSL_X509_NAME * */, out Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_i2d_X509_NAME_canon(name Native_Ref /* from: struct WOLFSSL_X509_NAME * */, out Native_Ref /* from: unsigned char ** */) i32 /* from: int */ => native
  module wolfSSL_is_init_finished(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_is_server(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_lib_version Native_Ref /* from: char * */ => native
  module wolfSSL_lib_version_hex u32 /* from: unsigned int */ => native
  module wolfSSL_library_init i32 /* from: int */ => native
  module wolfSSL_load_client_CA_file(fname LM.array u8 /* from: char * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_load_error_strings unit => native
  module wolfSSL_make_eap_keys(ssl Native_Ref /* from: struct WOLFSSL * */, key LM.array u8 /* from: void * */, len u32 /* from: unsigned int */, label LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_mcast_get_max_peers i32 /* from: int */ => native
  module wolfSSL_mcast_peer_add(ssl Native_Ref /* from: struct WOLFSSL * */, peerId u16 /* from: unsigned short */, sub i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_mcast_peer_known(ssl Native_Ref /* from: struct WOLFSSL * */, peerId u16 /* from: unsigned short */) i32 /* from: int */ => native
  module wolfSSL_mcast_read(ssl Native_Ref /* from: struct WOLFSSL * */, id LM.array u32 /* from: unsigned short * */, data LM.array u8 /* from: void * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_mcast_set_highwater_ctx(ssl Native_Ref /* from: struct WOLFSSL * */, ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_memrestore_session_cache(mem LM.array u8 /* from: void * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_memsave_session_cache(mem LM.array u8 /* from: void * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_mutual_auth(ssl Native_Ref /* from: struct WOLFSSL * */, req i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_negotiate(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_new(ctx Native_Ref /* from: struct WOLFSSL_CTX * */) Native_Ref /* from: struct WOLFSSL * */ => native
  module wolfSSL_num_locks i32 /* from: int */ => native
  module wolfSSL_peek(ssl Native_Ref /* from: struct WOLFSSL * */, data LM.array u8 /* from: void * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_pending(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_read(ssl Native_Ref /* from: struct WOLFSSL * */, data LM.array u8 /* from: void * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_recv(ssl Native_Ref /* from: struct WOLFSSL * */, data LM.array u8 /* from: void * */, sz i32 /* from: int */, flags i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_restore_session_cache(fname LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_save_session_cache(fname LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_select_next_proto(out Native_Ref /* from: unsigned char ** */, outlen LM.array u32 /* from: unsigned char * */, in_ LM.array u32 /* from: unsigned char * */, inlen u32 /* from: unsigned int */, client LM.array u32 /* from: unsigned char * */, client_len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_send(ssl Native_Ref /* from: struct WOLFSSL * */, data LM.array u8 /* from: void * */, sz i32 /* from: int */, flags i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_session_reused(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_set_accept_state(ssl Native_Ref /* from: struct WOLFSSL * */) unit => native
  module wolfSSL_set_alpn_select_cb(ssl Native_Ref /* from: struct WOLFSSL * */, cb F1 : Function i32 /* from: int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: unsigned char ** */ Native_Ref /* from: unsigned char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */ Native_Ref /* from: void * */, arg LM.array u8 /* from: void * */) unit => native
  module wolfSSL_set_bio(ssl Native_Ref /* from: struct WOLFSSL * */, rd Native_Ref /* from: struct WOLFSSL_BIO * */, wr Native_Ref /* from: struct WOLFSSL_BIO * */) unit => native
  module wolfSSL_set_cipher_list(ssl Native_Ref /* from: struct WOLFSSL * */, list LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_set_cipher_list_bytes(ssl Native_Ref /* from: struct WOLFSSL * */, list LM.array u32 /* from: unsigned char * */, listSz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_set_client_CA_list(ssl Native_Ref /* from: struct WOLFSSL * */, _ Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_set_compression(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_set_connect_state(ssl Native_Ref /* from: struct WOLFSSL * */) unit => native
  module wolfSSL_set_dynlock_create_callback(f F0 : Function Native_Ref /* from: struct WOLFSSL_dynlock_value * */ Native_Ref /* from: char * */ i32 /* from: int */) unit => native
  module wolfSSL_set_dynlock_destroy_callback(f F0 : Function unit Native_Ref /* from: struct WOLFSSL_dynlock_value * */ Native_Ref /* from: char * */ i32 /* from: int */) unit => native
  module wolfSSL_set_dynlock_lock_callback(f F0 : Function unit i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_dynlock_value * */ Native_Ref /* from: char * */ i32 /* from: int */) unit => native
  module wolfSSL_set_ex_data(ssl Native_Ref /* from: struct WOLFSSL * */, idx i32 /* from: int */, data LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_set_fd(ssl Native_Ref /* from: struct WOLFSSL * */, fd i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_set_group_messages(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_set_groups(ssl Native_Ref /* from: struct WOLFSSL * */, groups LM.array i32 /* from: int * */, count i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_set_info_callback(ssl Native_Ref /* from: struct WOLFSSL * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL * */ i32 /* from: int */ i32 /* from: int */) unit => native
  module wolfSSL_set_psk_callback_ctx(ssl Native_Ref /* from: struct WOLFSSL * */, psk_ctx LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_set_psk_client_callback(ssl Native_Ref /* from: struct WOLFSSL * */, cb F1 : Function u32 /* from: unsigned int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ Native_Ref /* from: char * */ u32 /* from: unsigned int */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */) unit => native
  module wolfSSL_set_psk_server_callback(ssl Native_Ref /* from: struct WOLFSSL * */, cb F1 : Function u32 /* from: unsigned int */ Native_Ref /* from: struct WOLFSSL * */ Native_Ref /* from: char * */ Native_Ref /* from: unsigned char * */ u32 /* from: unsigned int */) unit => native
  module wolfSSL_set_quiet_shutdown(ssl Native_Ref /* from: struct WOLFSSL * */, mode i32 /* from: int */) unit => native
  module wolfSSL_set_read_ahead(ssl Native_Ref /* from: struct WOLFSSL * */, v i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_set_read_fd(ssl Native_Ref /* from: struct WOLFSSL * */, fd i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_set_rfd(ssl Native_Ref /* from: struct WOLFSSL * */, rfd i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_set_secret(ssl Native_Ref /* from: struct WOLFSSL * */, epoch u16 /* from: unsigned short */, preMasterSecret LM.array u32 /* from: unsigned char * */, preMasterSz u32 /* from: unsigned int */, clientRandom LM.array u32 /* from: unsigned char * */, serverRandom LM.array u32 /* from: unsigned char * */, suite LM.array u32 /* from: unsigned char * */) i32 /* from: int */ => native
  module wolfSSL_set_session(ssl Native_Ref /* from: struct WOLFSSL * */, session Native_Ref /* from: struct WOLFSSL_SESSION * */) i32 /* from: int */ => native
  module wolfSSL_set_session_id_context(ssl Native_Ref /* from: struct WOLFSSL * */, id LM.array u32 /* from: unsigned char * */, len u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_set_shutdown(ssl Native_Ref /* from: struct WOLFSSL * */, opt i32 /* from: int */) unit => native
  module wolfSSL_set_timeout(ssl Native_Ref /* from: struct WOLFSSL * */, to u32 /* from: unsigned int */) i32 /* from: int */ => native
  module wolfSSL_set_tlsext_max_fragment_length(s Native_Ref /* from: struct WOLFSSL * */, mode u8 /* from: unsigned char */) i32 /* from: int */ => native
  module wolfSSL_set_verify(ssl Native_Ref /* from: struct WOLFSSL * */, mode i32 /* from: int */, verify_callback F2 : Function i32 /* from: int */ i32 /* from: int */ Native_Ref /* from: struct WOLFSSL_X509_STORE_CTX * */) unit => native
  module wolfSSL_set_wfd(ssl Native_Ref /* from: struct WOLFSSL * */, wfd i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_set_write_fd(ssl Native_Ref /* from: struct WOLFSSL * */, fd i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_shallow_sk_dup(sk Native_Ref /* from: struct WOLFSSL_STACK * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_shutdown(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_sk_ACCESS_DESCRIPTION_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_ACCESS_DESCRIPTION_num(sk Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_sk_ACCESS_DESCRIPTION_pop_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_ACCESS_DESCRIPTION * */) unit => native
  module wolfSSL_sk_ACCESS_DESCRIPTION_value(sk Native_Ref /* from: struct WOLFSSL_STACK * */, idx i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_ACCESS_DESCRIPTION * */ => native
  module wolfSSL_sk_ASN1_OBJECT_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_ASN1_OBJECT_pop(sk Native_Ref /* from: struct WOLFSSL_STACK * */) Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */ => native
  module wolfSSL_sk_ASN1_OBJECT_pop_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */) unit => native
  module wolfSSL_sk_ASN1_OBJECT_push(sk Native_Ref /* from: struct WOLFSSL_STACK * */, obj Native_Ref /* from: struct WOLFSSL_ASN1_OBJECT * */) i32 /* from: int */ => native
  module wolfSSL_sk_CIPHER_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_DIST_POINT_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_DIST_POINT_num(sk Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_sk_DIST_POINT_pop_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_DIST_POINT * */) unit => native
  module wolfSSL_sk_DIST_POINT_push(sk Native_Ref /* from: struct WOLFSSL_STACK * */, dp Native_Ref /* from: struct WOLFSSL_DIST_POINT * */) i32 /* from: int */ => native
  module wolfSSL_sk_DIST_POINT_value(sk Native_Ref /* from: struct WOLFSSL_STACK * */, i i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_DIST_POINT * */ => native
  module wolfSSL_sk_GENERAL_NAME_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_GENERAL_NAME_new(cmpFunc LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_sk_GENERAL_NAME_num(sk Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_sk_GENERAL_NAME_pop_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */) unit => native
  module wolfSSL_sk_GENERAL_NAME_push(sk Native_Ref /* from: struct WOLFSSL_STACK * */, gn Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */) i32 /* from: int */ => native
  module wolfSSL_sk_GENERAL_NAME_value(sk Native_Ref /* from: struct WOLFSSL_STACK * */, i i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_GENERAL_NAME * */ => native
  module wolfSSL_sk_X509_CRL_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_X509_CRL_new Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_sk_X509_CRL_num(sk Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_sk_X509_CRL_pop_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_CRL * */) unit => native
  module wolfSSL_sk_X509_CRL_push(sk Native_Ref /* from: struct WOLFSSL_STACK * */, crl Native_Ref /* from: struct WOLFSSL_CRL * */) i32 /* from: int */ => native
  module wolfSSL_sk_X509_CRL_value(sk Native_Ref /* from: struct WOLFSSL_STACK * */, i i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_CRL * */ => native
  module wolfSSL_sk_X509_EXTENSION_new_null Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_sk_X509_EXTENSION_num(sk Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_sk_X509_EXTENSION_pop_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */, f F1 : Function unit Native_Ref /* from: struct WOLFSSL_X509_EXTENSION * */) unit => native
  module wolfSSL_sk_X509_EXTENSION_value(sk Native_Ref /* from: struct WOLFSSL_STACK * */, idx i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_X509_EXTENSION * */ => native
  module wolfSSL_sk_X509_REVOKED_value(revoked Native_Ref /* from: struct WOLFSSL_X509_REVOKED * */, value i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_X509_REVOKED * */ => native
  module wolfSSL_sk_X509_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_X509_pop(sk Native_Ref /* from: struct WOLFSSL_STACK * */) Native_Ref /* from: struct WOLFSSL_X509 * */ => native
  module wolfSSL_sk_X509_push(sk Native_Ref /* from: struct WOLFSSL_STACK * */, x509 Native_Ref /* from: struct WOLFSSL_X509 * */) i32 /* from: int */ => native
  module wolfSSL_sk_dup(sk Native_Ref /* from: struct WOLFSSL_STACK * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_sk_free(sk Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_free_node(in_ Native_Ref /* from: struct WOLFSSL_STACK * */) unit => native
  module wolfSSL_sk_get_node(sk Native_Ref /* from: struct WOLFSSL_STACK * */, idx i32 /* from: int */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_sk_new_asn1_obj Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_sk_new_node(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_STACK * */ => native
  module wolfSSL_sk_num(sk Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_sk_push(st Native_Ref /* from: struct WOLFSSL_STACK * */, data LM.array u8 /* from: void * */) i32 /* from: int */ => native
  module wolfSSL_sk_push_node(stack Native_Ref /* from: struct WOLFSSL_STACK ** */, in_ Native_Ref /* from: struct WOLFSSL_STACK * */) i32 /* from: int */ => native
  module wolfSSL_sk_value(sk Native_Ref /* from: struct WOLFSSL_STACK * */, i i32 /* from: int */) Native_Ref /* from: void * */ => native
  module wolfSSL_state(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_state_string_long(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: char * */ => native
  module wolfSSL_use_PrivateKey_Label(ssl Native_Ref /* from: struct WOLFSSL * */, label LM.array u8 /* from: char * */, devId i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_use_PrivateKey_file(ssl Native_Ref /* from: struct WOLFSSL * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_use_RSAPrivateKey_file(ssl Native_Ref /* from: struct WOLFSSL * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_use_certificate_ASN1(ssl Native_Ref /* from: struct WOLFSSL * */, der LM.array u32 /* from: unsigned char * */, derSz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_use_certificate_chain_file(ssl Native_Ref /* from: struct WOLFSSL * */, file LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_use_certificate_chain_file_format(ssl Native_Ref /* from: struct WOLFSSL * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_use_certificate_file(ssl Native_Ref /* from: struct WOLFSSL * */, file LM.array u8 /* from: char * */, format i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_use_psk_identity_hint(ssl Native_Ref /* from: struct WOLFSSL * */, hint LM.array u8 /* from: char * */) i32 /* from: int */ => native
  module wolfSSL_version(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_want_read(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_want_write(ssl Native_Ref /* from: struct WOLFSSL * */) i32 /* from: int */ => native
  module wolfSSL_write(ssl Native_Ref /* from: struct WOLFSSL * */, data LM.array u8 /* from: void * */, sz i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSL_write_dup(ssl Native_Ref /* from: struct WOLFSSL * */) Native_Ref /* from: struct WOLFSSL * */ => native
  module wolfSSL_writev(ssl Native_Ref /* from: struct WOLFSSL * */, iov Native_Ref /* from: struct iovec * */, iovcnt i32 /* from: int */) i32 /* from: int */ => native
  module wolfSSLv23_client_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfSSLv23_client_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfSSLv23_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfSSLv23_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfSSLv23_server_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfSSLv23_server_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLS_client_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLS_client_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLS_server_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLS_server_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_1_client_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_1_client_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_1_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_1_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_1_server_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_1_server_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_2_client_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_2_client_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_2_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_2_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_2_server_method Native_Ref /* from: struct WOLFSSL_METHOD * */ => native
  module wolfTLSv1_2_server_method_ex(heap LM.array u8 /* from: void * */) Native_Ref /* from: struct WOLFSSL_METHOD * */ => native

last changed: 2026-09-10