├── .gitignore ├── ChangeExtensions.bat ├── ChangeExtensions.sh ├── Config ├── DefaultEditor.ini ├── DefaultEngine.ini ├── DefaultGame.ini └── DefaultInput.ini ├── Content ├── Maps │ └── tester.umap └── Menu.uasset ├── Default-568h@2x.png ├── Plugins ├── Funapi │ ├── Funapi.uplugin │ ├── Source │ │ └── Funapi │ │ │ ├── Funapi.Build.cs │ │ │ ├── Private │ │ │ ├── FunapiPlugin.cpp │ │ │ ├── FunapiPrivatePCH.h │ │ │ ├── editor │ │ │ │ └── funapi_extension_commands.cpp │ │ │ ├── funapi │ │ │ │ ├── distribution │ │ │ │ │ └── fun_dedicated_server_rpc_message.pb.cc │ │ │ │ ├── management │ │ │ │ │ └── maintenance_message.pb.cc │ │ │ │ ├── network │ │ │ │ │ ├── fun_message.pb.cc │ │ │ │ │ └── ping_message.pb.cc │ │ │ │ └── service │ │ │ │ │ ├── multicast_message.pb.cc │ │ │ │ │ └── redirect_message.pb.cc │ │ │ ├── funapi_announcement.cpp │ │ │ ├── funapi_compression.cpp │ │ │ ├── funapi_downloader.cpp │ │ │ ├── funapi_encryption.cpp │ │ │ ├── funapi_encryption_legacy.h │ │ │ ├── funapi_http.cpp │ │ │ ├── funapi_http.h │ │ │ ├── funapi_multicasting.cpp │ │ │ ├── funapi_option.cpp │ │ │ ├── funapi_rpc.cpp │ │ │ ├── funapi_send_flag_manager.cpp │ │ │ ├── funapi_send_flag_manager.h │ │ │ ├── funapi_session.cpp │ │ │ ├── funapi_socket.cpp │ │ │ ├── funapi_socket.h │ │ │ ├── funapi_tasks.cpp │ │ │ ├── funapi_utils.cpp │ │ │ ├── funapi_utils.h │ │ │ ├── funapi_version.h │ │ │ ├── funapi_websocket.cpp │ │ │ ├── funapi_websocket.h │ │ │ └── google │ │ │ │ ├── config.h │ │ │ │ └── protobuf │ │ │ │ ├── descriptor.cc │ │ │ │ ├── descriptor.pb.cc │ │ │ │ ├── descriptor.proto │ │ │ │ ├── descriptor_database.cc │ │ │ │ ├── dynamic_message.cc │ │ │ │ ├── extension_set.cc │ │ │ │ ├── extension_set_heavy.cc │ │ │ │ ├── generated_message_reflection.cc │ │ │ │ ├── generated_message_util.cc │ │ │ │ ├── io │ │ │ │ ├── coded_stream.cc │ │ │ │ ├── gzip_stream.cc │ │ │ │ ├── printer.cc │ │ │ │ ├── strtod.cc │ │ │ │ ├── tokenizer.cc │ │ │ │ ├── zero_copy_stream.cc │ │ │ │ ├── zero_copy_stream_impl.cc │ │ │ │ └── zero_copy_stream_impl_lite.cc │ │ │ │ ├── message.cc │ │ │ │ ├── message_lite.cc │ │ │ │ ├── reflection_ops.cc │ │ │ │ ├── repeated_field.cc │ │ │ │ ├── service.cc │ │ │ │ ├── stubs │ │ │ │ ├── atomicops_internals_x86_gcc.cc │ │ │ │ ├── atomicops_internals_x86_msvc.cc │ │ │ │ ├── common.cc │ │ │ │ ├── once.cc │ │ │ │ ├── stringprintf.cc │ │ │ │ ├── structurally_valid.cc │ │ │ │ ├── strutil.cc │ │ │ │ └── substitute.cc │ │ │ │ ├── text_format.cc │ │ │ │ ├── unknown_field_set.cc │ │ │ │ ├── wire_format.cc │ │ │ │ └── wire_format_lite.cc │ │ │ └── Public │ │ │ ├── IFunapiPlugin.h │ │ │ ├── editor │ │ │ └── funapi_extension_commands.h │ │ │ ├── funapi │ │ │ ├── distribution │ │ │ │ └── fun_dedicated_server_rpc_message.pb.h │ │ │ ├── management │ │ │ │ └── maintenance_message.pb.h │ │ │ ├── network │ │ │ │ ├── fun_message.pb.h │ │ │ │ └── ping_message.pb.h │ │ │ └── service │ │ │ │ ├── multicast_message.pb.h │ │ │ │ └── redirect_message.pb.h │ │ │ ├── funapi_announcement.h │ │ │ ├── funapi_compression.h │ │ │ ├── funapi_downloader.h │ │ │ ├── funapi_encryption.h │ │ │ ├── funapi_multicasting.h │ │ │ ├── funapi_option.h │ │ │ ├── funapi_plugin.h │ │ │ ├── funapi_rpc.h │ │ │ ├── funapi_session.h │ │ │ ├── funapi_std_allocator.h │ │ │ ├── funapi_tasks.h │ │ │ └── google │ │ │ └── protobuf │ │ │ ├── descriptor.h │ │ │ ├── descriptor.pb.h │ │ │ ├── descriptor_database.h │ │ │ ├── dynamic_message.h │ │ │ ├── extension_set.h │ │ │ ├── generated_enum_reflection.h │ │ │ ├── generated_message_reflection.h │ │ │ ├── generated_message_util.h │ │ │ ├── io │ │ │ ├── coded_stream.h │ │ │ ├── coded_stream_inl.h │ │ │ ├── gzip_stream.h │ │ │ ├── package_info.h │ │ │ ├── printer.h │ │ │ ├── strtod.h │ │ │ ├── tokenizer.h │ │ │ ├── zero_copy_stream.h │ │ │ ├── zero_copy_stream_impl.h │ │ │ └── zero_copy_stream_impl_lite.h │ │ │ ├── message.h │ │ │ ├── message_lite.h │ │ │ ├── package_info.h │ │ │ ├── reflection_ops.h │ │ │ ├── repeated_field.h │ │ │ ├── service.h │ │ │ ├── stubs │ │ │ ├── atomicops.h │ │ │ ├── atomicops_internals_arm64_gcc.h │ │ │ ├── atomicops_internals_arm_gcc.h │ │ │ ├── atomicops_internals_arm_qnx.h │ │ │ ├── atomicops_internals_atomicword_compat.h │ │ │ ├── atomicops_internals_generic_c11_atomic.h │ │ │ ├── atomicops_internals_generic_gcc.h │ │ │ ├── atomicops_internals_mips_gcc.h │ │ │ ├── atomicops_internals_pnacl.h │ │ │ ├── atomicops_internals_solaris.h │ │ │ ├── atomicops_internals_tsan.h │ │ │ ├── atomicops_internals_x86_gcc.h │ │ │ ├── atomicops_internals_x86_msvc.h │ │ │ ├── common.h │ │ │ ├── hash.h │ │ │ ├── map_util.h │ │ │ ├── once.h │ │ │ ├── platform_macros.h │ │ │ ├── shared_ptr.h │ │ │ ├── stl_util.h │ │ │ ├── stringprintf.h │ │ │ ├── strutil.h │ │ │ ├── substitute.h │ │ │ ├── template_util.h │ │ │ └── type_traits.h │ │ │ ├── text_format.h │ │ │ ├── unknown_field_set.h │ │ │ ├── wire_format.h │ │ │ ├── wire_format_lite.h │ │ │ └── wire_format_lite_inl.h │ └── ThirdParty │ │ ├── include │ │ ├── Android │ │ │ ├── ARM64 │ │ │ │ ├── curl │ │ │ │ │ ├── curl.h │ │ │ │ │ ├── curlbuild.h │ │ │ │ │ ├── curlrules.h │ │ │ │ │ ├── curlver.h │ │ │ │ │ ├── easy.h │ │ │ │ │ ├── mprintf.h │ │ │ │ │ ├── multi.h │ │ │ │ │ ├── stdcheaders.h │ │ │ │ │ └── typecheck-gcc.h │ │ │ │ ├── libwebsockets.h │ │ │ │ ├── lws_config.h │ │ │ │ ├── openssl │ │ │ │ │ ├── aes.h │ │ │ │ │ ├── asn1.h │ │ │ │ │ ├── asn1_mac.h │ │ │ │ │ ├── asn1t.h │ │ │ │ │ ├── bio.h │ │ │ │ │ ├── blowfish.h │ │ │ │ │ ├── bn.h │ │ │ │ │ ├── buffer.h │ │ │ │ │ ├── camellia.h │ │ │ │ │ ├── cast.h │ │ │ │ │ ├── cmac.h │ │ │ │ │ ├── cms.h │ │ │ │ │ ├── comp.h │ │ │ │ │ ├── conf.h │ │ │ │ │ ├── conf_api.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── des.h │ │ │ │ │ ├── des_old.h │ │ │ │ │ ├── dh.h │ │ │ │ │ ├── dsa.h │ │ │ │ │ ├── dso.h │ │ │ │ │ ├── dtls1.h │ │ │ │ │ ├── e_os2.h │ │ │ │ │ ├── ebcdic.h │ │ │ │ │ ├── ec.h │ │ │ │ │ ├── ecdh.h │ │ │ │ │ ├── ecdsa.h │ │ │ │ │ ├── engine.h │ │ │ │ │ ├── err.h │ │ │ │ │ ├── evp.h │ │ │ │ │ ├── hmac.h │ │ │ │ │ ├── idea.h │ │ │ │ │ ├── krb5_asn.h │ │ │ │ │ ├── kssl.h │ │ │ │ │ ├── lhash.h │ │ │ │ │ ├── md4.h │ │ │ │ │ ├── md5.h │ │ │ │ │ ├── mdc2.h │ │ │ │ │ ├── modes.h │ │ │ │ │ ├── obj_mac.h │ │ │ │ │ ├── objects.h │ │ │ │ │ ├── ocsp.h │ │ │ │ │ ├── openssl_wrapper.h │ │ │ │ │ ├── opensslconf.h │ │ │ │ │ ├── opensslv.h │ │ │ │ │ ├── ossl_typ.h │ │ │ │ │ ├── pem.h │ │ │ │ │ ├── pem2.h │ │ │ │ │ ├── pkcs12.h │ │ │ │ │ ├── pkcs7.h │ │ │ │ │ ├── pqueue.h │ │ │ │ │ ├── rand.h │ │ │ │ │ ├── rc2.h │ │ │ │ │ ├── rc4.h │ │ │ │ │ ├── ripemd.h │ │ │ │ │ ├── rsa.h │ │ │ │ │ ├── safestack.h │ │ │ │ │ ├── seed.h │ │ │ │ │ ├── sha.h │ │ │ │ │ ├── srp.h │ │ │ │ │ ├── srtp.h │ │ │ │ │ ├── ssl.h │ │ │ │ │ ├── ssl2.h │ │ │ │ │ ├── ssl23.h │ │ │ │ │ ├── ssl3.h │ │ │ │ │ ├── stack.h │ │ │ │ │ ├── symhacks.h │ │ │ │ │ ├── tls1.h │ │ │ │ │ ├── ts.h │ │ │ │ │ ├── txt_db.h │ │ │ │ │ ├── ui.h │ │ │ │ │ ├── ui_compat.h │ │ │ │ │ ├── whrlpool.h │ │ │ │ │ ├── x509.h │ │ │ │ │ ├── x509_vfy.h │ │ │ │ │ └── x509v3.h │ │ │ │ ├── sodium.h │ │ │ │ ├── sodium │ │ │ │ │ ├── core.h │ │ │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ │ │ ├── crypto_auth.h │ │ │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ │ │ ├── crypto_box.h │ │ │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ │ │ ├── crypto_core_hchacha20.h │ │ │ │ │ ├── crypto_core_hsalsa20.h │ │ │ │ │ ├── crypto_core_salsa20.h │ │ │ │ │ ├── crypto_core_salsa2012.h │ │ │ │ │ ├── crypto_core_salsa208.h │ │ │ │ │ ├── crypto_generichash.h │ │ │ │ │ ├── crypto_generichash_blake2b.h │ │ │ │ │ ├── crypto_hash.h │ │ │ │ │ ├── crypto_hash_sha256.h │ │ │ │ │ ├── crypto_hash_sha512.h │ │ │ │ │ ├── crypto_int32.h │ │ │ │ │ ├── crypto_int64.h │ │ │ │ │ ├── crypto_onetimeauth.h │ │ │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ │ │ ├── crypto_pwhash.h │ │ │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ │ │ ├── crypto_scalarmult.h │ │ │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ │ │ ├── crypto_secretbox.h │ │ │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ │ │ ├── crypto_shorthash.h │ │ │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ │ │ ├── crypto_sign.h │ │ │ │ │ ├── crypto_sign_ed25519.h │ │ │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ │ │ ├── crypto_stream.h │ │ │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ │ │ ├── crypto_stream_chacha20.h │ │ │ │ │ ├── crypto_stream_salsa20.h │ │ │ │ │ ├── crypto_stream_salsa2012.h │ │ │ │ │ ├── crypto_stream_salsa208.h │ │ │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ │ │ ├── crypto_uint16.h │ │ │ │ │ ├── crypto_uint32.h │ │ │ │ │ ├── crypto_uint64.h │ │ │ │ │ ├── crypto_uint8.h │ │ │ │ │ ├── crypto_verify_16.h │ │ │ │ │ ├── crypto_verify_32.h │ │ │ │ │ ├── crypto_verify_64.h │ │ │ │ │ ├── export.h │ │ │ │ │ ├── randombytes.h │ │ │ │ │ ├── randombytes_salsa20_random.h │ │ │ │ │ ├── randombytes_sysrandom.h │ │ │ │ │ ├── runtime.h │ │ │ │ │ ├── utils.h │ │ │ │ │ └── version.h │ │ │ │ └── zstd.h │ │ │ └── ARMv7 │ │ │ │ ├── curl │ │ │ │ ├── curl.h │ │ │ │ ├── curlbuild.h │ │ │ │ ├── curlrules.h │ │ │ │ ├── curlver.h │ │ │ │ ├── easy.h │ │ │ │ ├── mprintf.h │ │ │ │ ├── multi.h │ │ │ │ ├── stdcheaders.h │ │ │ │ ├── typecheck-gcc.h │ │ │ │ └── types.h │ │ │ │ ├── libwebsockets.h │ │ │ │ ├── lws_config.h │ │ │ │ ├── openssl │ │ │ │ ├── aes.h │ │ │ │ ├── asn1.h │ │ │ │ ├── asn1_mac.h │ │ │ │ ├── asn1t.h │ │ │ │ ├── bio.h │ │ │ │ ├── blowfish.h │ │ │ │ ├── bn.h │ │ │ │ ├── buffer.h │ │ │ │ ├── camellia.h │ │ │ │ ├── cast.h │ │ │ │ ├── cmac.h │ │ │ │ ├── cms.h │ │ │ │ ├── comp.h │ │ │ │ ├── conf.h │ │ │ │ ├── conf_api.h │ │ │ │ ├── crypto.h │ │ │ │ ├── des.h │ │ │ │ ├── des_old.h │ │ │ │ ├── dh.h │ │ │ │ ├── dsa.h │ │ │ │ ├── dso.h │ │ │ │ ├── dtls1.h │ │ │ │ ├── e_os2.h │ │ │ │ ├── ebcdic.h │ │ │ │ ├── ec.h │ │ │ │ ├── ecdh.h │ │ │ │ ├── ecdsa.h │ │ │ │ ├── engine.h │ │ │ │ ├── err.h │ │ │ │ ├── evp.h │ │ │ │ ├── hmac.h │ │ │ │ ├── idea.h │ │ │ │ ├── krb5_asn.h │ │ │ │ ├── kssl.h │ │ │ │ ├── lhash.h │ │ │ │ ├── md4.h │ │ │ │ ├── md5.h │ │ │ │ ├── mdc2.h │ │ │ │ ├── modes.h │ │ │ │ ├── obj_mac.h │ │ │ │ ├── objects.h │ │ │ │ ├── ocsp.h │ │ │ │ ├── openssl_wrapper.h │ │ │ │ ├── opensslconf.h │ │ │ │ ├── opensslv.h │ │ │ │ ├── ossl_typ.h │ │ │ │ ├── pem.h │ │ │ │ ├── pem2.h │ │ │ │ ├── pkcs12.h │ │ │ │ ├── pkcs7.h │ │ │ │ ├── pqueue.h │ │ │ │ ├── rand.h │ │ │ │ ├── rc2.h │ │ │ │ ├── rc4.h │ │ │ │ ├── ripemd.h │ │ │ │ ├── rsa.h │ │ │ │ ├── safestack.h │ │ │ │ ├── seed.h │ │ │ │ ├── sha.h │ │ │ │ ├── srp.h │ │ │ │ ├── srtp.h │ │ │ │ ├── ssl.h │ │ │ │ ├── ssl2.h │ │ │ │ ├── ssl23.h │ │ │ │ ├── ssl3.h │ │ │ │ ├── stack.h │ │ │ │ ├── symhacks.h │ │ │ │ ├── tls1.h │ │ │ │ ├── ts.h │ │ │ │ ├── txt_db.h │ │ │ │ ├── ui.h │ │ │ │ ├── ui_compat.h │ │ │ │ ├── whrlpool.h │ │ │ │ ├── x509.h │ │ │ │ ├── x509_vfy.h │ │ │ │ └── x509v3.h │ │ │ │ ├── sodium.h │ │ │ │ ├── sodium │ │ │ │ ├── core.h │ │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ │ ├── crypto_auth.h │ │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ │ ├── crypto_box.h │ │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ │ ├── crypto_core_hchacha20.h │ │ │ │ ├── crypto_core_hsalsa20.h │ │ │ │ ├── crypto_core_salsa20.h │ │ │ │ ├── crypto_core_salsa2012.h │ │ │ │ ├── crypto_core_salsa208.h │ │ │ │ ├── crypto_generichash.h │ │ │ │ ├── crypto_generichash_blake2b.h │ │ │ │ ├── crypto_hash.h │ │ │ │ ├── crypto_hash_sha256.h │ │ │ │ ├── crypto_hash_sha512.h │ │ │ │ ├── crypto_int32.h │ │ │ │ ├── crypto_int64.h │ │ │ │ ├── crypto_onetimeauth.h │ │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ │ ├── crypto_pwhash.h │ │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ │ ├── crypto_scalarmult.h │ │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ │ ├── crypto_secretbox.h │ │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ │ ├── crypto_shorthash.h │ │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ │ ├── crypto_sign.h │ │ │ │ ├── crypto_sign_ed25519.h │ │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ │ ├── crypto_stream.h │ │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ │ ├── crypto_stream_chacha20.h │ │ │ │ ├── crypto_stream_salsa20.h │ │ │ │ ├── crypto_stream_salsa2012.h │ │ │ │ ├── crypto_stream_salsa208.h │ │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ │ ├── crypto_uint16.h │ │ │ │ ├── crypto_uint32.h │ │ │ │ ├── crypto_uint64.h │ │ │ │ ├── crypto_uint8.h │ │ │ │ ├── crypto_verify_16.h │ │ │ │ ├── crypto_verify_32.h │ │ │ │ ├── crypto_verify_64.h │ │ │ │ ├── export.h │ │ │ │ ├── randombytes.h │ │ │ │ ├── randombytes_salsa20_random.h │ │ │ │ ├── randombytes_sysrandom.h │ │ │ │ ├── runtime.h │ │ │ │ ├── utils.h │ │ │ │ └── version.h │ │ │ │ └── zstd.h │ │ ├── Mac │ │ │ ├── curl │ │ │ │ ├── curl.h │ │ │ │ ├── curlbuild-32.h │ │ │ │ ├── curlbuild-64.h │ │ │ │ ├── curlbuild.h │ │ │ │ ├── curlrules.h │ │ │ │ ├── curlver.h │ │ │ │ ├── easy.h │ │ │ │ ├── mprintf.h │ │ │ │ ├── multi.h │ │ │ │ ├── stdcheaders.h │ │ │ │ └── typecheck-gcc.h │ │ │ ├── libwebsockets.h │ │ │ ├── lws_config.h │ │ │ ├── openssl │ │ │ │ ├── aes.h │ │ │ │ ├── asn1.h │ │ │ │ ├── asn1_mac.h │ │ │ │ ├── asn1t.h │ │ │ │ ├── bio.h │ │ │ │ ├── blowfish.h │ │ │ │ ├── bn.h │ │ │ │ ├── buffer.h │ │ │ │ ├── camellia.h │ │ │ │ ├── cast.h │ │ │ │ ├── cmac.h │ │ │ │ ├── cms.h │ │ │ │ ├── comp.h │ │ │ │ ├── conf.h │ │ │ │ ├── conf_api.h │ │ │ │ ├── crypto.h │ │ │ │ ├── des.h │ │ │ │ ├── des_old.h │ │ │ │ ├── dh.h │ │ │ │ ├── dsa.h │ │ │ │ ├── dso.h │ │ │ │ ├── dtls1.h │ │ │ │ ├── e_os2.h │ │ │ │ ├── ebcdic.h │ │ │ │ ├── ec.h │ │ │ │ ├── ecdh.h │ │ │ │ ├── ecdsa.h │ │ │ │ ├── engine.h │ │ │ │ ├── err.h │ │ │ │ ├── evp.h │ │ │ │ ├── hmac.h │ │ │ │ ├── krb5_asn.h │ │ │ │ ├── kssl.h │ │ │ │ ├── lhash.h │ │ │ │ ├── md4.h │ │ │ │ ├── md5.h │ │ │ │ ├── modes.h │ │ │ │ ├── obj_mac.h │ │ │ │ ├── objects.h │ │ │ │ ├── ocsp.h │ │ │ │ ├── opensslconf.h │ │ │ │ ├── opensslv.h │ │ │ │ ├── ossl_typ.h │ │ │ │ ├── pem.h │ │ │ │ ├── pem2.h │ │ │ │ ├── pkcs12.h │ │ │ │ ├── pkcs7.h │ │ │ │ ├── pqueue.h │ │ │ │ ├── rand.h │ │ │ │ ├── rc2.h │ │ │ │ ├── ripemd.h │ │ │ │ ├── rsa.h │ │ │ │ ├── safestack.h │ │ │ │ ├── seed.h │ │ │ │ ├── sha.h │ │ │ │ ├── srp.h │ │ │ │ ├── srtp.h │ │ │ │ ├── ssl.h │ │ │ │ ├── ssl2.h │ │ │ │ ├── ssl23.h │ │ │ │ ├── ssl3.h │ │ │ │ ├── stack.h │ │ │ │ ├── symhacks.h │ │ │ │ ├── tls1.h │ │ │ │ ├── ts.h │ │ │ │ ├── txt_db.h │ │ │ │ ├── ui.h │ │ │ │ ├── ui_compat.h │ │ │ │ ├── whrlpool.h │ │ │ │ ├── x509.h │ │ │ │ ├── x509_vfy.h │ │ │ │ └── x509v3.h │ │ │ ├── sodium.h │ │ │ ├── sodium │ │ │ │ ├── core.h │ │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ │ ├── crypto_auth.h │ │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ │ ├── crypto_box.h │ │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ │ ├── crypto_core_hchacha20.h │ │ │ │ ├── crypto_core_hsalsa20.h │ │ │ │ ├── crypto_core_salsa20.h │ │ │ │ ├── crypto_core_salsa2012.h │ │ │ │ ├── crypto_core_salsa208.h │ │ │ │ ├── crypto_generichash.h │ │ │ │ ├── crypto_generichash_blake2b.h │ │ │ │ ├── crypto_hash.h │ │ │ │ ├── crypto_hash_sha256.h │ │ │ │ ├── crypto_hash_sha512.h │ │ │ │ ├── crypto_int32.h │ │ │ │ ├── crypto_int64.h │ │ │ │ ├── crypto_onetimeauth.h │ │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ │ ├── crypto_pwhash.h │ │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ │ ├── crypto_scalarmult.h │ │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ │ ├── crypto_secretbox.h │ │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ │ ├── crypto_shorthash.h │ │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ │ ├── crypto_sign.h │ │ │ │ ├── crypto_sign_ed25519.h │ │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ │ ├── crypto_stream.h │ │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ │ ├── crypto_stream_chacha20.h │ │ │ │ ├── crypto_stream_salsa20.h │ │ │ │ ├── crypto_stream_salsa2012.h │ │ │ │ ├── crypto_stream_salsa208.h │ │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ │ ├── crypto_uint16.h │ │ │ │ ├── crypto_uint32.h │ │ │ │ ├── crypto_uint64.h │ │ │ │ ├── crypto_uint8.h │ │ │ │ ├── crypto_verify_16.h │ │ │ │ ├── crypto_verify_32.h │ │ │ │ ├── crypto_verify_64.h │ │ │ │ ├── export.h │ │ │ │ ├── randombytes.h │ │ │ │ ├── randombytes_salsa20_random.h │ │ │ │ ├── randombytes_sysrandom.h │ │ │ │ ├── runtime.h │ │ │ │ ├── utils.h │ │ │ │ └── version.h │ │ │ └── zstd.h │ │ ├── Windows │ │ │ ├── x64 │ │ │ │ ├── curl │ │ │ │ │ ├── curl.h │ │ │ │ │ ├── curlbuild.h │ │ │ │ │ ├── curlrules.h │ │ │ │ │ ├── curlver.h │ │ │ │ │ ├── easy.h │ │ │ │ │ ├── mprintf.h │ │ │ │ │ ├── multi.h │ │ │ │ │ ├── stdcheaders.h │ │ │ │ │ └── typecheck-gcc.h │ │ │ │ ├── libwebsockets.h │ │ │ │ ├── lws_config.h │ │ │ │ ├── openssl │ │ │ │ │ ├── aes.h │ │ │ │ │ ├── asn1.h │ │ │ │ │ ├── asn1_mac.h │ │ │ │ │ ├── asn1t.h │ │ │ │ │ ├── bio.h │ │ │ │ │ ├── blowfish.h │ │ │ │ │ ├── bn.h │ │ │ │ │ ├── buffer.h │ │ │ │ │ ├── camellia.h │ │ │ │ │ ├── cast.h │ │ │ │ │ ├── cmac.h │ │ │ │ │ ├── cms.h │ │ │ │ │ ├── comp.h │ │ │ │ │ ├── conf.h │ │ │ │ │ ├── conf_api.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── des.h │ │ │ │ │ ├── des_old.h │ │ │ │ │ ├── dh.h │ │ │ │ │ ├── dsa.h │ │ │ │ │ ├── dso.h │ │ │ │ │ ├── dtls1.h │ │ │ │ │ ├── e_os2.h │ │ │ │ │ ├── ebcdic.h │ │ │ │ │ ├── ec.h │ │ │ │ │ ├── ecdh.h │ │ │ │ │ ├── ecdsa.h │ │ │ │ │ ├── engine.h │ │ │ │ │ ├── err.h │ │ │ │ │ ├── evp.h │ │ │ │ │ ├── hmac.h │ │ │ │ │ ├── krb5_asn.h │ │ │ │ │ ├── kssl.h │ │ │ │ │ ├── lhash.h │ │ │ │ │ ├── md4.h │ │ │ │ │ ├── md5.h │ │ │ │ │ ├── modes.h │ │ │ │ │ ├── obj_mac.h │ │ │ │ │ ├── objects.h │ │ │ │ │ ├── ocsp.h │ │ │ │ │ ├── opensslconf.h │ │ │ │ │ ├── opensslv.h │ │ │ │ │ ├── ossl_typ.h │ │ │ │ │ ├── pem.h │ │ │ │ │ ├── pem2.h │ │ │ │ │ ├── pkcs12.h │ │ │ │ │ ├── pkcs7.h │ │ │ │ │ ├── pqueue.h │ │ │ │ │ ├── rand.h │ │ │ │ │ ├── rc2.h │ │ │ │ │ ├── ripemd.h │ │ │ │ │ ├── rsa.h │ │ │ │ │ ├── safestack.h │ │ │ │ │ ├── seed.h │ │ │ │ │ ├── sha.h │ │ │ │ │ ├── srp.h │ │ │ │ │ ├── srtp.h │ │ │ │ │ ├── ssl.h │ │ │ │ │ ├── ssl2.h │ │ │ │ │ ├── ssl23.h │ │ │ │ │ ├── ssl3.h │ │ │ │ │ ├── stack.h │ │ │ │ │ ├── symhacks.h │ │ │ │ │ ├── tls1.h │ │ │ │ │ ├── ts.h │ │ │ │ │ ├── txt_db.h │ │ │ │ │ ├── ui.h │ │ │ │ │ ├── ui_compat.h │ │ │ │ │ ├── whrlpool.h │ │ │ │ │ ├── x509.h │ │ │ │ │ ├── x509_vfy.h │ │ │ │ │ └── x509v3.h │ │ │ │ ├── sodium.h │ │ │ │ ├── sodium │ │ │ │ │ ├── core.h │ │ │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ │ │ ├── crypto_auth.h │ │ │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ │ │ ├── crypto_box.h │ │ │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ │ │ ├── crypto_core_hchacha20.h │ │ │ │ │ ├── crypto_core_hsalsa20.h │ │ │ │ │ ├── crypto_core_salsa20.h │ │ │ │ │ ├── crypto_core_salsa2012.h │ │ │ │ │ ├── crypto_core_salsa208.h │ │ │ │ │ ├── crypto_generichash.h │ │ │ │ │ ├── crypto_generichash_blake2b.h │ │ │ │ │ ├── crypto_hash.h │ │ │ │ │ ├── crypto_hash_sha256.h │ │ │ │ │ ├── crypto_hash_sha512.h │ │ │ │ │ ├── crypto_int32.h │ │ │ │ │ ├── crypto_int64.h │ │ │ │ │ ├── crypto_onetimeauth.h │ │ │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ │ │ ├── crypto_pwhash.h │ │ │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ │ │ ├── crypto_scalarmult.h │ │ │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ │ │ ├── crypto_secretbox.h │ │ │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ │ │ ├── crypto_shorthash.h │ │ │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ │ │ ├── crypto_sign.h │ │ │ │ │ ├── crypto_sign_ed25519.h │ │ │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ │ │ ├── crypto_stream.h │ │ │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ │ │ ├── crypto_stream_chacha20.h │ │ │ │ │ ├── crypto_stream_salsa20.h │ │ │ │ │ ├── crypto_stream_salsa2012.h │ │ │ │ │ ├── crypto_stream_salsa208.h │ │ │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ │ │ ├── crypto_uint16.h │ │ │ │ │ ├── crypto_uint32.h │ │ │ │ │ ├── crypto_uint64.h │ │ │ │ │ ├── crypto_uint8.h │ │ │ │ │ ├── crypto_verify_16.h │ │ │ │ │ ├── crypto_verify_32.h │ │ │ │ │ ├── crypto_verify_64.h │ │ │ │ │ ├── export.h │ │ │ │ │ ├── randombytes.h │ │ │ │ │ ├── randombytes_salsa20_random.h │ │ │ │ │ ├── randombytes_sysrandom.h │ │ │ │ │ ├── runtime.h │ │ │ │ │ ├── utils.h │ │ │ │ │ └── version.h │ │ │ │ └── zstd.h │ │ │ └── x86 │ │ │ │ ├── curl │ │ │ │ ├── curl.h │ │ │ │ ├── curlbuild.h │ │ │ │ ├── curlrules.h │ │ │ │ ├── curlver.h │ │ │ │ ├── easy.h │ │ │ │ ├── mprintf.h │ │ │ │ ├── multi.h │ │ │ │ ├── stdcheaders.h │ │ │ │ └── typecheck-gcc.h │ │ │ │ ├── libwebsockets.h │ │ │ │ ├── lws_config.h │ │ │ │ ├── openssl │ │ │ │ ├── aes.h │ │ │ │ ├── applink.c │ │ │ │ ├── asn1.h │ │ │ │ ├── asn1_mac.h │ │ │ │ ├── asn1t.h │ │ │ │ ├── bio.h │ │ │ │ ├── blowfish.h │ │ │ │ ├── bn.h │ │ │ │ ├── buffer.h │ │ │ │ ├── camellia.h │ │ │ │ ├── cast.h │ │ │ │ ├── cmac.h │ │ │ │ ├── cms.h │ │ │ │ ├── comp.h │ │ │ │ ├── conf.h │ │ │ │ ├── conf_api.h │ │ │ │ ├── crypto.h │ │ │ │ ├── des.h │ │ │ │ ├── des_old.h │ │ │ │ ├── dh.h │ │ │ │ ├── dsa.h │ │ │ │ ├── dso.h │ │ │ │ ├── dtls1.h │ │ │ │ ├── e_os2.h │ │ │ │ ├── ebcdic.h │ │ │ │ ├── ec.h │ │ │ │ ├── ecdh.h │ │ │ │ ├── ecdsa.h │ │ │ │ ├── engine.h │ │ │ │ ├── err.h │ │ │ │ ├── evp.h │ │ │ │ ├── hmac.h │ │ │ │ ├── idea.h │ │ │ │ ├── krb5_asn.h │ │ │ │ ├── kssl.h │ │ │ │ ├── lhash.h │ │ │ │ ├── md4.h │ │ │ │ ├── md5.h │ │ │ │ ├── mdc2.h │ │ │ │ ├── modes.h │ │ │ │ ├── obj_mac.h │ │ │ │ ├── objects.h │ │ │ │ ├── ocsp.h │ │ │ │ ├── opensslconf.h │ │ │ │ ├── opensslv.h │ │ │ │ ├── ossl_typ.h │ │ │ │ ├── pem.h │ │ │ │ ├── pem2.h │ │ │ │ ├── pkcs12.h │ │ │ │ ├── pkcs7.h │ │ │ │ ├── pqueue.h │ │ │ │ ├── rand.h │ │ │ │ ├── rc2.h │ │ │ │ ├── rc4.h │ │ │ │ ├── ripemd.h │ │ │ │ ├── rsa.h │ │ │ │ ├── safestack.h │ │ │ │ ├── seed.h │ │ │ │ ├── sha.h │ │ │ │ ├── srp.h │ │ │ │ ├── srtp.h │ │ │ │ ├── ssl.h │ │ │ │ ├── ssl2.h │ │ │ │ ├── ssl23.h │ │ │ │ ├── ssl3.h │ │ │ │ ├── stack.h │ │ │ │ ├── symhacks.h │ │ │ │ ├── tls1.h │ │ │ │ ├── ts.h │ │ │ │ ├── txt_db.h │ │ │ │ ├── ui.h │ │ │ │ ├── ui_compat.h │ │ │ │ ├── whrlpool.h │ │ │ │ ├── x509.h │ │ │ │ ├── x509_vfy.h │ │ │ │ └── x509v3.h │ │ │ │ ├── sodium.h │ │ │ │ ├── sodium │ │ │ │ ├── core.h │ │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ │ ├── crypto_auth.h │ │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ │ ├── crypto_box.h │ │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ │ ├── crypto_core_hchacha20.h │ │ │ │ ├── crypto_core_hsalsa20.h │ │ │ │ ├── crypto_core_salsa20.h │ │ │ │ ├── crypto_core_salsa2012.h │ │ │ │ ├── crypto_core_salsa208.h │ │ │ │ ├── crypto_generichash.h │ │ │ │ ├── crypto_generichash_blake2b.h │ │ │ │ ├── crypto_hash.h │ │ │ │ ├── crypto_hash_sha256.h │ │ │ │ ├── crypto_hash_sha512.h │ │ │ │ ├── crypto_int32.h │ │ │ │ ├── crypto_int64.h │ │ │ │ ├── crypto_onetimeauth.h │ │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ │ ├── crypto_pwhash.h │ │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ │ ├── crypto_scalarmult.h │ │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ │ ├── crypto_secretbox.h │ │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ │ ├── crypto_shorthash.h │ │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ │ ├── crypto_sign.h │ │ │ │ ├── crypto_sign_ed25519.h │ │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ │ ├── crypto_stream.h │ │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ │ ├── crypto_stream_chacha20.h │ │ │ │ ├── crypto_stream_salsa20.h │ │ │ │ ├── crypto_stream_salsa2012.h │ │ │ │ ├── crypto_stream_salsa208.h │ │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ │ ├── crypto_uint16.h │ │ │ │ ├── crypto_uint32.h │ │ │ │ ├── crypto_uint64.h │ │ │ │ ├── crypto_uint8.h │ │ │ │ ├── crypto_verify_16.h │ │ │ │ ├── crypto_verify_32.h │ │ │ │ ├── crypto_verify_64.h │ │ │ │ ├── export.h │ │ │ │ ├── randombytes.h │ │ │ │ ├── randombytes_salsa20_random.h │ │ │ │ ├── randombytes_sysrandom.h │ │ │ │ ├── runtime.h │ │ │ │ ├── utils.h │ │ │ │ └── version.h │ │ │ │ └── zstd.h │ │ ├── iOS │ │ │ ├── curl_with_opensssl1.0.2 │ │ │ │ └── curl │ │ │ │ │ ├── curl.h │ │ │ │ │ ├── curlbuild-32.h │ │ │ │ │ ├── curlbuild-64.h │ │ │ │ │ ├── curlbuild.h │ │ │ │ │ ├── curlrules.h │ │ │ │ │ ├── curlver.h │ │ │ │ │ ├── easy.h │ │ │ │ │ ├── mprintf.h │ │ │ │ │ ├── multi.h │ │ │ │ │ ├── stdcheaders.h │ │ │ │ │ └── typecheck-gcc.h │ │ │ ├── curl_with_opensssl1.1.1 │ │ │ │ └── curl │ │ │ │ │ ├── curl.h │ │ │ │ │ ├── curlver.h │ │ │ │ │ ├── easy.h │ │ │ │ │ ├── mprintf.h │ │ │ │ │ ├── multi.h │ │ │ │ │ ├── stdcheaders.h │ │ │ │ │ ├── system.h │ │ │ │ │ ├── typecheck-gcc.h │ │ │ │ │ └── urlapi.h │ │ │ ├── libwebsockets.h │ │ │ ├── lws_config.h │ │ │ ├── openssl │ │ │ │ ├── aes.h │ │ │ │ ├── asn1.h │ │ │ │ ├── asn1_mac.h │ │ │ │ ├── asn1t.h │ │ │ │ ├── bio.h │ │ │ │ ├── blowfish.h │ │ │ │ ├── bn.h │ │ │ │ ├── buffer.h │ │ │ │ ├── camellia.h │ │ │ │ ├── cast.h │ │ │ │ ├── cmac.h │ │ │ │ ├── cms.h │ │ │ │ ├── comp.h │ │ │ │ ├── conf.h │ │ │ │ ├── conf_api.h │ │ │ │ ├── crypto.h │ │ │ │ ├── des.h │ │ │ │ ├── des_old.h │ │ │ │ ├── dh.h │ │ │ │ ├── dsa.h │ │ │ │ ├── dso.h │ │ │ │ ├── dtls1.h │ │ │ │ ├── e_os2.h │ │ │ │ ├── ebcdic.h │ │ │ │ ├── ec.h │ │ │ │ ├── ecdh.h │ │ │ │ ├── ecdsa.h │ │ │ │ ├── engine.h │ │ │ │ ├── err.h │ │ │ │ ├── evp.h │ │ │ │ ├── hmac.h │ │ │ │ ├── krb5_asn.h │ │ │ │ ├── kssl.h │ │ │ │ ├── lhash.h │ │ │ │ ├── md4.h │ │ │ │ ├── md5.h │ │ │ │ ├── modes.h │ │ │ │ ├── obj_mac.h │ │ │ │ ├── objects.h │ │ │ │ ├── ocsp.h │ │ │ │ ├── opensslconf.h │ │ │ │ ├── opensslv.h │ │ │ │ ├── ossl_typ.h │ │ │ │ ├── pem.h │ │ │ │ ├── pem2.h │ │ │ │ ├── pkcs12.h │ │ │ │ ├── pkcs7.h │ │ │ │ ├── pqueue.h │ │ │ │ ├── rand.h │ │ │ │ ├── rc2.h │ │ │ │ ├── ripemd.h │ │ │ │ ├── rsa.h │ │ │ │ ├── safestack.h │ │ │ │ ├── seed.h │ │ │ │ ├── sha.h │ │ │ │ ├── srp.h │ │ │ │ ├── srtp.h │ │ │ │ ├── ssl.h │ │ │ │ ├── ssl2.h │ │ │ │ ├── ssl23.h │ │ │ │ ├── ssl3.h │ │ │ │ ├── stack.h │ │ │ │ ├── symhacks.h │ │ │ │ ├── tls1.h │ │ │ │ ├── ts.h │ │ │ │ ├── txt_db.h │ │ │ │ ├── ui.h │ │ │ │ ├── ui_compat.h │ │ │ │ ├── whrlpool.h │ │ │ │ ├── x509.h │ │ │ │ ├── x509_vfy.h │ │ │ │ └── x509v3.h │ │ │ ├── sodium.h │ │ │ ├── sodium │ │ │ │ ├── core.h │ │ │ │ ├── crypto_aead_aes256gcm.h │ │ │ │ ├── crypto_aead_chacha20poly1305.h │ │ │ │ ├── crypto_auth.h │ │ │ │ ├── crypto_auth_hmacsha256.h │ │ │ │ ├── crypto_auth_hmacsha512.h │ │ │ │ ├── crypto_auth_hmacsha512256.h │ │ │ │ ├── crypto_box.h │ │ │ │ ├── crypto_box_curve25519xsalsa20poly1305.h │ │ │ │ ├── crypto_core_hchacha20.h │ │ │ │ ├── crypto_core_hsalsa20.h │ │ │ │ ├── crypto_core_salsa20.h │ │ │ │ ├── crypto_core_salsa2012.h │ │ │ │ ├── crypto_core_salsa208.h │ │ │ │ ├── crypto_generichash.h │ │ │ │ ├── crypto_generichash_blake2b.h │ │ │ │ ├── crypto_hash.h │ │ │ │ ├── crypto_hash_sha256.h │ │ │ │ ├── crypto_hash_sha512.h │ │ │ │ ├── crypto_int32.h │ │ │ │ ├── crypto_int64.h │ │ │ │ ├── crypto_onetimeauth.h │ │ │ │ ├── crypto_onetimeauth_poly1305.h │ │ │ │ ├── crypto_pwhash.h │ │ │ │ ├── crypto_pwhash_argon2i.h │ │ │ │ ├── crypto_pwhash_scryptsalsa208sha256.h │ │ │ │ ├── crypto_scalarmult.h │ │ │ │ ├── crypto_scalarmult_curve25519.h │ │ │ │ ├── crypto_secretbox.h │ │ │ │ ├── crypto_secretbox_xsalsa20poly1305.h │ │ │ │ ├── crypto_shorthash.h │ │ │ │ ├── crypto_shorthash_siphash24.h │ │ │ │ ├── crypto_sign.h │ │ │ │ ├── crypto_sign_ed25519.h │ │ │ │ ├── crypto_sign_edwards25519sha512batch.h │ │ │ │ ├── crypto_stream.h │ │ │ │ ├── crypto_stream_aes128ctr.h │ │ │ │ ├── crypto_stream_chacha20.h │ │ │ │ ├── crypto_stream_salsa20.h │ │ │ │ ├── crypto_stream_salsa2012.h │ │ │ │ ├── crypto_stream_salsa208.h │ │ │ │ ├── crypto_stream_xsalsa20.h │ │ │ │ ├── crypto_uint16.h │ │ │ │ ├── crypto_uint32.h │ │ │ │ ├── crypto_uint64.h │ │ │ │ ├── crypto_uint8.h │ │ │ │ ├── crypto_verify_16.h │ │ │ │ ├── crypto_verify_32.h │ │ │ │ ├── crypto_verify_64.h │ │ │ │ ├── export.h │ │ │ │ ├── randombytes.h │ │ │ │ ├── randombytes_salsa20_random.h │ │ │ │ ├── randombytes_sysrandom.h │ │ │ │ ├── runtime.h │ │ │ │ ├── utils.h │ │ │ │ └── version.h │ │ │ └── zstd.h │ │ └── rapidjson │ │ │ ├── allocators.h │ │ │ ├── document.h │ │ │ ├── encodedstream.h │ │ │ ├── encodings.h │ │ │ ├── error │ │ │ ├── en.h │ │ │ └── error.h │ │ │ ├── filereadstream.h │ │ │ ├── filestream.h │ │ │ ├── filewritestream.h │ │ │ ├── internal │ │ │ ├── biginteger.h │ │ │ ├── diyfp.h │ │ │ ├── dtoa.h │ │ │ ├── ieee754.h │ │ │ ├── itoa.h │ │ │ ├── meta.h │ │ │ ├── pow10.h │ │ │ ├── stack.h │ │ │ ├── strfunc.h │ │ │ └── strtod.h │ │ │ ├── memorybuffer.h │ │ │ ├── memorystream.h │ │ │ ├── msinttypes │ │ │ ├── inttypes.h │ │ │ └── stdint.h │ │ │ ├── prettywriter.h │ │ │ ├── rapidjson.h │ │ │ ├── reader.h │ │ │ ├── stringbuffer.h │ │ │ └── writer.h │ │ ├── lib │ │ ├── Android │ │ │ ├── ARM64 │ │ │ │ ├── libcrypto.a │ │ │ │ ├── libcurl.a │ │ │ │ ├── libsodium.a │ │ │ │ ├── libssl.a │ │ │ │ ├── libwebsockets.a │ │ │ │ └── libzstd.a │ │ │ └── ARMv7 │ │ │ │ ├── libcrypto.a │ │ │ │ ├── libcurl.a │ │ │ │ ├── libsodium.a │ │ │ │ ├── libssl.a │ │ │ │ ├── libwebsockets.a │ │ │ │ └── libzstd.a │ │ ├── Mac │ │ │ ├── libcrypto.a │ │ │ ├── libcurl.a │ │ │ ├── libsodium.a │ │ │ ├── libssl.a │ │ │ ├── libwebsockets.a │ │ │ ├── libz.a │ │ │ └── libzstd.a │ │ ├── Windows │ │ │ ├── x64 │ │ │ │ ├── libsodium.lib │ │ │ │ └── libzstd_static.lib │ │ │ └── x86 │ │ │ │ ├── libsodium.lib │ │ │ │ └── libzstd_static.lib │ │ └── iOS │ │ │ ├── curl_with_opensssl1.0.2 │ │ │ └── libcurl.a │ │ │ ├── curl_with_opensssl1.1.1 │ │ │ └── libcurl.a │ │ │ ├── libcrypto.a │ │ │ ├── libsodium.a │ │ │ ├── libssl.a │ │ │ ├── libwebsockets.a │ │ │ └── libzstd.a │ │ └── proto │ │ ├── Program.cs │ │ ├── build-protobuf-mac.sh │ │ ├── build-protobuf-win.bat │ │ ├── funapi │ │ ├── distribution │ │ │ └── fun_dedicated_server_rpc_message.proto │ │ ├── management │ │ │ └── maintenance_message.proto │ │ ├── network │ │ │ ├── fun_message.proto │ │ │ └── ping_message.proto │ │ └── service │ │ │ ├── multicast_message.proto │ │ │ └── redirect_message.proto │ │ ├── lib │ │ ├── libprotobuf.9.dylib │ │ └── libprotoc.9.dylib │ │ ├── protoc │ │ ├── protoc.exe │ │ ├── replace.exe │ │ ├── test_dedicated_server_rpc_messages.proto │ │ └── test_messages.proto └── FunapiDedicatedServer │ ├── FunapiDedicatedServer.uplugin │ └── Source │ └── FunapiDedicatedServer │ ├── FunapiDedicatedServer.Build.cs │ ├── Private │ ├── FunapiDedicatedServer.cpp │ ├── FunapiDedicatedServerPlugin.cpp │ └── FunapiDedicatedServerPrivatePCH.h │ └── Public │ ├── FunapiDedicatedServer.h │ └── IFunapiDedicatedServerPlugin.h ├── README.md ├── Saved └── Certificate │ └── cacert.pem ├── Source ├── funapi_plugin_ue4.Target.cs ├── funapi_plugin_ue4 │ ├── Resources │ │ └── Windows │ │ │ ├── Application.ico │ │ │ └── funapi_plugin_ue4.rc │ ├── Tests │ │ ├── FunapiSessionTest.cpp │ │ └── libprotobuf │ │ │ ├── LibProtobufDynamicMessageTest.cpp │ │ │ ├── LibProtobufExtensionSetTest.cpp │ │ │ ├── LibProtobufGeneratedMessageReflectionTest.cpp │ │ │ ├── LibProtobufLiteUnitTest.cpp │ │ │ ├── LibProtobufMergedDescriptorDatabaseTest.cpp │ │ │ ├── LibProtobufMessageTest.cpp │ │ │ ├── LibProtobufRepeatedFieldTest.cpp │ │ │ ├── LibProtobufTest.cpp │ │ │ ├── LibProtobufTextFormatUnittest.cpp │ │ │ ├── file.cc │ │ │ ├── file.h │ │ │ ├── googletest.cc │ │ │ ├── googletest.h │ │ │ ├── test_util.cc │ │ │ ├── test_util.h │ │ │ ├── test_util_lite.cc │ │ │ ├── test_util_lite.h │ │ │ ├── unittest.pb.cc │ │ │ ├── unittest.pb.h │ │ │ ├── unittest_custom_options.pb.cc │ │ │ ├── unittest_custom_options.pb.h │ │ │ ├── unittest_import.pb.cc │ │ │ ├── unittest_import.pb.h │ │ │ ├── unittest_import_lite.pb.cc │ │ │ ├── unittest_import_lite.pb.h │ │ │ ├── unittest_import_public.pb.cc │ │ │ ├── unittest_import_public.pb.h │ │ │ ├── unittest_import_public_lite.pb.cc │ │ │ ├── unittest_import_public_lite.pb.h │ │ │ ├── unittest_lite.pb.cc │ │ │ ├── unittest_lite.pb.h │ │ │ ├── unittest_mset.pb.cc │ │ │ └── unittest_mset.pb.h │ ├── funapi_plugin_ue4.Build.cs │ ├── funapi_plugin_ue4.cpp │ ├── funapi_plugin_ue4.h │ ├── funapi_plugin_ue4GameMode.cpp │ ├── funapi_plugin_ue4GameMode.h │ ├── funapi_tester.cpp │ ├── funapi_tester.h │ ├── test_dedicated_server_rpc_messages.pb.cc │ ├── test_dedicated_server_rpc_messages.pb.h │ ├── test_messages.pb.cc │ └── test_messages.pb.h └── funapi_plugin_ue4Editor.Target.cs ├── ThirdParty ├── build │ ├── openssl_arm64.sh │ └── openssl_x86_64.sh ├── docker │ └── ifunengine │ │ ├── echo │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── run.bat │ │ └── run.sh │ │ ├── enc-reliability-aes128 │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── run.bat │ │ └── run.sh │ │ ├── enc-reliability-chacha20 │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── run.bat │ │ └── run.sh │ │ ├── enc-reliability-sodium │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── run.bat │ │ └── run.sh │ │ ├── msgtype-int │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── event_handlers.cc │ │ ├── run.bat │ │ └── run.sh │ │ ├── multicast-json │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── entrypoint.sh │ │ ├── run.bat │ │ └── run.sh │ │ ├── multicast-protobuf │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── entrypoint.sh │ │ ├── run.bat │ │ └── run.sh │ │ ├── multicast-reliability-json │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── entrypoint.sh │ │ ├── run.bat │ │ └── run.sh │ │ ├── multicast-reliability-protobuf │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── entrypoint.sh │ │ ├── run.bat │ │ └── run.sh │ │ └── reliability │ │ ├── Dockerfile │ │ ├── MANIFEST.json │ │ ├── build.bat │ │ ├── build.sh │ │ ├── run.bat │ │ └── run.sh └── google │ └── protobuf │ └── testdata │ ├── golden_message │ ├── golden_packed_fields_message │ ├── text_format_unittest_data_oneof_implemented.txt │ └── text_format_unittest_extensions_data.txt └── funapi_plugin_ue4.uproject /.gitignore: -------------------------------------------------------------------------------- 1 | Build 2 | Saved/* 3 | !Saved/Certificate 4 | Intermediate 5 | Binaries 6 | funapi_plugin_ue4.xcodeproj 7 | Build 8 | funapi_plugin_ue4.xcworkspace 9 | /Plugins/Funapi/ThirdParty/lib/PS4 10 | /Plugins/Funapi/ThirdParty/include/PS4 11 | /Plugins/Funapi/Source/Funapi/Private/ps4 12 | .vscode 13 | .DS_Store 14 | -------------------------------------------------------------------------------- /ChangeExtensions.bat: -------------------------------------------------------------------------------- 1 | :: Copyright (C) 2019 iFunFactory Inc. All Rights Reserved. 2 | :: 3 | :: This work is confidential and proprietary to iFunFactory Inc. and 4 | :: must not be used, disclosed, copied, or distributed without the prior 5 | :: consent of iFunFactory Inc. 6 | 7 | 8 | @ECHO OFF 9 | ECHO It is a file to respond to the 4.21.2 CachedCPPEnvironments issue. 10 | ECHO Start changing file extension ".cc" to ".cpp" 11 | 12 | SET root_path=%~dp0 13 | 14 | ECHO Checking exist funapi plugin folder 15 | IF not exist %root_path%\Plugins\Funapi ( 16 | ECHO Not exist funapi plugin folder 17 | cmd /k 18 | ) 19 | 20 | 21 | CD %root_path%Plugins\Funapi 22 | 23 | FOR /R %%I IN (*.cc) DO ( 24 | ECHO REN "%%I" "%%~nI.cpp" 25 | REN "%%I" "%%~nI.cpp" 26 | ) 27 | 28 | CD %root_path%Source 29 | 30 | ECHO Check yours .cc files that in Source/ directory 31 | ECHO That will .cc file change to .cpp 32 | ECHO Continue press any key 33 | 34 | pause 35 | 36 | FOR /R %%I IN (*.cc) DO ( 37 | ECHO REN "%%I" "%%~nI.cpp" 38 | REN "%%I" "%%~nI.cpp" 39 | ) 40 | -------------------------------------------------------------------------------- /ChangeExtensions.sh: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 iFunFactory Inc. All Rights Reserved. 2 | # 3 | # This work is confidential and proprietary to iFunFactory Inc. and 4 | # must not be used, disclosed, copied, or distributed without the prior 5 | # consent of iFunFactory Inc. 6 | 7 | echo "It is a file to respond to the 4.21.2 CachedCPPEnvironments issue." 8 | echo "Start changing file extension ".cc" to ".cpp"" 9 | 10 | root_path=${PWD} 11 | 12 | echo "Checking exist funapi plugin folder" 13 | 14 | command=$(find Plugins/ -name Funapi | wc -l) 15 | 16 | if [ $command -eq 0 ]; then 17 | echo "Not exist funapi plugin folder" 18 | read -p "Press any key to exit" 19 | exit 20 | fi 21 | 22 | cd Plugins/Funapi/ 23 | 24 | find ./ -name "*.cc" -exec bash -c 'mv "$1" "${1%.cc}".cpp' - '{}' \; 25 | 26 | cd ../.. 27 | 28 | echo "Check yours .cc files that in Source/ directory" 29 | echo "That will .cc file change to .cpp" 30 | read -p "Continue press any key " 31 | 32 | cd Source 33 | 34 | find ./ -name "*.cc" -exec bash -c 'mv "$1" "${1%.cc}".cpp' - '{}' \; -------------------------------------------------------------------------------- /Config/DefaultEditor.ini: -------------------------------------------------------------------------------- 1 | [EditoronlyBP] 2 | bAllowClassAndBlueprintPinMatching=true 3 | bReplaceBlueprintWithClass=true 4 | bDontLoadBlueprintOutsideEditor=true 5 | bBlueprintIsNotBlueprintType=true 6 | -------------------------------------------------------------------------------- /Config/DefaultGame.ini: -------------------------------------------------------------------------------- 1 | 2 | [/Script/UnrealEd.ProjectPackagingSettings] 3 | -------------------------------------------------------------------------------- /Content/Maps/tester.umap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Content/Maps/tester.umap -------------------------------------------------------------------------------- /Content/Menu.uasset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Content/Menu.uasset -------------------------------------------------------------------------------- /Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Default-568h@2x.png -------------------------------------------------------------------------------- /Plugins/Funapi/Funapi.uplugin: -------------------------------------------------------------------------------- 1 | { 2 | "FileVersion" : 3, 3 | "Version" : 1, 4 | "VersionName" : "1.233", 5 | "FriendlyName" : "Funapi Plugin", 6 | "Description" : "Funapi Plugin UE4", 7 | "Category" : "iFunFactory", 8 | "CreatedBy" : "iFunFactory, Inc.", 9 | "CreatedByURL" : "http://iFunFactory.com", 10 | "DocsURL" : "http://www.ifunfactory.com/engine/documents/reference/en/index.html", 11 | "MarketplaceURL" : "", 12 | "SupportURL" : "http://www.ifunfactory.com/engine/#contact", 13 | "EnabledByDefault" : false, 14 | "CanContainContent" : false, 15 | "IsBetaVersion" : false, 16 | "Installed" : false, 17 | "Modules" : 18 | [ 19 | { 20 | "Name" : "Funapi", 21 | "Type" : "Runtime", 22 | "LoadingPhase" : "Default", 23 | "WhitelistPlatforms" : [ "IOS", "Android", "Mac", "Win32", "Win64", "PS4", "Linux" ] 24 | } 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /Plugins/Funapi/Source/Funapi/Private/FunapiPrivatePCH.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2017 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | // You should place include statements to your module's private header files here. You only need to 8 | // add includes for headers that are used in most of your module's source files though. 9 | 10 | #pragma once 11 | 12 | #include "Core.h" 13 | 14 | DECLARE_LOG_CATEGORY_EXTERN(LogFunapi, Log, All); 15 | 16 | #if !UE_BUILD_SHIPPING 17 | #define DEBUG_LOG 18 | #endif 19 | 20 | #include "funapi_plugin.h" 21 | -------------------------------------------------------------------------------- /Plugins/Funapi/Source/Funapi/Private/funapi_send_flag_manager.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #ifndef SRC_FUNAPI_SEND_FLAG_MANAGER_H_ 8 | #define SRC_FUNAPI_SEND_FLAG_MANAGER_H_ 9 | 10 | #include "funapi_plugin.h" 11 | 12 | namespace fun { 13 | 14 | class FUNAPI_API FunapiSendFlagManager : 15 | public std::enable_shared_from_this 16 | { 17 | public: 18 | static void Init(); 19 | static FunapiSendFlagManager& Get(); 20 | 21 | void WakeUp(); 22 | void ResetWakeUp(); 23 | 24 | virtual ~FunapiSendFlagManager(); 25 | 26 | private: 27 | FunapiSendFlagManager(); 28 | 29 | 30 | #ifdef FUNAPI_PLATFORM_WINDOWS 31 | 32 | public: 33 | HANDLE GetEvent(); 34 | 35 | private: 36 | HANDLE event_ = nullptr; 37 | 38 | #else 39 | 40 | public: 41 | int* GetPipeFds(); 42 | 43 | private: 44 | int pipe_fds_[2]; 45 | 46 | #endif 47 | 48 | }; 49 | 50 | } // namespace fun 51 | 52 | #endif // SRC_FUNAPI_SEND_FLAG_MANAGER_H_ 53 | -------------------------------------------------------------------------------- /Plugins/Funapi/Source/Funapi/Private/funapi_version.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2019 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #ifndef SRC_FUNAPI_VERSION_H_ 8 | #define SRC_FUNAPI_VERSION_H_ 9 | 10 | namespace fun { 11 | 12 | enum class FunapiVersion : int 13 | { 14 | kProtocolVersion = 1, 15 | kPluginVersion = 233, 16 | }; 17 | 18 | } 19 | 20 | #endif // SRC_FUNAPI_VERSION_H_ 21 | -------------------------------------------------------------------------------- /Plugins/Funapi/Source/Funapi/Public/IFunapiPlugin.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2016 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #pragma once 8 | 9 | #include "Modules/ModuleManager.h" 10 | 11 | /** 12 | * The public interface to this module. In most cases, this interface is only public to sibling modules 13 | * within this plugin. 14 | */ 15 | class IFunapi : public IModuleInterface 16 | { 17 | 18 | public: 19 | 20 | /** 21 | * Singleton-like access to this module's interface. This is just for convenience! 22 | * Beware of calling this during the shutdown phase, though. Your module might have been unloaded already. 23 | * 24 | * @return Returns singleton instance, loading the module on demand if needed 25 | */ 26 | static inline IFunapi& Get() 27 | { 28 | return FModuleManager::LoadModuleChecked< IFunapi >( "Funapi" ); 29 | } 30 | 31 | /** 32 | * Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true. 33 | * 34 | * @return True if the module is loaded and ready to use 35 | */ 36 | static inline bool IsAvailable() 37 | { 38 | return FModuleManager::Get().IsModuleLoaded( "Funapi" ); 39 | } 40 | }; 41 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/curl/stdcheaders.h: -------------------------------------------------------------------------------- 1 | #ifndef __STDC_HEADERS_H 2 | #define __STDC_HEADERS_H 3 | /*************************************************************************** 4 | * _ _ ____ _ 5 | * Project ___| | | | _ \| | 6 | * / __| | | | |_) | | 7 | * | (__| |_| | _ <| |___ 8 | * \___|\___/|_| \_\_____| 9 | * 10 | * Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. 11 | * 12 | * This software is licensed as described in the file COPYING, which 13 | * you should have received as part of this distribution. The terms 14 | * are also available at http://curl.haxx.se/docs/copyright.html. 15 | * 16 | * You may opt to use, copy, modify, merge, publish, distribute and/or sell 17 | * copies of the Software, and permit persons to whom the Software is 18 | * furnished to do so, under the terms of the COPYING file. 19 | * 20 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 | * KIND, either express or implied. 22 | * 23 | ***************************************************************************/ 24 | 25 | #include 26 | 27 | size_t fread (void *, size_t, size_t, FILE *); 28 | size_t fwrite (const void *, size_t, size_t, FILE *); 29 | 30 | int strcasecmp(const char *, const char *); 31 | int strncasecmp(const char *, const char *, size_t); 32 | 33 | #endif /* __STDC_HEADERS_H */ 34 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_WHRLPOOL_H 2 | # define HEADER_WHRLPOOL_H 3 | 4 | # include 5 | # include 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | # define WHIRLPOOL_DIGEST_LENGTH (512/8) 12 | # define WHIRLPOOL_BBLOCK 512 13 | # define WHIRLPOOL_COUNTER (256/8) 14 | 15 | typedef struct { 16 | union { 17 | unsigned char c[WHIRLPOOL_DIGEST_LENGTH]; 18 | /* double q is here to ensure 64-bit alignment */ 19 | double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)]; 20 | } H; 21 | unsigned char data[WHIRLPOOL_BBLOCK / 8]; 22 | unsigned int bitoff; 23 | size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; 24 | } WHIRLPOOL_CTX; 25 | 26 | # ifndef OPENSSL_NO_WHIRLPOOL 27 | # ifdef OPENSSL_FIPS 28 | int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 29 | # endif 30 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 31 | int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes); 32 | void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits); 33 | int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c); 34 | unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md); 35 | # endif 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void) 13 | __attribute__ ((warn_unused_result)); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_auth_H 2 | #define crypto_auth_H 3 | 4 | #include 5 | 6 | #include "crypto_auth_hmacsha512256.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # ifdef __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_auth_bytes(void); 19 | 20 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_auth_keybytes(void); 23 | 24 | #define crypto_auth_PRIMITIVE "hmacsha512256" 25 | SODIUM_EXPORT 26 | const char *crypto_auth_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_auth(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | SODIUM_EXPORT 33 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 34 | unsigned long long inlen, const unsigned char *k) 35 | __attribute__ ((warn_unused_result)); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_core_hchacha20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hchacha20_H 2 | #define crypto_core_hchacha20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hchacha20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hchacha20_outputbytes(void); 14 | 15 | #define crypto_core_hchacha20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hchacha20_inputbytes(void); 18 | 19 | #define crypto_core_hchacha20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hchacha20_keybytes(void); 22 | 23 | #define crypto_core_hchacha20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hchacha20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hchacha20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hsalsa20_H 2 | #define crypto_core_hsalsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hsalsa20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hsalsa20_outputbytes(void); 14 | 15 | #define crypto_core_hsalsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hsalsa20_inputbytes(void); 18 | 19 | #define crypto_core_hsalsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hsalsa20_keybytes(void); 22 | 23 | #define crypto_core_hsalsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hsalsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hsalsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa20_H 2 | #define crypto_core_salsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa20_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa20_outputbytes(void); 14 | 15 | #define crypto_core_salsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa20_inputbytes(void); 18 | 19 | #define crypto_core_salsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa20_keybytes(void); 22 | 23 | #define crypto_core_salsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa2012_H 2 | #define crypto_core_salsa2012_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa2012_outputbytes(void); 14 | 15 | #define crypto_core_salsa2012_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa2012_inputbytes(void); 18 | 19 | #define crypto_core_salsa2012_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa2012_keybytes(void); 22 | 23 | #define crypto_core_salsa2012_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa2012_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa208_H 2 | #define crypto_core_salsa208_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa208_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa208_outputbytes(void); 14 | 15 | #define crypto_core_salsa208_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa208_inputbytes(void); 18 | 19 | #define crypto_core_salsa208_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa208_keybytes(void); 22 | 23 | #define crypto_core_salsa208_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa208_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa208(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_hash_H 2 | #define crypto_hash_H 3 | 4 | /* 5 | * WARNING: Unless you absolutely need to use SHA512 for interoperatibility, 6 | * purposes, you might want to consider crypto_generichash() instead. 7 | * Unlike SHA512, crypto_generichash() is not vulnerable to length 8 | * extension attacks. 9 | */ 10 | 11 | #include 12 | 13 | #include "crypto_hash_sha512.h" 14 | #include "export.h" 15 | 16 | #ifdef __cplusplus 17 | # ifdef __GNUC__ 18 | # pragma GCC diagnostic ignored "-Wlong-long" 19 | # endif 20 | extern "C" { 21 | #endif 22 | 23 | #define crypto_hash_BYTES crypto_hash_sha512_BYTES 24 | SODIUM_EXPORT 25 | size_t crypto_hash_bytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_hash(unsigned char *out, const unsigned char *in, 29 | unsigned long long inlen); 30 | 31 | #define crypto_hash_PRIMITIVE "sha512" 32 | SODIUM_EXPORT 33 | const char *crypto_hash_primitive(void) 34 | __attribute__ ((warn_unused_result)); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int32_H 2 | #define crypto_int32_H 3 | 4 | #include 5 | 6 | typedef int32_t crypto_int32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int64_H 2 | #define crypto_int64_H 3 | 4 | #include 5 | 6 | typedef int64_t crypto_int64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_H 2 | #define crypto_scalarmult_H 3 | 4 | #include 5 | 6 | #include "crypto_scalarmult_curve25519.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES 14 | SODIUM_EXPORT 15 | size_t crypto_scalarmult_bytes(void); 16 | 17 | #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES 18 | SODIUM_EXPORT 19 | size_t crypto_scalarmult_scalarbytes(void); 20 | 21 | #define crypto_scalarmult_PRIMITIVE "curve25519" 22 | SODIUM_EXPORT 23 | const char *crypto_scalarmult_primitive(void); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_base(unsigned char *q, const unsigned char *n); 27 | 28 | SODIUM_EXPORT 29 | int crypto_scalarmult(unsigned char *q, const unsigned char *n, 30 | const unsigned char *p) 31 | __attribute__ ((warn_unused_result)); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_curve25519_H 2 | #define crypto_scalarmult_curve25519_H 3 | 4 | #include 5 | 6 | #include "export.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | #define crypto_scalarmult_curve25519_BYTES 32U 13 | SODIUM_EXPORT 14 | size_t crypto_scalarmult_curve25519_bytes(void); 15 | 16 | #define crypto_scalarmult_curve25519_SCALARBYTES 32U 17 | SODIUM_EXPORT 18 | size_t crypto_scalarmult_curve25519_scalarbytes(void); 19 | 20 | SODIUM_EXPORT 21 | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, 22 | const unsigned char *p) 23 | __attribute__ ((warn_unused_result)); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n); 27 | 28 | /* ------------------------------------------------------------------------- */ 29 | 30 | int _crypto_scalarmult_curve25519_pick_best_implementation(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_H 2 | #define crypto_shorthash_H 3 | 4 | #include 5 | 6 | #include "crypto_shorthash_siphash24.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # ifdef __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_shorthash_bytes(void); 19 | 20 | #define crypto_shorthash_KEYBYTES crypto_shorthash_siphash24_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_shorthash_keybytes(void); 23 | 24 | #define crypto_shorthash_PRIMITIVE "siphash24" 25 | SODIUM_EXPORT 26 | const char *crypto_shorthash_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_shorthash(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_siphash24_H 2 | #define crypto_shorthash_siphash24_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | # ifdef __GNUC__ 9 | # pragma GCC diagnostic ignored "-Wlong-long" 10 | # endif 11 | extern "C" { 12 | #endif 13 | 14 | #define crypto_shorthash_siphash24_BYTES 8U 15 | SODIUM_EXPORT 16 | size_t crypto_shorthash_siphash24_bytes(void); 17 | 18 | #define crypto_shorthash_siphash24_KEYBYTES 16U 19 | SODIUM_EXPORT 20 | size_t crypto_shorthash_siphash24_keybytes(void); 21 | 22 | SODIUM_EXPORT 23 | int crypto_shorthash_siphash24(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa2012_H 2 | #define crypto_stream_salsa2012_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # ifdef __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa2012_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa2012_keybytes(void); 25 | 26 | #define crypto_stream_salsa2012_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa2012_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa2012(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa2012_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa208_H 2 | #define crypto_stream_salsa208_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # ifdef __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa208_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa208_keybytes(void); 25 | 26 | #define crypto_stream_salsa208_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa208_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa208(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint16_H 2 | #define crypto_uint16_H 3 | 4 | #include 5 | 6 | typedef uint16_t crypto_uint16; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint32_H 2 | #define crypto_uint32_H 3 | 4 | #include 5 | 6 | typedef uint32_t crypto_uint32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint64_H 2 | #define crypto_uint64_H 3 | 4 | #include 5 | 6 | typedef uint64_t crypto_uint64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint8_H 2 | #define crypto_uint8_H 3 | 4 | #include 5 | 6 | typedef uint8_t crypto_uint8; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/export.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_export_H 3 | #define sodium_export_H 4 | 5 | #ifndef __GNUC__ 6 | # ifdef __attribute__ 7 | # undef __attribute__ 8 | # endif 9 | # define __attribute__(a) 10 | #endif 11 | 12 | #ifdef SODIUM_STATIC 13 | # define SODIUM_EXPORT 14 | #else 15 | # if defined(_MSC_VER) 16 | # ifdef SODIUM_DLL_EXPORT 17 | # define SODIUM_EXPORT __declspec(dllexport) 18 | # else 19 | # define SODIUM_EXPORT __declspec(dllimport) 20 | # endif 21 | # else 22 | # if defined(__SUNPRO_C) 23 | # ifndef __GNU_C__ 24 | # define SODIUM_EXPORT __attribute__ (visibility(__global)) 25 | # else 26 | # define SODIUM_EXPORT __attribute__ __global 27 | # endif 28 | # elif defined(_MSG_VER) 29 | # define SODIUM_EXPORT extern __declspec(dllexport) 30 | # else 31 | # define SODIUM_EXPORT __attribute__ ((visibility ("default"))) 32 | # endif 33 | # endif 34 | #endif 35 | 36 | #ifndef CRYPTO_ALIGN 37 | # if defined(__INTEL_COMPILER) || defined(_MSC_VER) 38 | # define CRYPTO_ALIGN(x) __declspec(align(x)) 39 | # else 40 | # define CRYPTO_ALIGN(x) __attribute__ ((aligned(x))) 41 | # endif 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_salsa20_random_H 3 | #define randombytes_salsa20_random_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_salsa20_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_sysrandom_H 3 | #define randombytes_sysrandom_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_sysrandom_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_has_neon(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_sse2(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse3(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_ssse3(void); 22 | 23 | SODIUM_EXPORT 24 | int sodium_runtime_has_sse41(void); 25 | 26 | SODIUM_EXPORT 27 | int sodium_runtime_has_avx(void); 28 | 29 | SODIUM_EXPORT 30 | int sodium_runtime_has_avx2(void); 31 | 32 | SODIUM_EXPORT 33 | int sodium_runtime_has_pclmul(void); 34 | 35 | SODIUM_EXPORT 36 | int sodium_runtime_has_aesni(void); 37 | 38 | /* ------------------------------------------------------------------------- */ 39 | 40 | int _sodium_runtime_get_cpu_features(void); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARM64/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "1.0.11" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR 9 10 | #define SODIUM_LIBRARY_VERSION_MINOR 3 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/curl/types.h: -------------------------------------------------------------------------------- 1 | /* not used */ 2 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_WHRLPOOL_H 2 | # define HEADER_WHRLPOOL_H 3 | 4 | # include 5 | # include 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | # define WHIRLPOOL_DIGEST_LENGTH (512/8) 12 | # define WHIRLPOOL_BBLOCK 512 13 | # define WHIRLPOOL_COUNTER (256/8) 14 | 15 | typedef struct { 16 | union { 17 | unsigned char c[WHIRLPOOL_DIGEST_LENGTH]; 18 | /* double q is here to ensure 64-bit alignment */ 19 | double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)]; 20 | } H; 21 | unsigned char data[WHIRLPOOL_BBLOCK / 8]; 22 | unsigned int bitoff; 23 | size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; 24 | } WHIRLPOOL_CTX; 25 | 26 | # ifndef OPENSSL_NO_WHIRLPOOL 27 | # ifdef OPENSSL_FIPS 28 | int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 29 | # endif 30 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 31 | int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes); 32 | void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits); 33 | int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c); 34 | unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md); 35 | # endif 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void) 13 | __attribute__ ((warn_unused_result)); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_auth_H 2 | #define crypto_auth_H 3 | 4 | #include 5 | 6 | #include "crypto_auth_hmacsha512256.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_auth_bytes(void); 19 | 20 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_auth_keybytes(void); 23 | 24 | #define crypto_auth_PRIMITIVE "hmacsha512256" 25 | SODIUM_EXPORT 26 | const char *crypto_auth_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_auth(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | SODIUM_EXPORT 33 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 34 | unsigned long long inlen, const unsigned char *k) 35 | __attribute__ ((warn_unused_result)); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_core_hchacha20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hchacha20_H 2 | #define crypto_core_hchacha20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hchacha20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hchacha20_outputbytes(void); 14 | 15 | #define crypto_core_hchacha20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hchacha20_inputbytes(void); 18 | 19 | #define crypto_core_hchacha20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hchacha20_keybytes(void); 22 | 23 | #define crypto_core_hchacha20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hchacha20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hchacha20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hsalsa20_H 2 | #define crypto_core_hsalsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hsalsa20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hsalsa20_outputbytes(void); 14 | 15 | #define crypto_core_hsalsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hsalsa20_inputbytes(void); 18 | 19 | #define crypto_core_hsalsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hsalsa20_keybytes(void); 22 | 23 | #define crypto_core_hsalsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hsalsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hsalsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa20_H 2 | #define crypto_core_salsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa20_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa20_outputbytes(void); 14 | 15 | #define crypto_core_salsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa20_inputbytes(void); 18 | 19 | #define crypto_core_salsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa20_keybytes(void); 22 | 23 | #define crypto_core_salsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa2012_H 2 | #define crypto_core_salsa2012_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa2012_outputbytes(void); 14 | 15 | #define crypto_core_salsa2012_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa2012_inputbytes(void); 18 | 19 | #define crypto_core_salsa2012_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa2012_keybytes(void); 22 | 23 | #define crypto_core_salsa2012_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa2012_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa208_H 2 | #define crypto_core_salsa208_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa208_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa208_outputbytes(void); 14 | 15 | #define crypto_core_salsa208_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa208_inputbytes(void); 18 | 19 | #define crypto_core_salsa208_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa208_keybytes(void); 22 | 23 | #define crypto_core_salsa208_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa208_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa208(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_hash_H 2 | #define crypto_hash_H 3 | 4 | /* 5 | * WARNING: Unless you absolutely need to use SHA512 for interoperatibility, 6 | * purposes, you might want to consider crypto_generichash() instead. 7 | * Unlike SHA512, crypto_generichash() is not vulnerable to length 8 | * extension attacks. 9 | */ 10 | 11 | #include 12 | 13 | #include "crypto_hash_sha512.h" 14 | #include "export.h" 15 | 16 | #ifdef __cplusplus 17 | # if __GNUC__ 18 | # pragma GCC diagnostic ignored "-Wlong-long" 19 | # endif 20 | extern "C" { 21 | #endif 22 | 23 | #define crypto_hash_BYTES crypto_hash_sha512_BYTES 24 | SODIUM_EXPORT 25 | size_t crypto_hash_bytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_hash(unsigned char *out, const unsigned char *in, 29 | unsigned long long inlen); 30 | 31 | #define crypto_hash_PRIMITIVE "sha512" 32 | SODIUM_EXPORT 33 | const char *crypto_hash_primitive(void) 34 | __attribute__ ((warn_unused_result)); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int32_H 2 | #define crypto_int32_H 3 | 4 | #include 5 | 6 | typedef int32_t crypto_int32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int64_H 2 | #define crypto_int64_H 3 | 4 | #include 5 | 6 | typedef int64_t crypto_int64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_H 2 | #define crypto_scalarmult_H 3 | 4 | #include 5 | 6 | #include "crypto_scalarmult_curve25519.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES 14 | SODIUM_EXPORT 15 | size_t crypto_scalarmult_bytes(void); 16 | 17 | #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES 18 | SODIUM_EXPORT 19 | size_t crypto_scalarmult_scalarbytes(void); 20 | 21 | #define crypto_scalarmult_PRIMITIVE "curve25519" 22 | SODIUM_EXPORT 23 | const char *crypto_scalarmult_primitive(void); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_base(unsigned char *q, const unsigned char *n); 27 | 28 | SODIUM_EXPORT 29 | int crypto_scalarmult(unsigned char *q, const unsigned char *n, 30 | const unsigned char *p) 31 | __attribute__ ((warn_unused_result)); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_curve25519_H 2 | #define crypto_scalarmult_curve25519_H 3 | 4 | #include 5 | 6 | #include "export.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | #define crypto_scalarmult_curve25519_BYTES 32U 13 | SODIUM_EXPORT 14 | size_t crypto_scalarmult_curve25519_bytes(void); 15 | 16 | #define crypto_scalarmult_curve25519_SCALARBYTES 32U 17 | SODIUM_EXPORT 18 | size_t crypto_scalarmult_curve25519_scalarbytes(void); 19 | 20 | SODIUM_EXPORT 21 | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, 22 | const unsigned char *p) 23 | __attribute__ ((warn_unused_result)); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n); 27 | 28 | /* ------------------------------------------------------------------------- */ 29 | 30 | int _crypto_scalarmult_curve25519_pick_best_implementation(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_H 2 | #define crypto_shorthash_H 3 | 4 | #include 5 | 6 | #include "crypto_shorthash_siphash24.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_shorthash_bytes(void); 19 | 20 | #define crypto_shorthash_KEYBYTES crypto_shorthash_siphash24_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_shorthash_keybytes(void); 23 | 24 | #define crypto_shorthash_PRIMITIVE "siphash24" 25 | SODIUM_EXPORT 26 | const char *crypto_shorthash_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_shorthash(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_siphash24_H 2 | #define crypto_shorthash_siphash24_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | # if __GNUC__ 9 | # pragma GCC diagnostic ignored "-Wlong-long" 10 | # endif 11 | extern "C" { 12 | #endif 13 | 14 | #define crypto_shorthash_siphash24_BYTES 8U 15 | SODIUM_EXPORT 16 | size_t crypto_shorthash_siphash24_bytes(void); 17 | 18 | #define crypto_shorthash_siphash24_KEYBYTES 16U 19 | SODIUM_EXPORT 20 | size_t crypto_shorthash_siphash24_keybytes(void); 21 | 22 | SODIUM_EXPORT 23 | int crypto_shorthash_siphash24(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa2012_H 2 | #define crypto_stream_salsa2012_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa2012_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa2012_keybytes(void); 25 | 26 | #define crypto_stream_salsa2012_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa2012_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa2012(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa2012_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa208_H 2 | #define crypto_stream_salsa208_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa208_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa208_keybytes(void); 25 | 26 | #define crypto_stream_salsa208_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa208_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa208(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint16_H 2 | #define crypto_uint16_H 3 | 4 | #include 5 | 6 | typedef uint16_t crypto_uint16; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint32_H 2 | #define crypto_uint32_H 3 | 4 | #include 5 | 6 | typedef uint32_t crypto_uint32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint64_H 2 | #define crypto_uint64_H 3 | 4 | #include 5 | 6 | typedef uint64_t crypto_uint64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint8_H 2 | #define crypto_uint8_H 3 | 4 | #include 5 | 6 | typedef uint8_t crypto_uint8; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/export.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_export_H 3 | #define sodium_export_H 4 | 5 | #ifndef __GNUC__ 6 | # ifdef __attribute__ 7 | # undef __attribute__ 8 | # endif 9 | # define __attribute__(a) 10 | #endif 11 | 12 | #ifdef SODIUM_STATIC 13 | # define SODIUM_EXPORT 14 | #else 15 | # if defined(_MSC_VER) 16 | # ifdef SODIUM_DLL_EXPORT 17 | # define SODIUM_EXPORT __declspec(dllexport) 18 | # else 19 | # define SODIUM_EXPORT __declspec(dllimport) 20 | # endif 21 | # else 22 | # if defined(__SUNPRO_C) 23 | # ifndef __GNU_C__ 24 | # define SODIUM_EXPORT __attribute__ (visibility(__global)) 25 | # else 26 | # define SODIUM_EXPORT __attribute__ __global 27 | # endif 28 | # elif defined(_MSG_VER) 29 | # define SODIUM_EXPORT extern __declspec(dllexport) 30 | # else 31 | # define SODIUM_EXPORT __attribute__ ((visibility ("default"))) 32 | # endif 33 | # endif 34 | #endif 35 | 36 | #ifndef CRYPTO_ALIGN 37 | # if defined(__INTEL_COMPILER) || defined(_MSC_VER) 38 | # define CRYPTO_ALIGN(x) __declspec(align(x)) 39 | # else 40 | # define CRYPTO_ALIGN(x) __attribute__ ((aligned(x))) 41 | # endif 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_salsa20_random_H 3 | #define randombytes_salsa20_random_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_salsa20_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_sysrandom_H 3 | #define randombytes_sysrandom_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_sysrandom_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_has_neon(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_sse2(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse3(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_ssse3(void); 22 | 23 | SODIUM_EXPORT 24 | int sodium_runtime_has_sse41(void); 25 | 26 | SODIUM_EXPORT 27 | int sodium_runtime_has_avx(void); 28 | 29 | SODIUM_EXPORT 30 | int sodium_runtime_has_avx2(void); 31 | 32 | SODIUM_EXPORT 33 | int sodium_runtime_has_pclmul(void); 34 | 35 | SODIUM_EXPORT 36 | int sodium_runtime_has_aesni(void); 37 | 38 | /* ------------------------------------------------------------------------- */ 39 | 40 | int _sodium_runtime_get_cpu_features(void); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Android/ARMv7/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "1.0.10" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR 9 10 | #define SODIUM_LIBRARY_VERSION_MINOR 2 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/curl/curlbuild.h: -------------------------------------------------------------------------------- 1 | #if defined(__LP64__) && __LP64__ 2 | #include"curlbuild-64.h" 3 | #else 4 | #include"curlbuild-32.h" 5 | #endif 6 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/curl/stdcheaders.h: -------------------------------------------------------------------------------- 1 | #ifndef __STDC_HEADERS_H 2 | #define __STDC_HEADERS_H 3 | /*************************************************************************** 4 | * _ _ ____ _ 5 | * Project ___| | | | _ \| | 6 | * / __| | | | |_) | | 7 | * | (__| |_| | _ <| |___ 8 | * \___|\___/|_| \_\_____| 9 | * 10 | * Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. 11 | * 12 | * This software is licensed as described in the file COPYING, which 13 | * you should have received as part of this distribution. The terms 14 | * are also available at https://curl.haxx.se/docs/copyright.html. 15 | * 16 | * You may opt to use, copy, modify, merge, publish, distribute and/or sell 17 | * copies of the Software, and permit persons to whom the Software is 18 | * furnished to do so, under the terms of the COPYING file. 19 | * 20 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 | * KIND, either express or implied. 22 | * 23 | ***************************************************************************/ 24 | 25 | #include 26 | 27 | size_t fread (void *, size_t, size_t, FILE *); 28 | size_t fwrite (const void *, size_t, size_t, FILE *); 29 | 30 | int strcasecmp(const char *, const char *); 31 | int strncasecmp(const char *, const char *, size_t); 32 | 33 | #endif /* __STDC_HEADERS_H */ 34 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_WHRLPOOL_H 2 | # define HEADER_WHRLPOOL_H 3 | 4 | # include 5 | # include 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | # define WHIRLPOOL_DIGEST_LENGTH (512/8) 12 | # define WHIRLPOOL_BBLOCK 512 13 | # define WHIRLPOOL_COUNTER (256/8) 14 | 15 | typedef struct { 16 | union { 17 | unsigned char c[WHIRLPOOL_DIGEST_LENGTH]; 18 | /* double q is here to ensure 64-bit alignment */ 19 | double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)]; 20 | } H; 21 | unsigned char data[WHIRLPOOL_BBLOCK / 8]; 22 | unsigned int bitoff; 23 | size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; 24 | } WHIRLPOOL_CTX; 25 | 26 | # ifndef OPENSSL_NO_WHIRLPOOL 27 | # ifdef OPENSSL_FIPS 28 | int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 29 | # endif 30 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 31 | int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes); 32 | void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits); 33 | int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c); 34 | unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md); 35 | # endif 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void) 13 | __attribute__ ((warn_unused_result)); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_auth_H 2 | #define crypto_auth_H 3 | 4 | #include 5 | 6 | #include "crypto_auth_hmacsha512256.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_auth_bytes(void); 19 | 20 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_auth_keybytes(void); 23 | 24 | #define crypto_auth_PRIMITIVE "hmacsha512256" 25 | SODIUM_EXPORT 26 | const char *crypto_auth_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_auth(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | SODIUM_EXPORT 33 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 34 | unsigned long long inlen, const unsigned char *k) 35 | __attribute__ ((warn_unused_result)); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_core_hchacha20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hchacha20_H 2 | #define crypto_core_hchacha20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hchacha20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hchacha20_outputbytes(void); 14 | 15 | #define crypto_core_hchacha20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hchacha20_inputbytes(void); 18 | 19 | #define crypto_core_hchacha20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hchacha20_keybytes(void); 22 | 23 | #define crypto_core_hchacha20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hchacha20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hchacha20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hsalsa20_H 2 | #define crypto_core_hsalsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hsalsa20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hsalsa20_outputbytes(void); 14 | 15 | #define crypto_core_hsalsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hsalsa20_inputbytes(void); 18 | 19 | #define crypto_core_hsalsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hsalsa20_keybytes(void); 22 | 23 | #define crypto_core_hsalsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hsalsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hsalsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa20_H 2 | #define crypto_core_salsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa20_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa20_outputbytes(void); 14 | 15 | #define crypto_core_salsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa20_inputbytes(void); 18 | 19 | #define crypto_core_salsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa20_keybytes(void); 22 | 23 | #define crypto_core_salsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa2012_H 2 | #define crypto_core_salsa2012_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa2012_outputbytes(void); 14 | 15 | #define crypto_core_salsa2012_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa2012_inputbytes(void); 18 | 19 | #define crypto_core_salsa2012_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa2012_keybytes(void); 22 | 23 | #define crypto_core_salsa2012_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa2012_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa208_H 2 | #define crypto_core_salsa208_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa208_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa208_outputbytes(void); 14 | 15 | #define crypto_core_salsa208_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa208_inputbytes(void); 18 | 19 | #define crypto_core_salsa208_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa208_keybytes(void); 22 | 23 | #define crypto_core_salsa208_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa208_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa208(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_hash_H 2 | #define crypto_hash_H 3 | 4 | /* 5 | * WARNING: Unless you absolutely need to use SHA512 for interoperatibility, 6 | * purposes, you might want to consider crypto_generichash() instead. 7 | * Unlike SHA512, crypto_generichash() is not vulnerable to length 8 | * extension attacks. 9 | */ 10 | 11 | #include 12 | 13 | #include "crypto_hash_sha512.h" 14 | #include "export.h" 15 | 16 | #ifdef __cplusplus 17 | # if __GNUC__ 18 | # pragma GCC diagnostic ignored "-Wlong-long" 19 | # endif 20 | extern "C" { 21 | #endif 22 | 23 | #define crypto_hash_BYTES crypto_hash_sha512_BYTES 24 | SODIUM_EXPORT 25 | size_t crypto_hash_bytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_hash(unsigned char *out, const unsigned char *in, 29 | unsigned long long inlen); 30 | 31 | #define crypto_hash_PRIMITIVE "sha512" 32 | SODIUM_EXPORT 33 | const char *crypto_hash_primitive(void) 34 | __attribute__ ((warn_unused_result)); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int32_H 2 | #define crypto_int32_H 3 | 4 | #include 5 | 6 | typedef int32_t crypto_int32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int64_H 2 | #define crypto_int64_H 3 | 4 | #include 5 | 6 | typedef int64_t crypto_int64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_H 2 | #define crypto_scalarmult_H 3 | 4 | #include 5 | 6 | #include "crypto_scalarmult_curve25519.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES 14 | SODIUM_EXPORT 15 | size_t crypto_scalarmult_bytes(void); 16 | 17 | #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES 18 | SODIUM_EXPORT 19 | size_t crypto_scalarmult_scalarbytes(void); 20 | 21 | #define crypto_scalarmult_PRIMITIVE "curve25519" 22 | SODIUM_EXPORT 23 | const char *crypto_scalarmult_primitive(void); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_base(unsigned char *q, const unsigned char *n); 27 | 28 | SODIUM_EXPORT 29 | int crypto_scalarmult(unsigned char *q, const unsigned char *n, 30 | const unsigned char *p) 31 | __attribute__ ((warn_unused_result)); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_curve25519_H 2 | #define crypto_scalarmult_curve25519_H 3 | 4 | #include 5 | 6 | #include "export.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | #define crypto_scalarmult_curve25519_BYTES 32U 13 | SODIUM_EXPORT 14 | size_t crypto_scalarmult_curve25519_bytes(void); 15 | 16 | #define crypto_scalarmult_curve25519_SCALARBYTES 32U 17 | SODIUM_EXPORT 18 | size_t crypto_scalarmult_curve25519_scalarbytes(void); 19 | 20 | SODIUM_EXPORT 21 | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, 22 | const unsigned char *p) 23 | __attribute__ ((warn_unused_result)); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n); 27 | 28 | /* ------------------------------------------------------------------------- */ 29 | 30 | int _crypto_scalarmult_curve25519_pick_best_implementation(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_H 2 | #define crypto_shorthash_H 3 | 4 | #include 5 | 6 | #include "crypto_shorthash_siphash24.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_shorthash_bytes(void); 19 | 20 | #define crypto_shorthash_KEYBYTES crypto_shorthash_siphash24_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_shorthash_keybytes(void); 23 | 24 | #define crypto_shorthash_PRIMITIVE "siphash24" 25 | SODIUM_EXPORT 26 | const char *crypto_shorthash_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_shorthash(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_siphash24_H 2 | #define crypto_shorthash_siphash24_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | # if __GNUC__ 9 | # pragma GCC diagnostic ignored "-Wlong-long" 10 | # endif 11 | extern "C" { 12 | #endif 13 | 14 | #define crypto_shorthash_siphash24_BYTES 8U 15 | SODIUM_EXPORT 16 | size_t crypto_shorthash_siphash24_bytes(void); 17 | 18 | #define crypto_shorthash_siphash24_KEYBYTES 16U 19 | SODIUM_EXPORT 20 | size_t crypto_shorthash_siphash24_keybytes(void); 21 | 22 | SODIUM_EXPORT 23 | int crypto_shorthash_siphash24(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa2012_H 2 | #define crypto_stream_salsa2012_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa2012_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa2012_keybytes(void); 25 | 26 | #define crypto_stream_salsa2012_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa2012_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa2012(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa2012_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa208_H 2 | #define crypto_stream_salsa208_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa208_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa208_keybytes(void); 25 | 26 | #define crypto_stream_salsa208_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa208_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa208(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint16_H 2 | #define crypto_uint16_H 3 | 4 | #include 5 | 6 | typedef uint16_t crypto_uint16; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint32_H 2 | #define crypto_uint32_H 3 | 4 | #include 5 | 6 | typedef uint32_t crypto_uint32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint64_H 2 | #define crypto_uint64_H 3 | 4 | #include 5 | 6 | typedef uint64_t crypto_uint64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint8_H 2 | #define crypto_uint8_H 3 | 4 | #include 5 | 6 | typedef uint8_t crypto_uint8; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/export.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_export_H 3 | #define sodium_export_H 4 | 5 | #ifndef __GNUC__ 6 | # ifdef __attribute__ 7 | # undef __attribute__ 8 | # endif 9 | # define __attribute__(a) 10 | #endif 11 | 12 | #ifdef SODIUM_STATIC 13 | # define SODIUM_EXPORT 14 | #else 15 | # if defined(_MSC_VER) 16 | # ifdef SODIUM_DLL_EXPORT 17 | # define SODIUM_EXPORT __declspec(dllexport) 18 | # else 19 | # define SODIUM_EXPORT __declspec(dllimport) 20 | # endif 21 | # else 22 | # if defined(__SUNPRO_C) 23 | # ifndef __GNU_C__ 24 | # define SODIUM_EXPORT __attribute__ (visibility(__global)) 25 | # else 26 | # define SODIUM_EXPORT __attribute__ __global 27 | # endif 28 | # elif defined(_MSG_VER) 29 | # define SODIUM_EXPORT extern __declspec(dllexport) 30 | # else 31 | # define SODIUM_EXPORT __attribute__ ((visibility ("default"))) 32 | # endif 33 | # endif 34 | #endif 35 | 36 | #ifndef CRYPTO_ALIGN 37 | # if defined(__INTEL_COMPILER) || defined(_MSC_VER) 38 | # define CRYPTO_ALIGN(x) __declspec(align(x)) 39 | # else 40 | # define CRYPTO_ALIGN(x) __attribute__ ((aligned(x))) 41 | # endif 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_salsa20_random_H 3 | #define randombytes_salsa20_random_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_salsa20_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_sysrandom_H 3 | #define randombytes_sysrandom_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_sysrandom_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_has_neon(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_sse2(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse3(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_ssse3(void); 22 | 23 | SODIUM_EXPORT 24 | int sodium_runtime_has_sse41(void); 25 | 26 | SODIUM_EXPORT 27 | int sodium_runtime_has_avx(void); 28 | 29 | SODIUM_EXPORT 30 | int sodium_runtime_has_avx2(void); 31 | 32 | SODIUM_EXPORT 33 | int sodium_runtime_has_pclmul(void); 34 | 35 | SODIUM_EXPORT 36 | int sodium_runtime_has_aesni(void); 37 | 38 | /* ------------------------------------------------------------------------- */ 39 | 40 | int _sodium_runtime_get_cpu_features(void); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Mac/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "1.0.10" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR 9 10 | #define SODIUM_LIBRARY_VERSION_MINOR 2 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_WHRLPOOL_H 2 | # define HEADER_WHRLPOOL_H 3 | 4 | # include 5 | # include 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | # define WHIRLPOOL_DIGEST_LENGTH (512/8) 12 | # define WHIRLPOOL_BBLOCK 512 13 | # define WHIRLPOOL_COUNTER (256/8) 14 | 15 | typedef struct { 16 | union { 17 | unsigned char c[WHIRLPOOL_DIGEST_LENGTH]; 18 | /* double q is here to ensure 64-bit alignment */ 19 | double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)]; 20 | } H; 21 | unsigned char data[WHIRLPOOL_BBLOCK / 8]; 22 | unsigned int bitoff; 23 | size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; 24 | } WHIRLPOOL_CTX; 25 | 26 | # ifndef OPENSSL_NO_WHIRLPOOL 27 | # ifdef OPENSSL_FIPS 28 | int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 29 | # endif 30 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 31 | int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes); 32 | void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits); 33 | int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c); 34 | unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md); 35 | # endif 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void) 13 | __attribute__ ((warn_unused_result)); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_auth_H 2 | #define crypto_auth_H 3 | 4 | #include 5 | 6 | #include "crypto_auth_hmacsha512256.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if defined(__GNUC__) 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_auth_bytes(void); 19 | 20 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_auth_keybytes(void); 23 | 24 | #define crypto_auth_PRIMITIVE "hmacsha512256" 25 | SODIUM_EXPORT 26 | const char *crypto_auth_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_auth(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | SODIUM_EXPORT 33 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 34 | unsigned long long inlen, const unsigned char *k) 35 | __attribute__ ((warn_unused_result)); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_core_hchacha20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hchacha20_H 2 | #define crypto_core_hchacha20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hchacha20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hchacha20_outputbytes(void); 14 | 15 | #define crypto_core_hchacha20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hchacha20_inputbytes(void); 18 | 19 | #define crypto_core_hchacha20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hchacha20_keybytes(void); 22 | 23 | #define crypto_core_hchacha20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hchacha20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hchacha20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hsalsa20_H 2 | #define crypto_core_hsalsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hsalsa20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hsalsa20_outputbytes(void); 14 | 15 | #define crypto_core_hsalsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hsalsa20_inputbytes(void); 18 | 19 | #define crypto_core_hsalsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hsalsa20_keybytes(void); 22 | 23 | #define crypto_core_hsalsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hsalsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hsalsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa20_H 2 | #define crypto_core_salsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa20_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa20_outputbytes(void); 14 | 15 | #define crypto_core_salsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa20_inputbytes(void); 18 | 19 | #define crypto_core_salsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa20_keybytes(void); 22 | 23 | #define crypto_core_salsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa2012_H 2 | #define crypto_core_salsa2012_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa2012_outputbytes(void); 14 | 15 | #define crypto_core_salsa2012_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa2012_inputbytes(void); 18 | 19 | #define crypto_core_salsa2012_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa2012_keybytes(void); 22 | 23 | #define crypto_core_salsa2012_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa2012_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa208_H 2 | #define crypto_core_salsa208_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa208_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa208_outputbytes(void); 14 | 15 | #define crypto_core_salsa208_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa208_inputbytes(void); 18 | 19 | #define crypto_core_salsa208_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa208_keybytes(void); 22 | 23 | #define crypto_core_salsa208_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa208_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa208(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_hash_H 2 | #define crypto_hash_H 3 | 4 | /* 5 | * WARNING: Unless you absolutely need to use SHA512 for interoperatibility, 6 | * purposes, you might want to consider crypto_generichash() instead. 7 | * Unlike SHA512, crypto_generichash() is not vulnerable to length 8 | * extension attacks. 9 | */ 10 | 11 | #include 12 | 13 | #include "crypto_hash_sha512.h" 14 | #include "export.h" 15 | 16 | #ifdef __cplusplus 17 | # if defined(__GNUC__) 18 | # pragma GCC diagnostic ignored "-Wlong-long" 19 | # endif 20 | extern "C" { 21 | #endif 22 | 23 | #define crypto_hash_BYTES crypto_hash_sha512_BYTES 24 | SODIUM_EXPORT 25 | size_t crypto_hash_bytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_hash(unsigned char *out, const unsigned char *in, 29 | unsigned long long inlen); 30 | 31 | #define crypto_hash_PRIMITIVE "sha512" 32 | SODIUM_EXPORT 33 | const char *crypto_hash_primitive(void) 34 | __attribute__ ((warn_unused_result)); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int32_H 2 | #define crypto_int32_H 3 | 4 | #include 5 | 6 | typedef int32_t crypto_int32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int64_H 2 | #define crypto_int64_H 3 | 4 | #include 5 | 6 | typedef int64_t crypto_int64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_H 2 | #define crypto_scalarmult_H 3 | 4 | #include 5 | 6 | #include "crypto_scalarmult_curve25519.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES 14 | SODIUM_EXPORT 15 | size_t crypto_scalarmult_bytes(void); 16 | 17 | #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES 18 | SODIUM_EXPORT 19 | size_t crypto_scalarmult_scalarbytes(void); 20 | 21 | #define crypto_scalarmult_PRIMITIVE "curve25519" 22 | SODIUM_EXPORT 23 | const char *crypto_scalarmult_primitive(void); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_base(unsigned char *q, const unsigned char *n); 27 | 28 | SODIUM_EXPORT 29 | int crypto_scalarmult(unsigned char *q, const unsigned char *n, 30 | const unsigned char *p) 31 | __attribute__ ((warn_unused_result)); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_curve25519_H 2 | #define crypto_scalarmult_curve25519_H 3 | 4 | #include 5 | 6 | #include "export.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | #define crypto_scalarmult_curve25519_BYTES 32U 13 | SODIUM_EXPORT 14 | size_t crypto_scalarmult_curve25519_bytes(void); 15 | 16 | #define crypto_scalarmult_curve25519_SCALARBYTES 32U 17 | SODIUM_EXPORT 18 | size_t crypto_scalarmult_curve25519_scalarbytes(void); 19 | 20 | SODIUM_EXPORT 21 | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, 22 | const unsigned char *p) 23 | __attribute__ ((warn_unused_result)); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n); 27 | 28 | /* ------------------------------------------------------------------------- */ 29 | 30 | int _crypto_scalarmult_curve25519_pick_best_implementation(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_H 2 | #define crypto_shorthash_H 3 | 4 | #include 5 | 6 | #include "crypto_shorthash_siphash24.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if defined(__GNUC__) 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_shorthash_bytes(void); 19 | 20 | #define crypto_shorthash_KEYBYTES crypto_shorthash_siphash24_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_shorthash_keybytes(void); 23 | 24 | #define crypto_shorthash_PRIMITIVE "siphash24" 25 | SODIUM_EXPORT 26 | const char *crypto_shorthash_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_shorthash(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_siphash24_H 2 | #define crypto_shorthash_siphash24_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | # if defined(__GNUC__) 9 | # pragma GCC diagnostic ignored "-Wlong-long" 10 | # endif 11 | extern "C" { 12 | #endif 13 | 14 | #define crypto_shorthash_siphash24_BYTES 8U 15 | SODIUM_EXPORT 16 | size_t crypto_shorthash_siphash24_bytes(void); 17 | 18 | #define crypto_shorthash_siphash24_KEYBYTES 16U 19 | SODIUM_EXPORT 20 | size_t crypto_shorthash_siphash24_keybytes(void); 21 | 22 | SODIUM_EXPORT 23 | int crypto_shorthash_siphash24(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa2012_H 2 | #define crypto_stream_salsa2012_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if defined(__GNUC__) 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa2012_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa2012_keybytes(void); 25 | 26 | #define crypto_stream_salsa2012_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa2012_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa2012(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa2012_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa208_H 2 | #define crypto_stream_salsa208_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if defined(__GNUC__) 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa208_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa208_keybytes(void); 25 | 26 | #define crypto_stream_salsa208_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa208_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa208(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint16_H 2 | #define crypto_uint16_H 3 | 4 | #include 5 | 6 | typedef uint16_t crypto_uint16; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint32_H 2 | #define crypto_uint32_H 3 | 4 | #include 5 | 6 | typedef uint32_t crypto_uint32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint64_H 2 | #define crypto_uint64_H 3 | 4 | #include 5 | 6 | typedef uint64_t crypto_uint64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint8_H 2 | #define crypto_uint8_H 3 | 4 | #include 5 | 6 | typedef uint8_t crypto_uint8; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/export.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_export_H 3 | #define sodium_export_H 4 | 5 | #ifndef __GNUC__ 6 | # ifdef __attribute__ 7 | # undef __attribute__ 8 | # endif 9 | # define __attribute__(a) 10 | #endif 11 | 12 | #ifdef SODIUM_STATIC 13 | # define SODIUM_EXPORT 14 | #else 15 | # if defined(_MSC_VER) 16 | # ifdef SODIUM_DLL_EXPORT 17 | # define SODIUM_EXPORT __declspec(dllexport) 18 | # else 19 | # define SODIUM_EXPORT __declspec(dllimport) 20 | # endif 21 | # else 22 | # if defined(__SUNPRO_C) 23 | # ifndef __GNU_C__ 24 | # define SODIUM_EXPORT __attribute__ (visibility(__global)) 25 | # else 26 | # define SODIUM_EXPORT __attribute__ __global 27 | # endif 28 | # elif defined(_MSG_VER) 29 | # define SODIUM_EXPORT extern __declspec(dllexport) 30 | # else 31 | # define SODIUM_EXPORT __attribute__ ((visibility ("default"))) 32 | # endif 33 | # endif 34 | #endif 35 | 36 | #ifndef CRYPTO_ALIGN 37 | # if defined(__INTEL_COMPILER) || defined(_MSC_VER) 38 | # define CRYPTO_ALIGN(x) __declspec(align(x)) 39 | # else 40 | # define CRYPTO_ALIGN(x) __attribute__ ((aligned(x))) 41 | # endif 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_salsa20_random_H 3 | #define randombytes_salsa20_random_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_salsa20_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_sysrandom_H 3 | #define randombytes_sysrandom_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_sysrandom_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_has_neon(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_sse2(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse3(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_ssse3(void); 22 | 23 | SODIUM_EXPORT 24 | int sodium_runtime_has_sse41(void); 25 | 26 | SODIUM_EXPORT 27 | int sodium_runtime_has_avx(void); 28 | 29 | SODIUM_EXPORT 30 | int sodium_runtime_has_avx2(void); 31 | 32 | SODIUM_EXPORT 33 | int sodium_runtime_has_pclmul(void); 34 | 35 | SODIUM_EXPORT 36 | int sodium_runtime_has_aesni(void); 37 | 38 | /* ------------------------------------------------------------------------- */ 39 | 40 | int _sodium_runtime_get_cpu_features(void); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x64/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "1.0.10" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR 9 10 | #define SODIUM_LIBRARY_VERSION_MINOR 2 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_WHRLPOOL_H 2 | # define HEADER_WHRLPOOL_H 3 | 4 | # include 5 | # include 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | # define WHIRLPOOL_DIGEST_LENGTH (512/8) 12 | # define WHIRLPOOL_BBLOCK 512 13 | # define WHIRLPOOL_COUNTER (256/8) 14 | 15 | typedef struct { 16 | union { 17 | unsigned char c[WHIRLPOOL_DIGEST_LENGTH]; 18 | /* double q is here to ensure 64-bit alignment */ 19 | double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)]; 20 | } H; 21 | unsigned char data[WHIRLPOOL_BBLOCK / 8]; 22 | unsigned int bitoff; 23 | size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; 24 | } WHIRLPOOL_CTX; 25 | 26 | # ifndef OPENSSL_NO_WHIRLPOOL 27 | # ifdef OPENSSL_FIPS 28 | int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 29 | # endif 30 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 31 | int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes); 32 | void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits); 33 | int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c); 34 | unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md); 35 | # endif 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void) 13 | __attribute__ ((warn_unused_result)); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_auth_H 2 | #define crypto_auth_H 3 | 4 | #include 5 | 6 | #include "crypto_auth_hmacsha512256.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_auth_bytes(void); 19 | 20 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_auth_keybytes(void); 23 | 24 | #define crypto_auth_PRIMITIVE "hmacsha512256" 25 | SODIUM_EXPORT 26 | const char *crypto_auth_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_auth(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | SODIUM_EXPORT 33 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 34 | unsigned long long inlen, const unsigned char *k) 35 | __attribute__ ((warn_unused_result)); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_core_hchacha20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hchacha20_H 2 | #define crypto_core_hchacha20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hchacha20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hchacha20_outputbytes(void); 14 | 15 | #define crypto_core_hchacha20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hchacha20_inputbytes(void); 18 | 19 | #define crypto_core_hchacha20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hchacha20_keybytes(void); 22 | 23 | #define crypto_core_hchacha20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hchacha20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hchacha20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hsalsa20_H 2 | #define crypto_core_hsalsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hsalsa20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hsalsa20_outputbytes(void); 14 | 15 | #define crypto_core_hsalsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hsalsa20_inputbytes(void); 18 | 19 | #define crypto_core_hsalsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hsalsa20_keybytes(void); 22 | 23 | #define crypto_core_hsalsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hsalsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hsalsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa20_H 2 | #define crypto_core_salsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa20_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa20_outputbytes(void); 14 | 15 | #define crypto_core_salsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa20_inputbytes(void); 18 | 19 | #define crypto_core_salsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa20_keybytes(void); 22 | 23 | #define crypto_core_salsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa2012_H 2 | #define crypto_core_salsa2012_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa2012_outputbytes(void); 14 | 15 | #define crypto_core_salsa2012_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa2012_inputbytes(void); 18 | 19 | #define crypto_core_salsa2012_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa2012_keybytes(void); 22 | 23 | #define crypto_core_salsa2012_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa2012_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa208_H 2 | #define crypto_core_salsa208_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa208_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa208_outputbytes(void); 14 | 15 | #define crypto_core_salsa208_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa208_inputbytes(void); 18 | 19 | #define crypto_core_salsa208_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa208_keybytes(void); 22 | 23 | #define crypto_core_salsa208_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa208_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa208(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_hash_H 2 | #define crypto_hash_H 3 | 4 | /* 5 | * WARNING: Unless you absolutely need to use SHA512 for interoperatibility, 6 | * purposes, you might want to consider crypto_generichash() instead. 7 | * Unlike SHA512, crypto_generichash() is not vulnerable to length 8 | * extension attacks. 9 | */ 10 | 11 | #include 12 | 13 | #include "crypto_hash_sha512.h" 14 | #include "export.h" 15 | 16 | #ifdef __cplusplus 17 | # if __GNUC__ 18 | # pragma GCC diagnostic ignored "-Wlong-long" 19 | # endif 20 | extern "C" { 21 | #endif 22 | 23 | #define crypto_hash_BYTES crypto_hash_sha512_BYTES 24 | SODIUM_EXPORT 25 | size_t crypto_hash_bytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_hash(unsigned char *out, const unsigned char *in, 29 | unsigned long long inlen); 30 | 31 | #define crypto_hash_PRIMITIVE "sha512" 32 | SODIUM_EXPORT 33 | const char *crypto_hash_primitive(void) 34 | __attribute__ ((warn_unused_result)); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int32_H 2 | #define crypto_int32_H 3 | 4 | #include 5 | 6 | typedef int32_t crypto_int32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int64_H 2 | #define crypto_int64_H 3 | 4 | #include 5 | 6 | typedef int64_t crypto_int64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_H 2 | #define crypto_scalarmult_H 3 | 4 | #include 5 | 6 | #include "crypto_scalarmult_curve25519.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES 14 | SODIUM_EXPORT 15 | size_t crypto_scalarmult_bytes(void); 16 | 17 | #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES 18 | SODIUM_EXPORT 19 | size_t crypto_scalarmult_scalarbytes(void); 20 | 21 | #define crypto_scalarmult_PRIMITIVE "curve25519" 22 | SODIUM_EXPORT 23 | const char *crypto_scalarmult_primitive(void); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_base(unsigned char *q, const unsigned char *n); 27 | 28 | SODIUM_EXPORT 29 | int crypto_scalarmult(unsigned char *q, const unsigned char *n, 30 | const unsigned char *p) 31 | __attribute__ ((warn_unused_result)); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_curve25519_H 2 | #define crypto_scalarmult_curve25519_H 3 | 4 | #include 5 | 6 | #include "export.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | #define crypto_scalarmult_curve25519_BYTES 32U 13 | SODIUM_EXPORT 14 | size_t crypto_scalarmult_curve25519_bytes(void); 15 | 16 | #define crypto_scalarmult_curve25519_SCALARBYTES 32U 17 | SODIUM_EXPORT 18 | size_t crypto_scalarmult_curve25519_scalarbytes(void); 19 | 20 | SODIUM_EXPORT 21 | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, 22 | const unsigned char *p) 23 | __attribute__ ((warn_unused_result)); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n); 27 | 28 | /* ------------------------------------------------------------------------- */ 29 | 30 | int _crypto_scalarmult_curve25519_pick_best_implementation(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_H 2 | #define crypto_shorthash_H 3 | 4 | #include 5 | 6 | #include "crypto_shorthash_siphash24.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_shorthash_bytes(void); 19 | 20 | #define crypto_shorthash_KEYBYTES crypto_shorthash_siphash24_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_shorthash_keybytes(void); 23 | 24 | #define crypto_shorthash_PRIMITIVE "siphash24" 25 | SODIUM_EXPORT 26 | const char *crypto_shorthash_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_shorthash(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_siphash24_H 2 | #define crypto_shorthash_siphash24_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | # if __GNUC__ 9 | # pragma GCC diagnostic ignored "-Wlong-long" 10 | # endif 11 | extern "C" { 12 | #endif 13 | 14 | #define crypto_shorthash_siphash24_BYTES 8U 15 | SODIUM_EXPORT 16 | size_t crypto_shorthash_siphash24_bytes(void); 17 | 18 | #define crypto_shorthash_siphash24_KEYBYTES 16U 19 | SODIUM_EXPORT 20 | size_t crypto_shorthash_siphash24_keybytes(void); 21 | 22 | SODIUM_EXPORT 23 | int crypto_shorthash_siphash24(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa2012_H 2 | #define crypto_stream_salsa2012_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa2012_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa2012_keybytes(void); 25 | 26 | #define crypto_stream_salsa2012_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa2012_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa2012(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa2012_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa208_H 2 | #define crypto_stream_salsa208_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa208_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa208_keybytes(void); 25 | 26 | #define crypto_stream_salsa208_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa208_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa208(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint16_H 2 | #define crypto_uint16_H 3 | 4 | #include 5 | 6 | typedef uint16_t crypto_uint16; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint32_H 2 | #define crypto_uint32_H 3 | 4 | #include 5 | 6 | typedef uint32_t crypto_uint32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint64_H 2 | #define crypto_uint64_H 3 | 4 | #include 5 | 6 | typedef uint64_t crypto_uint64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint8_H 2 | #define crypto_uint8_H 3 | 4 | #include 5 | 6 | typedef uint8_t crypto_uint8; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/export.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_export_H 3 | #define sodium_export_H 4 | 5 | #ifndef __GNUC__ 6 | # ifdef __attribute__ 7 | # undef __attribute__ 8 | # endif 9 | # define __attribute__(a) 10 | #endif 11 | 12 | #ifdef SODIUM_STATIC 13 | # define SODIUM_EXPORT 14 | #else 15 | # if defined(_MSC_VER) 16 | # ifdef SODIUM_DLL_EXPORT 17 | # define SODIUM_EXPORT __declspec(dllexport) 18 | # else 19 | # define SODIUM_EXPORT __declspec(dllimport) 20 | # endif 21 | # else 22 | # if defined(__SUNPRO_C) 23 | # ifndef __GNU_C__ 24 | # define SODIUM_EXPORT __attribute__ (visibility(__global)) 25 | # else 26 | # define SODIUM_EXPORT __attribute__ __global 27 | # endif 28 | # elif defined(_MSG_VER) 29 | # define SODIUM_EXPORT extern __declspec(dllexport) 30 | # else 31 | # define SODIUM_EXPORT __attribute__ ((visibility ("default"))) 32 | # endif 33 | # endif 34 | #endif 35 | 36 | #ifndef CRYPTO_ALIGN 37 | # if defined(__INTEL_COMPILER) || defined(_MSC_VER) 38 | # define CRYPTO_ALIGN(x) __declspec(align(x)) 39 | # else 40 | # define CRYPTO_ALIGN(x) __attribute__ ((aligned(x))) 41 | # endif 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_salsa20_random_H 3 | #define randombytes_salsa20_random_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_salsa20_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_sysrandom_H 3 | #define randombytes_sysrandom_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_sysrandom_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_has_neon(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_sse2(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse3(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_ssse3(void); 22 | 23 | SODIUM_EXPORT 24 | int sodium_runtime_has_sse41(void); 25 | 26 | SODIUM_EXPORT 27 | int sodium_runtime_has_avx(void); 28 | 29 | SODIUM_EXPORT 30 | int sodium_runtime_has_avx2(void); 31 | 32 | SODIUM_EXPORT 33 | int sodium_runtime_has_pclmul(void); 34 | 35 | SODIUM_EXPORT 36 | int sodium_runtime_has_aesni(void); 37 | 38 | /* ------------------------------------------------------------------------- */ 39 | 40 | int _sodium_runtime_get_cpu_features(void); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/Windows/x86/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "1.0.10" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR 9 10 | #define SODIUM_LIBRARY_VERSION_MINOR 2 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/curl_with_opensssl1.0.2/curl/curlbuild.h: -------------------------------------------------------------------------------- 1 | #if defined(__LP64__) && __LP64__ 2 | #include"curlbuild-64.h" 3 | #else 4 | #include"curlbuild-32.h" 5 | #endif 6 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_WHRLPOOL_H 2 | # define HEADER_WHRLPOOL_H 3 | 4 | # include 5 | # include 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | # define WHIRLPOOL_DIGEST_LENGTH (512/8) 12 | # define WHIRLPOOL_BBLOCK 512 13 | # define WHIRLPOOL_COUNTER (256/8) 14 | 15 | typedef struct { 16 | union { 17 | unsigned char c[WHIRLPOOL_DIGEST_LENGTH]; 18 | /* double q is here to ensure 64-bit alignment */ 19 | double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)]; 20 | } H; 21 | unsigned char data[WHIRLPOOL_BBLOCK / 8]; 22 | unsigned int bitoff; 23 | size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; 24 | } WHIRLPOOL_CTX; 25 | 26 | # ifndef OPENSSL_NO_WHIRLPOOL 27 | # ifdef OPENSSL_FIPS 28 | int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 29 | # endif 30 | int WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 31 | int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes); 32 | void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits); 33 | int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c); 34 | unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md); 35 | # endif 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/core.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_core_H 3 | #define sodium_core_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_init(void) 13 | __attribute__ ((warn_unused_result)); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_auth.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_auth_H 2 | #define crypto_auth_H 3 | 4 | #include 5 | 6 | #include "crypto_auth_hmacsha512256.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_auth_bytes(void); 19 | 20 | #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_auth_keybytes(void); 23 | 24 | #define crypto_auth_PRIMITIVE "hmacsha512256" 25 | SODIUM_EXPORT 26 | const char *crypto_auth_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_auth(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | SODIUM_EXPORT 33 | int crypto_auth_verify(const unsigned char *h, const unsigned char *in, 34 | unsigned long long inlen, const unsigned char *k) 35 | __attribute__ ((warn_unused_result)); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_core_hchacha20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hchacha20_H 2 | #define crypto_core_hchacha20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hchacha20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hchacha20_outputbytes(void); 14 | 15 | #define crypto_core_hchacha20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hchacha20_inputbytes(void); 18 | 19 | #define crypto_core_hchacha20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hchacha20_keybytes(void); 22 | 23 | #define crypto_core_hchacha20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hchacha20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hchacha20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_core_hsalsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_hsalsa20_H 2 | #define crypto_core_hsalsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_hsalsa20_OUTPUTBYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_core_hsalsa20_outputbytes(void); 14 | 15 | #define crypto_core_hsalsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_hsalsa20_inputbytes(void); 18 | 19 | #define crypto_core_hsalsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_hsalsa20_keybytes(void); 22 | 23 | #define crypto_core_hsalsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_hsalsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_hsalsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_core_salsa20.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa20_H 2 | #define crypto_core_salsa20_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa20_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa20_outputbytes(void); 14 | 15 | #define crypto_core_salsa20_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa20_inputbytes(void); 18 | 19 | #define crypto_core_salsa20_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa20_keybytes(void); 22 | 23 | #define crypto_core_salsa20_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa20_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa20(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_core_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa2012_H 2 | #define crypto_core_salsa2012_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa2012_outputbytes(void); 14 | 15 | #define crypto_core_salsa2012_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa2012_inputbytes(void); 18 | 19 | #define crypto_core_salsa2012_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa2012_keybytes(void); 22 | 23 | #define crypto_core_salsa2012_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa2012_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_core_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_core_salsa208_H 2 | #define crypto_core_salsa208_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_core_salsa208_OUTPUTBYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_core_salsa208_outputbytes(void); 14 | 15 | #define crypto_core_salsa208_INPUTBYTES 16U 16 | SODIUM_EXPORT 17 | size_t crypto_core_salsa208_inputbytes(void); 18 | 19 | #define crypto_core_salsa208_KEYBYTES 32U 20 | SODIUM_EXPORT 21 | size_t crypto_core_salsa208_keybytes(void); 22 | 23 | #define crypto_core_salsa208_CONSTBYTES 16U 24 | SODIUM_EXPORT 25 | size_t crypto_core_salsa208_constbytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_core_salsa208(unsigned char *out, const unsigned char *in, 29 | const unsigned char *k, const unsigned char *c); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_hash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_hash_H 2 | #define crypto_hash_H 3 | 4 | /* 5 | * WARNING: Unless you absolutely need to use SHA512 for interoperatibility, 6 | * purposes, you might want to consider crypto_generichash() instead. 7 | * Unlike SHA512, crypto_generichash() is not vulnerable to length 8 | * extension attacks. 9 | */ 10 | 11 | #include 12 | 13 | #include "crypto_hash_sha512.h" 14 | #include "export.h" 15 | 16 | #ifdef __cplusplus 17 | # if __GNUC__ 18 | # pragma GCC diagnostic ignored "-Wlong-long" 19 | # endif 20 | extern "C" { 21 | #endif 22 | 23 | #define crypto_hash_BYTES crypto_hash_sha512_BYTES 24 | SODIUM_EXPORT 25 | size_t crypto_hash_bytes(void); 26 | 27 | SODIUM_EXPORT 28 | int crypto_hash(unsigned char *out, const unsigned char *in, 29 | unsigned long long inlen); 30 | 31 | #define crypto_hash_PRIMITIVE "sha512" 32 | SODIUM_EXPORT 33 | const char *crypto_hash_primitive(void) 34 | __attribute__ ((warn_unused_result)); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_int32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int32_H 2 | #define crypto_int32_H 3 | 4 | #include 5 | 6 | typedef int32_t crypto_int32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_int64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_int64_H 2 | #define crypto_int64_H 3 | 4 | #include 5 | 6 | typedef int64_t crypto_int64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_scalarmult.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_H 2 | #define crypto_scalarmult_H 3 | 4 | #include 5 | 6 | #include "crypto_scalarmult_curve25519.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES 14 | SODIUM_EXPORT 15 | size_t crypto_scalarmult_bytes(void); 16 | 17 | #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES 18 | SODIUM_EXPORT 19 | size_t crypto_scalarmult_scalarbytes(void); 20 | 21 | #define crypto_scalarmult_PRIMITIVE "curve25519" 22 | SODIUM_EXPORT 23 | const char *crypto_scalarmult_primitive(void); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_base(unsigned char *q, const unsigned char *n); 27 | 28 | SODIUM_EXPORT 29 | int crypto_scalarmult(unsigned char *q, const unsigned char *n, 30 | const unsigned char *p) 31 | __attribute__ ((warn_unused_result)); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_scalarmult_curve25519.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_scalarmult_curve25519_H 2 | #define crypto_scalarmult_curve25519_H 3 | 4 | #include 5 | 6 | #include "export.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | #define crypto_scalarmult_curve25519_BYTES 32U 13 | SODIUM_EXPORT 14 | size_t crypto_scalarmult_curve25519_bytes(void); 15 | 16 | #define crypto_scalarmult_curve25519_SCALARBYTES 32U 17 | SODIUM_EXPORT 18 | size_t crypto_scalarmult_curve25519_scalarbytes(void); 19 | 20 | SODIUM_EXPORT 21 | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, 22 | const unsigned char *p) 23 | __attribute__ ((warn_unused_result)); 24 | 25 | SODIUM_EXPORT 26 | int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n); 27 | 28 | /* ------------------------------------------------------------------------- */ 29 | 30 | int _crypto_scalarmult_curve25519_pick_best_implementation(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_shorthash.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_H 2 | #define crypto_shorthash_H 3 | 4 | #include 5 | 6 | #include "crypto_shorthash_siphash24.h" 7 | #include "export.h" 8 | 9 | #ifdef __cplusplus 10 | # if __GNUC__ 11 | # pragma GCC diagnostic ignored "-Wlong-long" 12 | # endif 13 | extern "C" { 14 | #endif 15 | 16 | #define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES 17 | SODIUM_EXPORT 18 | size_t crypto_shorthash_bytes(void); 19 | 20 | #define crypto_shorthash_KEYBYTES crypto_shorthash_siphash24_KEYBYTES 21 | SODIUM_EXPORT 22 | size_t crypto_shorthash_keybytes(void); 23 | 24 | #define crypto_shorthash_PRIMITIVE "siphash24" 25 | SODIUM_EXPORT 26 | const char *crypto_shorthash_primitive(void); 27 | 28 | SODIUM_EXPORT 29 | int crypto_shorthash(unsigned char *out, const unsigned char *in, 30 | unsigned long long inlen, const unsigned char *k); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_shorthash_siphash24.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_shorthash_siphash24_H 2 | #define crypto_shorthash_siphash24_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | # if __GNUC__ 9 | # pragma GCC diagnostic ignored "-Wlong-long" 10 | # endif 11 | extern "C" { 12 | #endif 13 | 14 | #define crypto_shorthash_siphash24_BYTES 8U 15 | SODIUM_EXPORT 16 | size_t crypto_shorthash_siphash24_bytes(void); 17 | 18 | #define crypto_shorthash_siphash24_KEYBYTES 16U 19 | SODIUM_EXPORT 20 | size_t crypto_shorthash_siphash24_keybytes(void); 21 | 22 | SODIUM_EXPORT 23 | int crypto_shorthash_siphash24(unsigned char *out, const unsigned char *in, 24 | unsigned long long inlen, const unsigned char *k); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_stream_salsa2012.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa2012_H 2 | #define crypto_stream_salsa2012_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa2012_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa2012_keybytes(void); 25 | 26 | #define crypto_stream_salsa2012_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa2012_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa2012(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa2012_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_stream_salsa208.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_stream_salsa208_H 2 | #define crypto_stream_salsa208_H 3 | 4 | /* 5 | * WARNING: This is just a stream cipher. It is NOT authenticated encryption. 6 | * While it provides some protection against eavesdropping, it does NOT 7 | * provide any security against active attacks. 8 | * Unless you know what you're doing, what you are looking for is probably 9 | * the crypto_box functions. 10 | */ 11 | 12 | #include 13 | #include "export.h" 14 | 15 | #ifdef __cplusplus 16 | # if __GNUC__ 17 | # pragma GCC diagnostic ignored "-Wlong-long" 18 | # endif 19 | extern "C" { 20 | #endif 21 | 22 | #define crypto_stream_salsa208_KEYBYTES 32U 23 | SODIUM_EXPORT 24 | size_t crypto_stream_salsa208_keybytes(void); 25 | 26 | #define crypto_stream_salsa208_NONCEBYTES 8U 27 | SODIUM_EXPORT 28 | size_t crypto_stream_salsa208_noncebytes(void); 29 | 30 | SODIUM_EXPORT 31 | int crypto_stream_salsa208(unsigned char *c, unsigned long long clen, 32 | const unsigned char *n, const unsigned char *k); 33 | 34 | SODIUM_EXPORT 35 | int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m, 36 | unsigned long long mlen, const unsigned char *n, 37 | const unsigned char *k); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_uint16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint16_H 2 | #define crypto_uint16_H 3 | 4 | #include 5 | 6 | typedef uint16_t crypto_uint16; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_uint32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint32_H 2 | #define crypto_uint32_H 3 | 4 | #include 5 | 6 | typedef uint32_t crypto_uint32; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_uint64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint64_H 2 | #define crypto_uint64_H 3 | 4 | #include 5 | 6 | typedef uint64_t crypto_uint64; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_uint8.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_uint8_H 2 | #define crypto_uint8_H 3 | 4 | #include 5 | 6 | typedef uint8_t crypto_uint8; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_verify_16.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_16_H 2 | #define crypto_verify_16_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_16_BYTES 16U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_16_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_16(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_verify_32.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_32_H 2 | #define crypto_verify_32_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_32_BYTES 32U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_32_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_32(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/crypto_verify_64.h: -------------------------------------------------------------------------------- 1 | #ifndef crypto_verify_64_H 2 | #define crypto_verify_64_H 3 | 4 | #include 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #define crypto_verify_64_BYTES 64U 12 | SODIUM_EXPORT 13 | size_t crypto_verify_64_bytes(void); 14 | 15 | SODIUM_EXPORT 16 | int crypto_verify_64(const unsigned char *x, const unsigned char *y) 17 | __attribute__ ((warn_unused_result)); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/export.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_export_H 3 | #define sodium_export_H 4 | 5 | #ifndef __GNUC__ 6 | # ifdef __attribute__ 7 | # undef __attribute__ 8 | # endif 9 | # define __attribute__(a) 10 | #endif 11 | 12 | #ifdef SODIUM_STATIC 13 | # define SODIUM_EXPORT 14 | #else 15 | # if defined(_MSC_VER) 16 | # ifdef SODIUM_DLL_EXPORT 17 | # define SODIUM_EXPORT __declspec(dllexport) 18 | # else 19 | # define SODIUM_EXPORT __declspec(dllimport) 20 | # endif 21 | # else 22 | # if defined(__SUNPRO_C) 23 | # ifndef __GNU_C__ 24 | # define SODIUM_EXPORT __attribute__ (visibility(__global)) 25 | # else 26 | # define SODIUM_EXPORT __attribute__ __global 27 | # endif 28 | # elif defined(_MSG_VER) 29 | # define SODIUM_EXPORT extern __declspec(dllexport) 30 | # else 31 | # define SODIUM_EXPORT __attribute__ ((visibility ("default"))) 32 | # endif 33 | # endif 34 | #endif 35 | 36 | #ifndef CRYPTO_ALIGN 37 | # if defined(__INTEL_COMPILER) || defined(_MSC_VER) 38 | # define CRYPTO_ALIGN(x) __declspec(align(x)) 39 | # else 40 | # define CRYPTO_ALIGN(x) __attribute__ ((aligned(x))) 41 | # endif 42 | #endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/randombytes_salsa20_random.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_salsa20_random_H 3 | #define randombytes_salsa20_random_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_salsa20_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/randombytes_sysrandom.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef randombytes_sysrandom_H 3 | #define randombytes_sysrandom_H 4 | 5 | #include "export.h" 6 | #include "randombytes.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | SODIUM_EXPORT 13 | extern struct randombytes_implementation randombytes_sysrandom_implementation; 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/runtime.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_runtime_H 3 | #define sodium_runtime_H 4 | 5 | #include "export.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | SODIUM_EXPORT 12 | int sodium_runtime_has_neon(void); 13 | 14 | SODIUM_EXPORT 15 | int sodium_runtime_has_sse2(void); 16 | 17 | SODIUM_EXPORT 18 | int sodium_runtime_has_sse3(void); 19 | 20 | SODIUM_EXPORT 21 | int sodium_runtime_has_ssse3(void); 22 | 23 | SODIUM_EXPORT 24 | int sodium_runtime_has_sse41(void); 25 | 26 | SODIUM_EXPORT 27 | int sodium_runtime_has_avx(void); 28 | 29 | SODIUM_EXPORT 30 | int sodium_runtime_has_avx2(void); 31 | 32 | SODIUM_EXPORT 33 | int sodium_runtime_has_pclmul(void); 34 | 35 | SODIUM_EXPORT 36 | int sodium_runtime_has_aesni(void); 37 | 38 | /* ------------------------------------------------------------------------- */ 39 | 40 | int _sodium_runtime_get_cpu_features(void); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/include/iOS/sodium/version.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef sodium_version_H 3 | #define sodium_version_H 4 | 5 | #include "export.h" 6 | 7 | #define SODIUM_VERSION_STRING "1.0.10" 8 | 9 | #define SODIUM_LIBRARY_VERSION_MAJOR 9 10 | #define SODIUM_LIBRARY_VERSION_MINOR 2 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | SODIUM_EXPORT 17 | const char *sodium_version_string(void); 18 | 19 | SODIUM_EXPORT 20 | int sodium_library_version_major(void); 21 | 22 | SODIUM_EXPORT 23 | int sodium_library_version_minor(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARM64/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARM64/libcrypto.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARM64/libcurl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARM64/libcurl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARM64/libsodium.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARM64/libsodium.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARM64/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARM64/libssl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARM64/libwebsockets.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARM64/libwebsockets.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARM64/libzstd.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARM64/libzstd.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libcrypto.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libcurl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libcurl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libsodium.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libsodium.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libssl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libwebsockets.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libwebsockets.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libzstd.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Android/ARMv7/libzstd.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Mac/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Mac/libcrypto.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Mac/libcurl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Mac/libcurl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Mac/libsodium.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Mac/libsodium.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Mac/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Mac/libssl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Mac/libwebsockets.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Mac/libwebsockets.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Mac/libz.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Mac/libz.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Mac/libzstd.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Mac/libzstd.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Windows/x64/libsodium.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Windows/x64/libsodium.lib -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Windows/x64/libzstd_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Windows/x64/libzstd_static.lib -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Windows/x86/libsodium.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Windows/x86/libsodium.lib -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/Windows/x86/libzstd_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/Windows/x86/libzstd_static.lib -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/iOS/curl_with_opensssl1.0.2/libcurl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/iOS/curl_with_opensssl1.0.2/libcurl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/iOS/curl_with_opensssl1.1.1/libcurl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/iOS/curl_with_opensssl1.1.1/libcurl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/iOS/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/iOS/libcrypto.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/iOS/libsodium.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/iOS/libsodium.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/iOS/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/iOS/libssl.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/iOS/libwebsockets.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/iOS/libwebsockets.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/lib/iOS/libzstd.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/lib/iOS/libzstd.a -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text.RegularExpressions; 3 | 4 | 5 | namespace replace 6 | { 7 | class MainClass 8 | { 9 | public static int Main(string[] args) 10 | { 11 | if (args.Length < 3) 12 | { 13 | Console.WriteLine("Usage: replace.exe pattern string file"); 14 | return 1; 15 | } 16 | 17 | bool test = (args.Length == 4); 18 | int result = 0; 19 | 20 | try 21 | { 22 | string pattern = args[0]; 23 | string str = args[1]; 24 | string filepath = args[2]; 25 | 26 | string text = System.IO.File.ReadAllText(filepath); 27 | string text_replaced = Regex.Replace(text, pattern, str); 28 | 29 | if (test) 30 | { 31 | Console.WriteLine(text_replaced); 32 | } 33 | else 34 | { 35 | System.IO.File.WriteAllText(filepath, text_replaced); 36 | } 37 | 38 | } catch (System.Exception e) 39 | { 40 | Console.WriteLine(e.Message); 41 | result = 1; 42 | } 43 | 44 | return result; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/funapi/management/maintenance_message.proto: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | //////////////////////////////////////////////////////////////////////// 8 | // These protobuf messages are Funapi maintenance messages. 9 | 10 | import "funapi/network/fun_message.proto"; 11 | 12 | // Maintenance message 13 | message MaintenanceMessage { 14 | optional string date_start = 1; 15 | optional string date_end = 2; 16 | optional string messages = 3; 17 | } 18 | 19 | 20 | extend FunMessage { 21 | optional MaintenanceMessage pbuf_maintenance = 15; 22 | } 23 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/funapi/network/fun_message.proto: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | 8 | // This protobuf message should be the outermost message. 9 | // Any game message (aka app message) should be in the form of FunMessage's extension. 10 | // For example, say we have a message like this: 11 | // message MyMessage { 12 | // ... 13 | // } 14 | // We can carry MyMessage in FunMessage like this: 15 | // extend FunMessage { 16 | // optional MyMessage mymessage = 16; 17 | // } 18 | message FunMessage { 19 | optional bytes sid = 1; 20 | optional string msgtype = 2; 21 | optional uint32 seq = 3; 22 | optional uint32 ack = 4; 23 | optional bool urgent = 5; 24 | optional int32 msgtype2 = 6; 25 | 26 | //////////////////////////////////////////////////////////////////// 27 | // CAUTION: EXTENSIONS FROM 8 THROUGH 15 ARE RESERVED BY THE ENGINE. 28 | // GAME DEVELOPER SHOULD USE FROM 16. 29 | //////////////////////////////////////////////////////////////////// 30 | extensions 8 to max; 31 | } 32 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/funapi/network/ping_message.proto: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | import "funapi/network/fun_message.proto"; 8 | 9 | message FunPingMessage { 10 | required int64 timestamp = 1; 11 | optional bytes data = 2; 12 | } 13 | 14 | 15 | extend FunMessage { 16 | optional FunPingMessage cs_ping = 9; 17 | } 18 | -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/lib/libprotobuf.9.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/proto/lib/libprotobuf.9.dylib -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/lib/libprotoc.9.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/proto/lib/libprotoc.9.dylib -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/protoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/proto/protoc -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/protoc.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/proto/protoc.exe -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/replace.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Plugins/Funapi/ThirdParty/proto/replace.exe -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/test_dedicated_server_rpc_messages.proto: -------------------------------------------------------------------------------- 1 | // Generated by funapi_initiator 2 | // This file is an example to illustrate how to use protobuf 3 | // server-to-server messages on Funapi. 4 | // You can edit this file to meet your taste. 5 | 6 | 7 | // You should use a relative path to the system top-level directory. 8 | // On Linux, it's /usr/include. 9 | // To import /usr/include/funapi/network/fun_dedicated_server_rpc_message.proto, 10 | // use relative path like this: 11 | import "funapi/distribution/fun_dedicated_server_rpc_message.proto"; 12 | 13 | 14 | // Your specific message class. 15 | message EchoDedicatedServerRpcMessage { 16 | optional string message = 1; 17 | } 18 | 19 | 20 | extend FunDedicatedServerRpcMessage { 21 | //////////////////////////////////////////////////////////////////// 22 | // CAUTION: EXTENSIONS FROM 8 THROUGH 31 ARE RESERVED BY THE ENGINE. 23 | // GAME DEVELOPER SHOULD USE FROM 32. 24 | //////////////////////////////////////////////////////////////////// 25 | 26 | optional EchoDedicatedServerRpcMessage echo_ds_rpc = 32; 27 | } -------------------------------------------------------------------------------- /Plugins/Funapi/ThirdParty/proto/test_messages.proto: -------------------------------------------------------------------------------- 1 | // Generated by funapi_initiator 2 | // This file is an example to illustrate how to use protobuf 3 | // client-server messages on Funapi. 4 | // You can edit this file to meet your taste. 5 | 6 | 7 | // You should use a relative path to the system top-level directory. 8 | // On Linux, it's /usr/include. 9 | // To import /usr/include/funapi/network/fun_messages.proto, 10 | // use relative path like this: 11 | import "funapi/network/fun_message.proto"; 12 | 13 | 14 | // Your specific message class. 15 | message PbufEchoMessage { 16 | required string msg = 1; 17 | } 18 | 19 | 20 | message PbufAnotherMessage { 21 | optional string msg = 1; 22 | } 23 | 24 | 25 | extend FunMessage { 26 | optional PbufEchoMessage pbuf_echo = 16; 27 | optional PbufAnotherMessage pbuf_another = 17; 28 | } 29 | -------------------------------------------------------------------------------- /Plugins/FunapiDedicatedServer/FunapiDedicatedServer.uplugin: -------------------------------------------------------------------------------- 1 | { 2 | "FileVersion" : 3, 3 | "Version" : 1, 4 | "VersionName" : "1.29", 5 | "FriendlyName" : "FunapiDedicatedServer Plugin", 6 | "Description" : "FunapiDedicatedServer - UE4 DedicatedServer Helper", 7 | "Category" : "iFunFactory", 8 | "CreatedBy" : "iFunFactory, Inc.", 9 | "CreatedByURL" : "http://iFunFactory.com", 10 | "DocsURL" : "http://www.ifunfactory.com/engine/documents/reference/en/index.html", 11 | "MarketplaceURL" : "", 12 | "SupportURL" : "http://www.ifunfactory.com/engine/#contact", 13 | "EnabledByDefault" : false, 14 | "CanContainContent" : false, 15 | "IsBetaVersion" : false, 16 | "Installed" : false, 17 | "Modules" : 18 | [ 19 | { 20 | "Name" : "FunapiDedicatedServer", 21 | "Type" : "Runtime", 22 | "LoadingPhase" : "Default" 23 | } 24 | ] 25 | } -------------------------------------------------------------------------------- /Plugins/FunapiDedicatedServer/Source/FunapiDedicatedServer/Private/FunapiDedicatedServerPlugin.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2020 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #include "FunapiDedicatedServerPrivatePCH.h" 8 | 9 | DEFINE_LOG_CATEGORY(LogFunapiDedicatedServer); 10 | 11 | class FFunapiDedicatedServer : public IFunapiDedicatedServer 12 | { 13 | /** IModuleInterface implementation */ 14 | virtual void StartupModule() override; 15 | virtual void ShutdownModule() override; 16 | }; 17 | 18 | IMPLEMENT_MODULE( FFunapiDedicatedServer, FunapiDedicatedServer ) 19 | 20 | 21 | void FFunapiDedicatedServer::StartupModule() 22 | { 23 | // This code will execute after your module is loaded into memory (but after global variables are initialized, of course.) 24 | // UE_LOG(LogTemp, Log, TEXT("StartupModule")); 25 | } 26 | 27 | 28 | void FFunapiDedicatedServer::ShutdownModule() 29 | { 30 | // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading, 31 | // we call this function before unloading the module. 32 | // UE_LOG(LogTemp, Log, TEXT("ShutdownModule")); 33 | } 34 | -------------------------------------------------------------------------------- /Plugins/FunapiDedicatedServer/Source/FunapiDedicatedServer/Private/FunapiDedicatedServerPrivatePCH.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2020 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #include "IFunapiDedicatedServerPlugin.h" 8 | 9 | // You should place include statements to your module's private header files here. You only need to 10 | // add includes for headers that are used in most of your module's source files though. 11 | #include "Engine.h" 12 | #include "Json.h" 13 | #include "Http.h" 14 | -------------------------------------------------------------------------------- /Source/funapi_plugin_ue4.Target.cs: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | using UnrealBuildTool; 8 | using System.Collections.Generic; 9 | 10 | public class funapi_plugin_ue4Target : TargetRules 11 | { 12 | public funapi_plugin_ue4Target(TargetInfo Target) : base(Target) 13 | { 14 | #if UE_4_24_OR_LATER 15 | DefaultBuildSettings = BuildSettingsVersion.V2; 16 | #endif 17 | Type = TargetType.Game; 18 | ExtraModuleNames.Add("funapi_plugin_ue4"); 19 | } 20 | 21 | // 22 | // TargetRules interface. 23 | // 24 | } 25 | -------------------------------------------------------------------------------- /Source/funapi_plugin_ue4/Resources/Windows/Application.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/Source/funapi_plugin_ue4/Resources/Windows/Application.ico -------------------------------------------------------------------------------- /Source/funapi_plugin_ue4/funapi_plugin_ue4.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #include "funapi_plugin_ue4.h" 8 | 9 | IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, funapi_plugin_ue4, "funapi_plugin_ue4" ); 10 | 11 | DEFINE_LOG_CATEGORY(LogFunapiExample); 12 | -------------------------------------------------------------------------------- /Source/funapi_plugin_ue4/funapi_plugin_ue4.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #pragma once 8 | 9 | // #include "funapi/funapi_plugin.h" 10 | #include "Engine.h" 11 | 12 | DECLARE_LOG_CATEGORY_EXTERN(LogFunapiExample, Log, All); -------------------------------------------------------------------------------- /Source/funapi_plugin_ue4/funapi_plugin_ue4GameMode.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #include "funapi_plugin_ue4GameMode.h" 8 | #include "funapi_plugin_ue4.h" 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Source/funapi_plugin_ue4/funapi_plugin_ue4GameMode.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | #pragma once 8 | 9 | #include "GameFramework/GameMode.h" 10 | #include "funapi_plugin_ue4GameMode.generated.h" 11 | 12 | /** 13 | * 14 | */ 15 | UCLASS() 16 | class FUNAPI_PLUGIN_UE4_API Afunapi_plugin_ue4GameMode : public AGameMode 17 | { 18 | GENERATED_BODY() 19 | 20 | 21 | 22 | 23 | }; 24 | -------------------------------------------------------------------------------- /Source/funapi_plugin_ue4Editor.Target.cs: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013-2015 iFunFactory Inc. All Rights Reserved. 2 | // 3 | // This work is confidential and proprietary to iFunFactory Inc. and 4 | // must not be used, disclosed, copied, or distributed without the prior 5 | // consent of iFunFactory Inc. 6 | 7 | using UnrealBuildTool; 8 | using System.Collections.Generic; 9 | 10 | public class funapi_plugin_ue4EditorTarget : TargetRules 11 | { 12 | public funapi_plugin_ue4EditorTarget(TargetInfo Target) : base(Target) 13 | { 14 | #if UE_4_24_OR_LATER 15 | DefaultBuildSettings = BuildSettingsVersion.V2; 16 | #endif 17 | Type = TargetType.Editor; 18 | ExtraModuleNames.Add("funapi_plugin_ue4"); 19 | } 20 | 21 | // 22 | // TargetRules interface. 23 | // 24 | } 25 | -------------------------------------------------------------------------------- /ThirdParty/build/openssl_arm64.sh: -------------------------------------------------------------------------------- 1 | # Use the tools from the Standalone Toolchain 2 | export PATH=$PATH:/opt/ndk/aarch64/bin 3 | 4 | mkdir -p build/android-arm64 5 | 6 | # Run the configure to target a static library for the ARM64 7 | ./Configure --prefix=$(pwd)/build/android-arm64 \ 8 | --cross-compile-prefix=aarch64-linux-android- \ 9 | android no-shared no-idea no-md2 no-mdc2 no-rc4 no-rc5 10 | 11 | # Build 12 | make -j4 13 | make install 14 | -------------------------------------------------------------------------------- /ThirdParty/build/openssl_x86_64.sh: -------------------------------------------------------------------------------- 1 | # Use the tools from the Standalone Toolchain 2 | export PATH=$PATH:/opt/ndk/x86_64/bin 3 | 4 | mkdir -p build/android-x64 5 | 6 | # Run the configure to target a static library for the x64 7 | ./Configure --prefix=$(pwd)/build/android-x64 \ 8 | --cross-compile-prefix=x86_64-linux-android- \ 9 | android no-shared no-idea no-md2 no-mdc2 no-rc4 no-rc5 10 | 11 | # Build 12 | #make -j4 13 | #make install 14 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/echo/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | #ADD account.ilf /etc/ifunfactory/account.ilf 26 | ADD MANIFEST.json /home/test/test-source/src/ 27 | 28 | CMD /home/test/test-build/debug/test-local -session_message_logging_level=2 29 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/echo/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-echo . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/echo/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-echo . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/echo/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-echo -p 8012:8012 -p 8013:8013/udp -p 8018:8018 -p 8022:8022 -p 8023:8023/udp -p 8028:8028 ifunengine-echo -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/echo/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-echo -p 8012:8012 -p 8013:8013/udp -p 8018:8018 -p 8022:8022 -p 8023:8023/udp -p 8028:8028 ifunengine-echo -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-aes128/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | #ADD account.ilf /etc/ifunfactory/account.ilf 26 | 27 | ADD MANIFEST.json /home/test/test-source/src/ 28 | 29 | CMD /home/test/test-build/debug/test-local -session_message_logging_level=2 30 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-aes128/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-aes128-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-aes128/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-aes128-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-aes128/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-aes128-reliability -p 8812:8812 -p 8813:8813/udp -p 8818:8818 -p 8822:8822 -p 8823:8823/udp -p 8828:8828 ifunengine-aes128-reliability -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-aes128/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-aes128-reliability -p 8812:8812 -p 8813:8813/udp -p 8818:8818 -p 8822:8822 -p 8823:8823/udp -p 8828:8828 ifunengine-aes128-reliability -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-chacha20/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | #ADD account.ilf /etc/ifunfactory/account.ilf 26 | 27 | ADD MANIFEST.json /home/test/test-source/src/ 28 | 29 | CMD /home/test/test-build/debug/test-local -session_message_logging_level=2 30 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-chacha20/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-chacha20-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-chacha20/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-chacha20-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-chacha20/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-chacha20-reliability -p 8712:8712 -p 8713:8713/udp -p 8718:8718 -p 8722:8722 -p 8723:8723/udp -p 8728:8728 ifunengine-chacha20-reliability -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-chacha20/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-chacha20-reliability -p 8712:8712 -p 8713:8713/udp -p 8718:8718 -p 8722:8722 -p 8723:8723/udp -p 8728:8728 ifunengine-chacha20-reliability -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-sodium/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | #ADD account.ilf /etc/ifunfactory/account.ilf 26 | 27 | ADD MANIFEST.json /home/test/test-source/src/ 28 | 29 | CMD /home/test/test-build/debug/test-local -session_message_logging_level=2 30 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-sodium/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-sodium-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-sodium/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-sodium-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-sodium/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-sodium-reliability -p 9012:9012 -p 9013:9013/udp -p 9018:9018 -p 9022:9022 -p 9023:9023/udp -p 9028:9028 ifunengine-sodium-reliability -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/enc-reliability-sodium/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-sodium-reliability -p 9012:9012 -p 9013:9013/udp -p 9018:9018 -p 9022:9022 -p 9023:9023/udp -p 9028:9028 ifunengine-sodium-reliability -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/msgtype-int/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | WORKDIR /home/test 17 | RUN funapi_initiator test 18 | ADD event_handlers.cc /home/test/test-source/src/event_handlers.cc 19 | RUN test-source/setup_build_environment --type=makefile 20 | 21 | WORKDIR /home/test/test-build/debug 22 | RUN make 23 | 24 | #ADD account.ilf /etc/ifunfactory/account.ilf 25 | 26 | ADD MANIFEST.json /home/test/test-source/src/ 27 | 28 | CMD /home/test/test-build/debug/test-local -session_message_logging_level=2 29 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/msgtype-int/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-msgtype-int . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/msgtype-int/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-msgtype-int . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/msgtype-int/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-msgtype-int -p 8412:8412 -p 8413:8413/udp -p 8418:8418 -p 8422:8422 -p 8423:8423/udp -p 8428:8428 ifunengine-msgtype-int -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/msgtype-int/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-msgtype-int -p 8412:8412 -p 8413:8413/udp -p 8418:8418 -p 8422:8422 -p 8423:8423/udp -p 8428:8428 ifunengine-msgtype-int -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-json/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | RUN apt-get install -y zookeeperd 26 | 27 | #ADD account.ilf /etc/ifunfactory/account.ilf 28 | ADD MANIFEST.json /home/test/test-source/src/ 29 | 30 | ADD entrypoint.sh /home/ 31 | RUN chmod +x /home/entrypoint.sh 32 | RUN dos2unix /home/entrypoint.sh 33 | 34 | ENTRYPOINT /home/entrypoint.sh 35 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-json/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-multicast-json . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-json/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-multicast-json . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-json/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | service zookeeper start 3 | sleep 1 4 | /home/test/test-build/debug/test-local -session_message_logging_level=2 -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-json/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-json -p 8112:8112 ifunengine-multicast-json -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-json/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-json -p 8112:8112 ifunengine-multicast-json -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-protobuf/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | RUN apt-get install -y zookeeperd 26 | 27 | #ADD account.ilf /etc/ifunfactory/account.ilf 28 | ADD MANIFEST.json /home/test/test-source/src/ 29 | 30 | ADD entrypoint.sh /home/ 31 | RUN chmod +x /home/entrypoint.sh 32 | RUN dos2unix /home/entrypoint.sh 33 | 34 | ENTRYPOINT /home/entrypoint.sh 35 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-protobuf/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-multicast-protobuf . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-protobuf/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-multicast-protobuf . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-protobuf/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | service zookeeper start 3 | sleep 1 4 | /home/test/test-build/debug/test-local -session_message_logging_level=2 -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-protobuf/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-protobuf -p 8122:8122 ifunengine-multicast-protobuf -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-protobuf/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-protobuf -p 8122:8122 ifunengine-multicast-protobuf -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-json/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | RUN apt-get install -y zookeeperd 26 | 27 | #ADD account.ilf /etc/ifunfactory/account.ilf 28 | ADD MANIFEST.json /home/test/test-source/src/ 29 | 30 | ADD entrypoint.sh /home/ 31 | RUN chmod +x /home/entrypoint.sh 32 | RUN dos2unix /home/entrypoint.sh 33 | 34 | ENTRYPOINT /home/entrypoint.sh 35 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-json/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-multicast-reliability-json . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-json/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-multicast-reliability-json . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-json/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | service zookeeper start 3 | sleep 1 4 | /home/test/test-build/debug/test-local -session_message_logging_level=2 -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-json/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-reliability-json -p 8312:8312 ifunengine-multicast-reliability-json -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-json/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-reliability-json -p 8312:8312 ifunengine-multicast-reliability-json -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-protobuf/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | RUN apt-get install -y zookeeperd 26 | 27 | #ADD account.ilf /etc/ifunfactory/account.ilf 28 | ADD MANIFEST.json /home/test/test-source/src/ 29 | 30 | ADD entrypoint.sh /home/ 31 | RUN chmod +x /home/entrypoint.sh 32 | RUN dos2unix /home/entrypoint.sh 33 | 34 | ENTRYPOINT /home/entrypoint.sh 35 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-protobuf/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-multicast-reliability-protobuf . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-protobuf/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-multicast-reliability-protobuf . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-protobuf/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | service zookeeper start 3 | sleep 1 4 | /home/test/test-build/debug/test-local -session_message_logging_level=2 -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-protobuf/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-reliability-protobuf -p 8322:8322 ifunengine-multicast-reliability-protobuf -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/multicast-reliability-protobuf/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-multicast-reliability-protobuf -p 8322:8322 ifunengine-multicast-reliability-protobuf -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/reliability/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER JunHyun Park 3 | 4 | RUN apt-get update 5 | RUN apt-get install -y wget apt-transport-https net-tools 6 | RUN apt-get install -y gettext lsb dos2unix 7 | 8 | WORKDIR /home/ 9 | RUN wget https://ifunfactory.com/engine/funapi-apt-setup.deb 10 | RUN dpkg -i funapi-apt-setup.deb 11 | 12 | RUN apt-get update 13 | RUN apt-get upgrade -y 14 | RUN apt-get install -y funapi1-dev 15 | 16 | RUN mkdir -p /home/test 17 | 18 | WORKDIR /home/test 19 | RUN funapi_initiator test 20 | RUN test-source/setup_build_environment --type=makefile 21 | 22 | WORKDIR /home/test/test-build/debug 23 | RUN make 24 | 25 | #ADD account.ilf /etc/ifunfactory/account.ilf 26 | ADD MANIFEST.json /home/test/test-source/src/ 27 | 28 | CMD /home/test/test-build/debug/test-local -session_message_logging_level=2 29 | -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/reliability/build.bat: -------------------------------------------------------------------------------- 1 | rem https://forums.docker.com/t/docker-for-windows-should-resync-vm-time-when-computer-resumes-from-sleep/17825 2 | @powershell $datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm ubuntu date -s $dt 3 | docker build --tag ifunengine-echo-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/reliability/build.sh: -------------------------------------------------------------------------------- 1 | docker build --tag ifunengine-echo-reliability . -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/reliability/run.bat: -------------------------------------------------------------------------------- 1 | docker run -t --name test-echo-reliability -p 8212:8212 -p 8213:8213/udp -p 8218:8218 -p 8222:8222 -p 8223:8223/udp -p 8228:8228 ifunengine-echo-reliability -------------------------------------------------------------------------------- /ThirdParty/docker/ifunengine/reliability/run.sh: -------------------------------------------------------------------------------- 1 | docker run -t --name test-echo-reliability -p 8212:8212 -p 8213:8213/udp -p 8218:8218 -p 8222:8222 -p 8223:8223/udp -p 8228:8228 ifunengine-echo-reliability -------------------------------------------------------------------------------- /ThirdParty/google/protobuf/testdata/golden_message: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/ThirdParty/google/protobuf/testdata/golden_message -------------------------------------------------------------------------------- /ThirdParty/google/protobuf/testdata/golden_packed_fields_message: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iFunFactory/engine-plugin-ue4/23c270907c85fbf038e7432d88ff69d6d2c3a824/ThirdParty/google/protobuf/testdata/golden_packed_fields_message -------------------------------------------------------------------------------- /funapi_plugin_ue4.uproject: -------------------------------------------------------------------------------- 1 | { 2 | "FileVersion": 3, 3 | "EngineAssociation": "4.24", 4 | "Category": "", 5 | "Description": "", 6 | "Modules": [ 7 | { 8 | "Name": "funapi_plugin_ue4", 9 | "Type": "Runtime", 10 | "LoadingPhase": "Default" 11 | } 12 | ], 13 | "Plugins": [ 14 | { 15 | "Name": "Funapi", 16 | "Enabled": true 17 | } 18 | ], 19 | "TargetPlatforms": [ 20 | "Android", 21 | "IOS", 22 | "MacNoEditor", 23 | "WindowsNoEditor", 24 | "PS4", 25 | "LinuxNoEditor" 26 | ] 27 | } --------------------------------------------------------------------------------