├── .editorconfig ├── .gitattributes ├── .gitignore ├── 5.15.16 ├── _tools │ ├── 7z.dll │ ├── 7z.exe │ └── wget.exe ├── compile_mac.sh ├── compile_win.pl └── qtbase │ ├── openssl-3.0.13 │ └── build │ │ ├── include │ │ └── openssl │ │ │ ├── __DECC_INCLUDE_EPILOGUE.H │ │ │ ├── __DECC_INCLUDE_PROLOGUE.H │ │ │ ├── aes.h │ │ │ ├── asn1.h │ │ │ ├── asn1_mac.h │ │ │ ├── asn1err.h │ │ │ ├── asn1t.h │ │ │ ├── async.h │ │ │ ├── asyncerr.h │ │ │ ├── bio.h │ │ │ ├── bioerr.h │ │ │ ├── blowfish.h │ │ │ ├── bn.h │ │ │ ├── bnerr.h │ │ │ ├── buffer.h │ │ │ ├── buffererr.h │ │ │ ├── camellia.h │ │ │ ├── cast.h │ │ │ ├── cmac.h │ │ │ ├── cmp.h │ │ │ ├── cmp_util.h │ │ │ ├── cmperr.h │ │ │ ├── cms.h │ │ │ ├── cmserr.h │ │ │ ├── comp.h │ │ │ ├── comperr.h │ │ │ ├── conf.h │ │ │ ├── conf_api.h │ │ │ ├── conferr.h │ │ │ ├── configuration.h │ │ │ ├── conftypes.h │ │ │ ├── core.h │ │ │ ├── core_dispatch.h │ │ │ ├── core_names.h │ │ │ ├── core_object.h │ │ │ ├── crmf.h │ │ │ ├── crmferr.h │ │ │ ├── crypto.h │ │ │ ├── cryptoerr.h │ │ │ ├── cryptoerr_legacy.h │ │ │ ├── ct.h │ │ │ ├── cterr.h │ │ │ ├── decoder.h │ │ │ ├── decodererr.h │ │ │ ├── des.h │ │ │ ├── dh.h │ │ │ ├── dherr.h │ │ │ ├── dsa.h │ │ │ ├── dsaerr.h │ │ │ ├── dtls1.h │ │ │ ├── e_os2.h │ │ │ ├── ebcdic.h │ │ │ ├── ec.h │ │ │ ├── ecdh.h │ │ │ ├── ecdsa.h │ │ │ ├── ecerr.h │ │ │ ├── encoder.h │ │ │ ├── encodererr.h │ │ │ ├── engine.h │ │ │ ├── engineerr.h │ │ │ ├── err.h │ │ │ ├── ess.h │ │ │ ├── esserr.h │ │ │ ├── evp.h │ │ │ ├── evperr.h │ │ │ ├── fips_names.h │ │ │ ├── fipskey.h │ │ │ ├── hmac.h │ │ │ ├── http.h │ │ │ ├── httperr.h │ │ │ ├── idea.h │ │ │ ├── kdf.h │ │ │ ├── kdferr.h │ │ │ ├── lhash.h │ │ │ ├── macros.h │ │ │ ├── md2.h │ │ │ ├── md4.h │ │ │ ├── md5.h │ │ │ ├── mdc2.h │ │ │ ├── modes.h │ │ │ ├── obj_mac.h │ │ │ ├── objects.h │ │ │ ├── objectserr.h │ │ │ ├── ocsp.h │ │ │ ├── ocsperr.h │ │ │ ├── opensslconf.h │ │ │ ├── opensslv.h │ │ │ ├── ossl_typ.h │ │ │ ├── param_build.h │ │ │ ├── params.h │ │ │ ├── pem.h │ │ │ ├── pem2.h │ │ │ ├── pemerr.h │ │ │ ├── pkcs12.h │ │ │ ├── pkcs12err.h │ │ │ ├── pkcs7.h │ │ │ ├── pkcs7err.h │ │ │ ├── prov_ssl.h │ │ │ ├── proverr.h │ │ │ ├── provider.h │ │ │ ├── rand.h │ │ │ ├── randerr.h │ │ │ ├── rc2.h │ │ │ ├── rc4.h │ │ │ ├── rc5.h │ │ │ ├── ripemd.h │ │ │ ├── rsa.h │ │ │ ├── rsaerr.h │ │ │ ├── safestack.h │ │ │ ├── seed.h │ │ │ ├── self_test.h │ │ │ ├── sha.h │ │ │ ├── srp.h │ │ │ ├── srtp.h │ │ │ ├── ssl.h │ │ │ ├── ssl2.h │ │ │ ├── ssl3.h │ │ │ ├── sslerr.h │ │ │ ├── sslerr_legacy.h │ │ │ ├── stack.h │ │ │ ├── store.h │ │ │ ├── storeerr.h │ │ │ ├── symhacks.h │ │ │ ├── tls1.h │ │ │ ├── trace.h │ │ │ ├── ts.h │ │ │ ├── tserr.h │ │ │ ├── txt_db.h │ │ │ ├── types.h │ │ │ ├── ui.h │ │ │ ├── uierr.h │ │ │ ├── whrlpool.h │ │ │ ├── x509.h │ │ │ ├── x509_vfy.h │ │ │ ├── x509err.h │ │ │ ├── x509v3.h │ │ │ └── x509v3err.h │ │ └── lib │ │ ├── libcrypto.lib │ │ ├── libssl.lib │ │ ├── ossl-modules │ │ ├── legacy.dll │ │ └── legacy.pdb │ │ └── ossl_static.pdb │ └── src │ ├── corelib │ ├── global │ │ ├── qoperatingsystemversion.cpp │ │ └── qoperatingsystemversion.h │ └── tools │ │ └── qduplicatetracker_p.h │ ├── plugins │ ├── platforms │ │ └── cocoa │ │ │ └── qnsview.mm │ └── styles │ │ └── mac │ │ └── qmacstyle_mac.mm │ └── widgets │ └── widgets │ └── qslider.cpp ├── 5.6.3 ├── bin │ ├── 7z.exe │ └── wget.exe ├── compile_mac.sh ├── compile_mac_dev.sh ├── compile_win.pl └── qtbase │ ├── configure.bat │ ├── mkspecs │ └── common │ │ └── msvc-desktop.conf │ └── src │ ├── gui │ └── accessible │ │ └── qaccessibleobject.cpp │ ├── plugins │ └── platforms │ │ └── cocoa │ │ ├── qcocoaapplicationdelegate.mm │ │ ├── qcocoawindow.mm │ │ ├── qnsview.h │ │ └── qnsview.mm │ └── widgets │ └── accessible │ └── simplewidgets.cpp ├── 6.8.3 ├── _tools │ ├── 7z.dll │ ├── 7z.exe │ ├── cmake.7z │ ├── gperf.exe │ ├── ninja.exe │ ├── openssl-3.0.13-WIN32.7z │ ├── openssl-3.0.13-WIN64A.7z │ └── wget.exe ├── compile_mac.pl ├── compile_win.pl ├── compile_win_x64.bat ├── compile_win_x64_pdf_multimedia.bat └── compile_win_x86.bat └── README.md /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | end_of_line = lf 9 | charset = utf-8 10 | indent_style = space 11 | indent_size = 4 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /5.15.16/_tools/7z.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/_tools/7z.dll -------------------------------------------------------------------------------- /5.15.16/_tools/7z.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/_tools/7z.exe -------------------------------------------------------------------------------- /5.15.16/_tools/wget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/_tools/wget.exe -------------------------------------------------------------------------------- /5.15.16/compile_mac.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi 4 | 5 | makej () { 6 | make -j$(sysctl -n hw.ncpu) 7 | } 8 | export PATH=$PATH:$(pwd)/qtbase/bin 9 | 10 | cd qtbase 11 | 12 | ./configure QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport 13 | 14 | makej 15 | echo $1 | sudo -S sudo make install 16 | 17 | cd ../qttools 18 | qmake 19 | makej 20 | echo $1 | sudo -S sudo make install 21 | 22 | cd ../qtmacextras 23 | qmake 24 | makej 25 | echo $1 | sudo -S sudo make install 26 | 27 | cd /usr/local 28 | zip -r ~/Desktop/qt5.15.16_mac.zip Qt-5.15.16/* -------------------------------------------------------------------------------- /5.15.16/compile_win.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | 3 | die "Cannot proceed without the '_tools' folder'" if (!-e "_tools"); 4 | 5 | my $arch = $ARGV[0]; 6 | my $openssl_version = "3.0.13"; # supported until 7th September 2026 7 | my $openssl_dir = "openssl-$openssl_version"; 8 | my $openssl_download = "https://www.openssl.org/source/openssl-$openssl_version.tar.gz"; 9 | my $openssl_arch = $arch eq "amd64" ? "WIN64A" : "WIN32"; 10 | 11 | $arch = "x86" if ($arch eq ''); # specify x86 is nothing is specified 12 | die "Please specify architecture (x86 or amd64)" if ($arch ne "x86" && $arch ne "amd64"); # die if user specified anything except x86 or amd64 13 | 14 | # will create a batch file 15 | 16 | my $batfile = 'compile_win.bat'; 17 | 18 | open BAT, '>', $batfile; 19 | 20 | printLineToBat ("SET PATH=%PATH%;%cd%\\_tools"); # add bin folder to the path for 7z and wget 21 | printLineToBat ("CALL \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" $arch"); 22 | printLineToBat ("SET _ROOT=%cd%"); 23 | printLineToBat ("SET PATH=%_ROOT%\\qtbase\\bin;%_ROOT%\\gnuwin32\\bin;%PATH%"); # http://doc.qt.io/qt-5/windows-building.html 24 | 25 | printLineToBat ("cd qtbase"); 26 | printLineToBat ("if \"%~1\"==\"step2\" goto step2"); 27 | 28 | # step1: compile openssl and do configure. For some reason, can't continue script execution after configure, have to make step2 29 | printLineToBat ("IF EXIST $openssl_dir\\build GOTO OPENSSL_ALREAD_COMPILED"); 30 | printLineToBat ("wget --no-check-certificate $openssl_download"); 31 | printLineToBat ("7z x openssl-$openssl_version.tar.gz"); 32 | printLineToBat ("7z x openssl-$openssl_version.tar"); 33 | printLineToBat ("rm openssl-$openssl_version.tar.gz"); 34 | printLineToBat ("rm openssl-$openssl_version.tar"); 35 | printLineToBat ("cd $openssl_dir"); # go to openssl dir 36 | printLineToBat ("perl Configure VC-$openssl_arch no-asm no-shared no-tests --prefix=%cd%\\build --openssldir=%cd%\\build"); 37 | printLineToBat ("nmake"); 38 | printLineToBat ("nmake install"); 39 | # do some clean up: 40 | printLineToBat ("rm test\\*.exe"); 41 | printLineToBat ("rm test\\*.pdb"); 42 | printLineToBat ("rm test\\*.obj"); 43 | printLineToBat ("del /s /f /q out32"); 44 | printLineToBat ("del /s /f /q out32.dbg"); 45 | printLineToBat ("cd .."); # go back to qtbase 46 | 47 | printLineToBat (":OPENSSL_ALREAD_COMPILED"); 48 | 49 | # -developer-build creates an in-source build for developer usage. 50 | # openssl: see https://bugreports.qt.io/browse/QTBUG-65501 51 | printLineToBat ("configure -opensource -developer-build -confirm-license -opengl desktop -mp -nomake tests -nomake examples -I \"%cd%\\$openssl_dir\\build\\include\" -openssl-linked OPENSSL_LIBS=\"%cd%\\$openssl_dir\\build\\lib\\libssl.lib %cd%\\$openssl_dir\\build\\lib\\libcrypto.lib -lcrypt32 -lws2_32 -lAdvapi32 -luser32\""); 52 | printLineToBat ("goto :EOF"); 53 | 54 | # step 2: 55 | printLineToBat (":step2"); 56 | 57 | printLineToBat ("nmake"); 58 | printLineToBat ("cd ..\\qttools"); 59 | printLineToBat ("..\\qtbase\\bin\\qmake"); 60 | printLineToBat ("nmake"); 61 | printLineToBat ("cd ..\\qtbase"); 62 | printLineToBat ("cd .."); # go up to qt dir 63 | 64 | # clean up 65 | printLineToBat ("del *.obj /s /f"); 66 | printLineToBat ("del *.ilk /s /f"); 67 | printLineToBat ("del *.pch /s /f"); 68 | printLineToBat ("del Makefile* /s /f"); 69 | 70 | close BAT; 71 | 72 | system ($batfile); 73 | system ("$batfile step2"); 74 | 75 | system ("pause"); 76 | 77 | sub printLineToBat 78 | { 79 | print BAT "$_[0]\n"; 80 | } -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/__DECC_INCLUDE_EPILOGUE.H: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | /* 11 | * This file is only used by HP C/C++ on VMS, and is included automatically 12 | * after each header file from this directory 13 | */ 14 | 15 | /* 16 | * The C++ compiler doesn't understand these pragmas, even though it 17 | * understands the corresponding command line qualifier. 18 | */ 19 | #ifndef __cplusplus 20 | /* restore state. Must correspond to the save in __decc_include_prologue.h */ 21 | # pragma names restore 22 | #endif 23 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/__DECC_INCLUDE_PROLOGUE.H: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | /* 11 | * This file is only used by HP C/C++ on VMS, and is included automatically 12 | * after each header file from this directory 13 | */ 14 | 15 | /* 16 | * The C++ compiler doesn't understand these pragmas, even though it 17 | * understands the corresponding command line qualifier. 18 | */ 19 | #ifndef __cplusplus 20 | /* save state */ 21 | # pragma names save 22 | /* have the compiler shorten symbols larger than 31 chars to 23 chars 23 | * followed by a 8 hex char CRC 24 | */ 25 | # pragma names as_is,shortened 26 | #endif 27 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/aes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_AES_H 11 | # define OPENSSL_AES_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_AES_H 17 | # endif 18 | 19 | # include 20 | 21 | # include 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | # define AES_BLOCK_SIZE 16 27 | 28 | # ifndef OPENSSL_NO_DEPRECATED_3_0 29 | 30 | # define AES_ENCRYPT 1 31 | # define AES_DECRYPT 0 32 | 33 | # define AES_MAXNR 14 34 | 35 | 36 | /* This should be a hidden type, but EVP requires that the size be known */ 37 | struct aes_key_st { 38 | # ifdef AES_LONG 39 | unsigned long rd_key[4 * (AES_MAXNR + 1)]; 40 | # else 41 | unsigned int rd_key[4 * (AES_MAXNR + 1)]; 42 | # endif 43 | int rounds; 44 | }; 45 | typedef struct aes_key_st AES_KEY; 46 | 47 | # endif 48 | # ifndef OPENSSL_NO_DEPRECATED_3_0 49 | OSSL_DEPRECATEDIN_3_0 const char *AES_options(void); 50 | OSSL_DEPRECATEDIN_3_0 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, 52 | AES_KEY *key); 53 | OSSL_DEPRECATEDIN_3_0 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, 55 | AES_KEY *key); 56 | OSSL_DEPRECATEDIN_3_0 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, 58 | const AES_KEY *key); 59 | OSSL_DEPRECATEDIN_3_0 60 | void AES_decrypt(const unsigned char *in, unsigned char *out, 61 | const AES_KEY *key); 62 | OSSL_DEPRECATEDIN_3_0 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, 64 | const AES_KEY *key, const int enc); 65 | OSSL_DEPRECATEDIN_3_0 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, 67 | size_t length, const AES_KEY *key, 68 | unsigned char *ivec, const int enc); 69 | OSSL_DEPRECATEDIN_3_0 70 | void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, 71 | size_t length, const AES_KEY *key, 72 | unsigned char *ivec, int *num, const int enc); 73 | OSSL_DEPRECATEDIN_3_0 74 | void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, 75 | size_t length, const AES_KEY *key, 76 | unsigned char *ivec, int *num, const int enc); 77 | OSSL_DEPRECATEDIN_3_0 78 | void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, 79 | size_t length, const AES_KEY *key, 80 | unsigned char *ivec, int *num, const int enc); 81 | OSSL_DEPRECATEDIN_3_0 82 | void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, 83 | size_t length, const AES_KEY *key, 84 | unsigned char *ivec, int *num); 85 | 86 | /* NB: the IV is _two_ blocks long */ 87 | OSSL_DEPRECATEDIN_3_0 88 | void AES_ige_encrypt(const unsigned char *in, unsigned char *out, 89 | size_t length, const AES_KEY *key, 90 | unsigned char *ivec, const int enc); 91 | /* NB: the IV is _four_ blocks long */ 92 | OSSL_DEPRECATEDIN_3_0 93 | void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out, 94 | size_t length, const AES_KEY *key, const AES_KEY *key2, 95 | const unsigned char *ivec, const int enc); 96 | OSSL_DEPRECATEDIN_3_0 97 | int AES_wrap_key(AES_KEY *key, const unsigned char *iv, 98 | unsigned char *out, const unsigned char *in, 99 | unsigned int inlen); 100 | OSSL_DEPRECATEDIN_3_0 101 | int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, 102 | unsigned char *out, const unsigned char *in, 103 | unsigned int inlen); 104 | # endif 105 | 106 | 107 | # ifdef __cplusplus 108 | } 109 | # endif 110 | 111 | #endif 112 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/asn1_mac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #error "This file is obsolete; please update your software." 11 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/async.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | 12 | #ifndef OPENSSL_ASYNC_H 13 | # define OPENSSL_ASYNC_H 14 | # pragma once 15 | 16 | # include 17 | # ifndef OPENSSL_NO_DEPRECATED_3_0 18 | # define HEADER_ASYNC_H 19 | # endif 20 | 21 | #if defined(_WIN32) 22 | # if defined(BASETYPES) || defined(_WINDEF_H) 23 | /* application has to include to use this */ 24 | #define OSSL_ASYNC_FD HANDLE 25 | #define OSSL_BAD_ASYNC_FD INVALID_HANDLE_VALUE 26 | # endif 27 | #else 28 | #define OSSL_ASYNC_FD int 29 | #define OSSL_BAD_ASYNC_FD -1 30 | #endif 31 | # include 32 | 33 | 34 | # ifdef __cplusplus 35 | extern "C" { 36 | # endif 37 | 38 | typedef struct async_job_st ASYNC_JOB; 39 | typedef struct async_wait_ctx_st ASYNC_WAIT_CTX; 40 | typedef int (*ASYNC_callback_fn)(void *arg); 41 | 42 | #define ASYNC_ERR 0 43 | #define ASYNC_NO_JOBS 1 44 | #define ASYNC_PAUSE 2 45 | #define ASYNC_FINISH 3 46 | 47 | #define ASYNC_STATUS_UNSUPPORTED 0 48 | #define ASYNC_STATUS_ERR 1 49 | #define ASYNC_STATUS_OK 2 50 | #define ASYNC_STATUS_EAGAIN 3 51 | 52 | int ASYNC_init_thread(size_t max_size, size_t init_size); 53 | void ASYNC_cleanup_thread(void); 54 | 55 | #ifdef OSSL_ASYNC_FD 56 | ASYNC_WAIT_CTX *ASYNC_WAIT_CTX_new(void); 57 | void ASYNC_WAIT_CTX_free(ASYNC_WAIT_CTX *ctx); 58 | int ASYNC_WAIT_CTX_set_wait_fd(ASYNC_WAIT_CTX *ctx, const void *key, 59 | OSSL_ASYNC_FD fd, 60 | void *custom_data, 61 | void (*cleanup)(ASYNC_WAIT_CTX *, const void *, 62 | OSSL_ASYNC_FD, void *)); 63 | int ASYNC_WAIT_CTX_get_fd(ASYNC_WAIT_CTX *ctx, const void *key, 64 | OSSL_ASYNC_FD *fd, void **custom_data); 65 | int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd, 66 | size_t *numfds); 67 | int ASYNC_WAIT_CTX_get_callback(ASYNC_WAIT_CTX *ctx, 68 | ASYNC_callback_fn *callback, 69 | void **callback_arg); 70 | int ASYNC_WAIT_CTX_set_callback(ASYNC_WAIT_CTX *ctx, 71 | ASYNC_callback_fn callback, 72 | void *callback_arg); 73 | int ASYNC_WAIT_CTX_set_status(ASYNC_WAIT_CTX *ctx, int status); 74 | int ASYNC_WAIT_CTX_get_status(ASYNC_WAIT_CTX *ctx); 75 | int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd, 76 | size_t *numaddfds, OSSL_ASYNC_FD *delfd, 77 | size_t *numdelfds); 78 | int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key); 79 | #endif 80 | 81 | int ASYNC_is_capable(void); 82 | 83 | int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *ctx, int *ret, 84 | int (*func)(void *), void *args, size_t size); 85 | int ASYNC_pause_job(void); 86 | 87 | ASYNC_JOB *ASYNC_get_current_job(void); 88 | ASYNC_WAIT_CTX *ASYNC_get_wait_ctx(ASYNC_JOB *job); 89 | void ASYNC_block_pause(void); 90 | void ASYNC_unblock_pause(void); 91 | 92 | 93 | # ifdef __cplusplus 94 | } 95 | # endif 96 | #endif 97 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/asyncerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_ASYNCERR_H 12 | # define OPENSSL_ASYNCERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * ASYNC reason codes. 23 | */ 24 | # define ASYNC_R_FAILED_TO_SET_POOL 101 25 | # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102 26 | # define ASYNC_R_INIT_FAILED 105 27 | # define ASYNC_R_INVALID_POOL_SIZE 103 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/bioerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_BIOERR_H 12 | # define OPENSSL_BIOERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * BIO reason codes. 23 | */ 24 | # define BIO_R_ACCEPT_ERROR 100 25 | # define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141 26 | # define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129 27 | # define BIO_R_BAD_FOPEN_MODE 101 28 | # define BIO_R_BROKEN_PIPE 124 29 | # define BIO_R_CONNECT_ERROR 103 30 | # define BIO_R_CONNECT_TIMEOUT 147 31 | # define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107 32 | # define BIO_R_GETSOCKNAME_ERROR 132 33 | # define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133 34 | # define BIO_R_GETTING_SOCKTYPE 134 35 | # define BIO_R_INVALID_ARGUMENT 125 36 | # define BIO_R_INVALID_SOCKET 135 37 | # define BIO_R_IN_USE 123 38 | # define BIO_R_LENGTH_TOO_LONG 102 39 | # define BIO_R_LISTEN_V6_ONLY 136 40 | # define BIO_R_LOOKUP_RETURNED_NOTHING 142 41 | # define BIO_R_MALFORMED_HOST_OR_SERVICE 130 42 | # define BIO_R_NBIO_CONNECT_ERROR 110 43 | # define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143 44 | # define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144 45 | # define BIO_R_NO_PORT_DEFINED 113 46 | # define BIO_R_NO_SUCH_FILE 128 47 | # define BIO_R_NULL_PARAMETER 115 /* unused */ 48 | # define BIO_R_TRANSFER_ERROR 104 49 | # define BIO_R_TRANSFER_TIMEOUT 105 50 | # define BIO_R_UNABLE_TO_BIND_SOCKET 117 51 | # define BIO_R_UNABLE_TO_CREATE_SOCKET 118 52 | # define BIO_R_UNABLE_TO_KEEPALIVE 137 53 | # define BIO_R_UNABLE_TO_LISTEN_SOCKET 119 54 | # define BIO_R_UNABLE_TO_NODELAY 138 55 | # define BIO_R_UNABLE_TO_REUSEADDR 139 56 | # define BIO_R_UNAVAILABLE_IP_FAMILY 145 57 | # define BIO_R_UNINITIALIZED 120 58 | # define BIO_R_UNKNOWN_INFO_TYPE 140 59 | # define BIO_R_UNSUPPORTED_IP_FAMILY 146 60 | # define BIO_R_UNSUPPORTED_METHOD 121 61 | # define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131 62 | # define BIO_R_WRITE_TO_READ_ONLY_BIO 126 63 | # define BIO_R_WSASTARTUP 122 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/blowfish.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_BLOWFISH_H 11 | # define OPENSSL_BLOWFISH_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_BLOWFISH_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_BF 22 | # include 23 | # ifdef __cplusplus 24 | extern "C" { 25 | # endif 26 | 27 | # define BF_BLOCK 8 28 | 29 | # ifndef OPENSSL_NO_DEPRECATED_3_0 30 | 31 | # define BF_ENCRYPT 1 32 | # define BF_DECRYPT 0 33 | 34 | /*- 35 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 36 | * ! BF_LONG has to be at least 32 bits wide. ! 37 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 38 | */ 39 | # define BF_LONG unsigned int 40 | 41 | # define BF_ROUNDS 16 42 | 43 | typedef struct bf_key_st { 44 | BF_LONG P[BF_ROUNDS + 2]; 45 | BF_LONG S[4 * 256]; 46 | } BF_KEY; 47 | 48 | # endif /* OPENSSL_NO_DEPRECATED_3_0 */ 49 | # ifndef OPENSSL_NO_DEPRECATED_3_0 50 | OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len, 51 | const unsigned char *data); 52 | OSSL_DEPRECATEDIN_3_0 void BF_encrypt(BF_LONG *data, const BF_KEY *key); 53 | OSSL_DEPRECATEDIN_3_0 void BF_decrypt(BF_LONG *data, const BF_KEY *key); 54 | OSSL_DEPRECATEDIN_3_0 void BF_ecb_encrypt(const unsigned char *in, 55 | unsigned char *out, const BF_KEY *key, 56 | int enc); 57 | OSSL_DEPRECATEDIN_3_0 void BF_cbc_encrypt(const unsigned char *in, 58 | unsigned char *out, long length, 59 | const BF_KEY *schedule, 60 | unsigned char *ivec, int enc); 61 | OSSL_DEPRECATEDIN_3_0 void BF_cfb64_encrypt(const unsigned char *in, 62 | unsigned char *out, 63 | long length, const BF_KEY *schedule, 64 | unsigned char *ivec, int *num, 65 | int enc); 66 | OSSL_DEPRECATEDIN_3_0 void BF_ofb64_encrypt(const unsigned char *in, 67 | unsigned char *out, 68 | long length, const BF_KEY *schedule, 69 | unsigned char *ivec, int *num); 70 | OSSL_DEPRECATEDIN_3_0 const char *BF_options(void); 71 | # endif 72 | 73 | # ifdef __cplusplus 74 | } 75 | # endif 76 | # endif 77 | 78 | #endif 79 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/bnerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_BNERR_H 12 | # define OPENSSL_BNERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * BN reason codes. 23 | */ 24 | # define BN_R_ARG2_LT_ARG3 100 25 | # define BN_R_BAD_RECIPROCAL 101 26 | # define BN_R_BIGNUM_TOO_LONG 114 27 | # define BN_R_BITS_TOO_SMALL 118 28 | # define BN_R_CALLED_WITH_EVEN_MODULUS 102 29 | # define BN_R_DIV_BY_ZERO 103 30 | # define BN_R_ENCODING_ERROR 104 31 | # define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105 32 | # define BN_R_INPUT_NOT_REDUCED 110 33 | # define BN_R_INVALID_LENGTH 106 34 | # define BN_R_INVALID_RANGE 115 35 | # define BN_R_INVALID_SHIFT 119 36 | # define BN_R_NOT_A_SQUARE 111 37 | # define BN_R_NOT_INITIALIZED 107 38 | # define BN_R_NO_INVERSE 108 39 | # define BN_R_NO_PRIME_CANDIDATE 121 40 | # define BN_R_NO_SOLUTION 116 41 | # define BN_R_NO_SUITABLE_DIGEST 120 42 | # define BN_R_PRIVATE_KEY_TOO_LARGE 117 43 | # define BN_R_P_IS_NOT_PRIME 112 44 | # define BN_R_TOO_MANY_ITERATIONS 113 45 | # define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/buffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_BUFFER_H 11 | # define OPENSSL_BUFFER_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_BUFFER_H 17 | # endif 18 | 19 | # include 20 | # ifndef OPENSSL_CRYPTO_H 21 | # include 22 | # endif 23 | # include 24 | 25 | 26 | #ifdef __cplusplus 27 | extern "C" { 28 | #endif 29 | 30 | # include 31 | # include 32 | 33 | # ifndef OPENSSL_NO_DEPRECATED_3_0 34 | # define BUF_strdup(s) OPENSSL_strdup(s) 35 | # define BUF_strndup(s, size) OPENSSL_strndup(s, size) 36 | # define BUF_memdup(data, size) OPENSSL_memdup(data, size) 37 | # define BUF_strlcpy(dst, src, size) OPENSSL_strlcpy(dst, src, size) 38 | # define BUF_strlcat(dst, src, size) OPENSSL_strlcat(dst, src, size) 39 | # define BUF_strnlen(str, maxlen) OPENSSL_strnlen(str, maxlen) 40 | # endif 41 | 42 | struct buf_mem_st { 43 | size_t length; /* current number of bytes */ 44 | char *data; 45 | size_t max; /* size of buffer */ 46 | unsigned long flags; 47 | }; 48 | 49 | # define BUF_MEM_FLAG_SECURE 0x01 50 | 51 | BUF_MEM *BUF_MEM_new(void); 52 | BUF_MEM *BUF_MEM_new_ex(unsigned long flags); 53 | void BUF_MEM_free(BUF_MEM *a); 54 | size_t BUF_MEM_grow(BUF_MEM *str, size_t len); 55 | size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len); 56 | void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz); 57 | 58 | 59 | # ifdef __cplusplus 60 | } 61 | # endif 62 | #endif 63 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/buffererr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_BUFFERERR_H 12 | # define OPENSSL_BUFFERERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * BUF reason codes. 23 | */ 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/camellia.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_CAMELLIA_H 11 | # define OPENSSL_CAMELLIA_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_CAMELLIA_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_CAMELLIA 22 | # include 23 | #ifdef __cplusplus 24 | extern "C" { 25 | #endif 26 | 27 | # define CAMELLIA_BLOCK_SIZE 16 28 | 29 | # ifndef OPENSSL_NO_DEPRECATED_3_0 30 | 31 | # define CAMELLIA_ENCRYPT 1 32 | # define CAMELLIA_DECRYPT 0 33 | 34 | /* 35 | * Because array size can't be a const in C, the following two are macros. 36 | * Both sizes are in bytes. 37 | */ 38 | 39 | /* This should be a hidden type, but EVP requires that the size be known */ 40 | 41 | # define CAMELLIA_TABLE_BYTE_LEN 272 42 | # define CAMELLIA_TABLE_WORD_LEN (CAMELLIA_TABLE_BYTE_LEN / 4) 43 | 44 | typedef unsigned int KEY_TABLE_TYPE[CAMELLIA_TABLE_WORD_LEN]; /* to match 45 | * with WORD */ 46 | 47 | struct camellia_key_st { 48 | union { 49 | double d; /* ensures 64-bit align */ 50 | KEY_TABLE_TYPE rd_key; 51 | } u; 52 | int grand_rounds; 53 | }; 54 | typedef struct camellia_key_st CAMELLIA_KEY; 55 | 56 | # endif /* OPENSSL_NO_DEPRECATED_3_0 */ 57 | # ifndef OPENSSL_NO_DEPRECATED_3_0 58 | OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey, 59 | const int bits, 60 | CAMELLIA_KEY *key); 61 | OSSL_DEPRECATEDIN_3_0 void Camellia_encrypt(const unsigned char *in, 62 | unsigned char *out, 63 | const CAMELLIA_KEY *key); 64 | OSSL_DEPRECATEDIN_3_0 void Camellia_decrypt(const unsigned char *in, 65 | unsigned char *out, 66 | const CAMELLIA_KEY *key); 67 | OSSL_DEPRECATEDIN_3_0 void Camellia_ecb_encrypt(const unsigned char *in, 68 | unsigned char *out, 69 | const CAMELLIA_KEY *key, 70 | const int enc); 71 | OSSL_DEPRECATEDIN_3_0 void Camellia_cbc_encrypt(const unsigned char *in, 72 | unsigned char *out, 73 | size_t length, 74 | const CAMELLIA_KEY *key, 75 | unsigned char *ivec, 76 | const int enc); 77 | OSSL_DEPRECATEDIN_3_0 void Camellia_cfb128_encrypt(const unsigned char *in, 78 | unsigned char *out, 79 | size_t length, 80 | const CAMELLIA_KEY *key, 81 | unsigned char *ivec, 82 | int *num, 83 | const int enc); 84 | OSSL_DEPRECATEDIN_3_0 void Camellia_cfb1_encrypt(const unsigned char *in, 85 | unsigned char *out, 86 | size_t length, 87 | const CAMELLIA_KEY *key, 88 | unsigned char *ivec, 89 | int *num, 90 | const int enc); 91 | OSSL_DEPRECATEDIN_3_0 void Camellia_cfb8_encrypt(const unsigned char *in, 92 | unsigned char *out, 93 | size_t length, 94 | const CAMELLIA_KEY *key, 95 | unsigned char *ivec, 96 | int *num, 97 | const int enc); 98 | OSSL_DEPRECATEDIN_3_0 void Camellia_ofb128_encrypt(const unsigned char *in, 99 | unsigned char *out, 100 | size_t length, 101 | const CAMELLIA_KEY *key, 102 | unsigned char *ivec, 103 | int *num); 104 | OSSL_DEPRECATEDIN_3_0 105 | void Camellia_ctr128_encrypt(const unsigned char *in, unsigned char *out, 106 | size_t length, const CAMELLIA_KEY *key, 107 | unsigned char ivec[CAMELLIA_BLOCK_SIZE], 108 | unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE], 109 | unsigned int *num); 110 | # endif 111 | 112 | # ifdef __cplusplus 113 | } 114 | # endif 115 | # endif 116 | 117 | #endif 118 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/cast.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_CAST_H 11 | # define OPENSSL_CAST_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_CAST_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_CAST 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | # define CAST_BLOCK 8 27 | # define CAST_KEY_LENGTH 16 28 | 29 | # ifndef OPENSSL_NO_DEPRECATED_3_0 30 | 31 | # define CAST_ENCRYPT 1 32 | # define CAST_DECRYPT 0 33 | 34 | # define CAST_LONG unsigned int 35 | 36 | typedef struct cast_key_st { 37 | CAST_LONG data[32]; 38 | int short_key; /* Use reduced rounds for short key */ 39 | } CAST_KEY; 40 | 41 | # endif /* OPENSSL_NO_DEPRECATED_3_0 */ 42 | # ifndef OPENSSL_NO_DEPRECATED_3_0 43 | OSSL_DEPRECATEDIN_3_0 44 | void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data); 45 | OSSL_DEPRECATEDIN_3_0 46 | void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, 47 | const CAST_KEY *key, int enc); 48 | OSSL_DEPRECATEDIN_3_0 49 | void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key); 50 | OSSL_DEPRECATEDIN_3_0 51 | void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key); 52 | OSSL_DEPRECATEDIN_3_0 53 | void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, 54 | long length, const CAST_KEY *ks, unsigned char *iv, 55 | int enc); 56 | OSSL_DEPRECATEDIN_3_0 57 | void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, 58 | long length, const CAST_KEY *schedule, 59 | unsigned char *ivec, int *num, int enc); 60 | OSSL_DEPRECATEDIN_3_0 61 | void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out, 62 | long length, const CAST_KEY *schedule, 63 | unsigned char *ivec, int *num); 64 | # endif 65 | 66 | # ifdef __cplusplus 67 | } 68 | # endif 69 | # endif 70 | 71 | #endif 72 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/cmac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_CMAC_H 11 | # define OPENSSL_CMAC_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_CMAC_H 17 | # endif 18 | 19 | # ifndef OPENSSL_NO_CMAC 20 | 21 | # ifdef __cplusplus 22 | extern "C" { 23 | # endif 24 | 25 | # include 26 | 27 | # ifndef OPENSSL_NO_DEPRECATED_3_0 28 | /* Opaque */ 29 | typedef struct CMAC_CTX_st CMAC_CTX; 30 | # endif 31 | # ifndef OPENSSL_NO_DEPRECATED_3_0 32 | OSSL_DEPRECATEDIN_3_0 CMAC_CTX *CMAC_CTX_new(void); 33 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_cleanup(CMAC_CTX *ctx); 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); 35 | OSSL_DEPRECATEDIN_3_0 EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); 36 | OSSL_DEPRECATEDIN_3_0 int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); 37 | OSSL_DEPRECATEDIN_3_0 int CMAC_Init(CMAC_CTX *ctx, 38 | const void *key, size_t keylen, 39 | const EVP_CIPHER *cipher, ENGINE *impl); 40 | OSSL_DEPRECATEDIN_3_0 int CMAC_Update(CMAC_CTX *ctx, 41 | const void *data, size_t dlen); 42 | OSSL_DEPRECATEDIN_3_0 int CMAC_Final(CMAC_CTX *ctx, 43 | unsigned char *out, size_t *poutlen); 44 | OSSL_DEPRECATEDIN_3_0 int CMAC_resume(CMAC_CTX *ctx); 45 | # endif 46 | 47 | # ifdef __cplusplus 48 | } 49 | # endif 50 | 51 | # endif 52 | #endif 53 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/cmp_util.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * Copyright Nokia 2007-2019 4 | * Copyright Siemens AG 2015-2019 5 | * 6 | * Licensed under the Apache License 2.0 (the "License"). You may not use 7 | * this file except in compliance with the License. You can obtain a copy 8 | * in the file LICENSE in the source distribution or at 9 | * https://www.openssl.org/source/license.html 10 | */ 11 | 12 | #ifndef OPENSSL_CMP_UTIL_H 13 | # define OPENSSL_CMP_UTIL_H 14 | # pragma once 15 | 16 | # include 17 | # ifndef OPENSSL_NO_CMP 18 | 19 | # include 20 | # include 21 | 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | int OSSL_CMP_log_open(void); 27 | void OSSL_CMP_log_close(void); 28 | # define OSSL_CMP_LOG_PREFIX "CMP " 29 | 30 | /* 31 | * generalized logging/error callback mirroring the severity levels of syslog.h 32 | */ 33 | typedef int OSSL_CMP_severity; 34 | # define OSSL_CMP_LOG_EMERG 0 35 | # define OSSL_CMP_LOG_ALERT 1 36 | # define OSSL_CMP_LOG_CRIT 2 37 | # define OSSL_CMP_LOG_ERR 3 38 | # define OSSL_CMP_LOG_WARNING 4 39 | # define OSSL_CMP_LOG_NOTICE 5 40 | # define OSSL_CMP_LOG_INFO 6 41 | # define OSSL_CMP_LOG_DEBUG 7 42 | # define OSSL_CMP_LOG_TRACE 8 43 | # define OSSL_CMP_LOG_MAX OSSL_CMP_LOG_TRACE 44 | typedef int (*OSSL_CMP_log_cb_t)(const char *func, const char *file, int line, 45 | OSSL_CMP_severity level, const char *msg); 46 | 47 | int OSSL_CMP_print_to_bio(BIO *bio, const char *component, const char *file, 48 | int line, OSSL_CMP_severity level, const char *msg); 49 | /* use of the logging callback for outputting error queue */ 50 | void OSSL_CMP_print_errors_cb(OSSL_CMP_log_cb_t log_fn); 51 | 52 | # ifdef __cplusplus 53 | } 54 | # endif 55 | # endif /* !defined(OPENSSL_NO_CMP) */ 56 | #endif /* !defined(OPENSSL_CMP_UTIL_H) */ 57 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/comp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_COMP_H 11 | # define OPENSSL_COMP_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_COMP_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_COMP 22 | # include 23 | # include 24 | # ifdef __cplusplus 25 | extern "C" { 26 | # endif 27 | 28 | 29 | 30 | COMP_CTX *COMP_CTX_new(COMP_METHOD *meth); 31 | const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx); 32 | int COMP_CTX_get_type(const COMP_CTX* comp); 33 | int COMP_get_type(const COMP_METHOD *meth); 34 | const char *COMP_get_name(const COMP_METHOD *meth); 35 | void COMP_CTX_free(COMP_CTX *ctx); 36 | 37 | int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 38 | unsigned char *in, int ilen); 39 | int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, 40 | unsigned char *in, int ilen); 41 | 42 | COMP_METHOD *COMP_zlib(void); 43 | 44 | #ifndef OPENSSL_NO_DEPRECATED_1_1_0 45 | # define COMP_zlib_cleanup() while(0) continue 46 | #endif 47 | 48 | # ifdef OPENSSL_BIO_H 49 | # ifdef ZLIB 50 | const BIO_METHOD *BIO_f_zlib(void); 51 | # endif 52 | # endif 53 | 54 | 55 | # ifdef __cplusplus 56 | } 57 | # endif 58 | # endif 59 | #endif 60 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/comperr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_COMPERR_H 12 | # define OPENSSL_COMPERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_COMP 21 | 22 | 23 | /* 24 | * COMP reason codes. 25 | */ 26 | # define COMP_R_ZLIB_DEFLATE_ERROR 99 27 | # define COMP_R_ZLIB_INFLATE_ERROR 100 28 | # define COMP_R_ZLIB_NOT_SUPPORTED 101 29 | 30 | # endif 31 | #endif 32 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/conf_api.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_CONF_API_H 11 | # define OPENSSL_CONF_API_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_CONF_API_H 17 | # endif 18 | 19 | # include 20 | # include 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | /* Up until OpenSSL 0.9.5a, this was new_section */ 27 | CONF_VALUE *_CONF_new_section(CONF *conf, const char *section); 28 | /* Up until OpenSSL 0.9.5a, this was get_section */ 29 | CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section); 30 | /* Up until OpenSSL 0.9.5a, this was CONF_get_section */ 31 | STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, 32 | const char *section); 33 | 34 | int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); 35 | char *_CONF_get_string(const CONF *conf, const char *section, 36 | const char *name); 37 | long _CONF_get_number(const CONF *conf, const char *section, 38 | const char *name); 39 | 40 | int _CONF_new_data(CONF *conf); 41 | void _CONF_free_data(CONF *conf); 42 | 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | #endif 47 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/conferr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_CONFERR_H 12 | # define OPENSSL_CONFERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * CONF reason codes. 23 | */ 24 | # define CONF_R_ERROR_LOADING_DSO 110 25 | # define CONF_R_INVALID_PRAGMA 122 26 | # define CONF_R_LIST_CANNOT_BE_NULL 115 27 | # define CONF_R_MANDATORY_BRACES_IN_VARIABLE_EXPANSION 123 28 | # define CONF_R_MISSING_CLOSE_SQUARE_BRACKET 100 29 | # define CONF_R_MISSING_EQUAL_SIGN 101 30 | # define CONF_R_MISSING_INIT_FUNCTION 112 31 | # define CONF_R_MODULE_INITIALIZATION_ERROR 109 32 | # define CONF_R_NO_CLOSE_BRACE 102 33 | # define CONF_R_NO_CONF 105 34 | # define CONF_R_NO_CONF_OR_ENVIRONMENT_VARIABLE 106 35 | # define CONF_R_NO_SECTION 107 36 | # define CONF_R_NO_SUCH_FILE 114 37 | # define CONF_R_NO_VALUE 108 38 | # define CONF_R_NUMBER_TOO_LARGE 121 39 | # define CONF_R_OPENSSL_CONF_REFERENCES_MISSING_SECTION 124 40 | # define CONF_R_RECURSIVE_DIRECTORY_INCLUDE 111 41 | # define CONF_R_RECURSIVE_SECTION_REFERENCE 126 42 | # define CONF_R_RELATIVE_PATH 125 43 | # define CONF_R_SSL_COMMAND_SECTION_EMPTY 117 44 | # define CONF_R_SSL_COMMAND_SECTION_NOT_FOUND 118 45 | # define CONF_R_SSL_SECTION_EMPTY 119 46 | # define CONF_R_SSL_SECTION_NOT_FOUND 120 47 | # define CONF_R_UNABLE_TO_CREATE_NEW_SECTION 103 48 | # define CONF_R_UNKNOWN_MODULE_NAME 113 49 | # define CONF_R_VARIABLE_EXPANSION_TOO_LONG 116 50 | # define CONF_R_VARIABLE_HAS_NO_VALUE 104 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/configuration.h: -------------------------------------------------------------------------------- 1 | /* 2 | * WARNING: do not edit! 3 | * Generated by configdata.pm from Configurations\common0.tmpl, Configurations\windows-makefile.tmpl 4 | * via makefile.in 5 | * 6 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. 7 | * 8 | * Licensed under the Apache License 2.0 (the "License"). You may not use 9 | * this file except in compliance with the License. You can obtain a copy 10 | * in the file LICENSE in the source distribution or at 11 | * https://www.openssl.org/source/license.html 12 | */ 13 | 14 | #ifndef OPENSSL_CONFIGURATION_H 15 | # define OPENSSL_CONFIGURATION_H 16 | # pragma once 17 | 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | # ifdef OPENSSL_ALGORITHM_DEFINES 23 | # error OPENSSL_ALGORITHM_DEFINES no longer supported 24 | # endif 25 | 26 | /* 27 | * OpenSSL was configured with the following options: 28 | */ 29 | 30 | # ifndef OPENSSL_SYS_WIN32 31 | # define OPENSSL_SYS_WIN32 1 32 | # endif 33 | # define OPENSSL_CONFIGURED_API 30000 34 | # ifndef OPENSSL_RAND_SEED_OS 35 | # define OPENSSL_RAND_SEED_OS 36 | # endif 37 | # ifndef OPENSSL_THREADS 38 | # define OPENSSL_THREADS 39 | # endif 40 | # ifndef OPENSSL_NO_ACVP_TESTS 41 | # define OPENSSL_NO_ACVP_TESTS 42 | # endif 43 | # ifndef OPENSSL_NO_AFALGENG 44 | # define OPENSSL_NO_AFALGENG 45 | # endif 46 | # ifndef OPENSSL_NO_ASAN 47 | # define OPENSSL_NO_ASAN 48 | # endif 49 | # ifndef OPENSSL_NO_ASM 50 | # define OPENSSL_NO_ASM 51 | # endif 52 | # ifndef OPENSSL_NO_CRYPTO_MDEBUG 53 | # define OPENSSL_NO_CRYPTO_MDEBUG 54 | # endif 55 | # ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE 56 | # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE 57 | # endif 58 | # ifndef OPENSSL_NO_DEVCRYPTOENG 59 | # define OPENSSL_NO_DEVCRYPTOENG 60 | # endif 61 | # ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 62 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 63 | # endif 64 | # ifndef OPENSSL_NO_EGD 65 | # define OPENSSL_NO_EGD 66 | # endif 67 | # ifndef OPENSSL_NO_EXTERNAL_TESTS 68 | # define OPENSSL_NO_EXTERNAL_TESTS 69 | # endif 70 | # ifndef OPENSSL_NO_FIPS_SECURITYCHECKS 71 | # define OPENSSL_NO_FIPS_SECURITYCHECKS 72 | # endif 73 | # ifndef OPENSSL_NO_FUZZ_AFL 74 | # define OPENSSL_NO_FUZZ_AFL 75 | # endif 76 | # ifndef OPENSSL_NO_FUZZ_LIBFUZZER 77 | # define OPENSSL_NO_FUZZ_LIBFUZZER 78 | # endif 79 | # ifndef OPENSSL_NO_KTLS 80 | # define OPENSSL_NO_KTLS 81 | # endif 82 | # ifndef OPENSSL_NO_LOADERENG 83 | # define OPENSSL_NO_LOADERENG 84 | # endif 85 | # ifndef OPENSSL_NO_MD2 86 | # define OPENSSL_NO_MD2 87 | # endif 88 | # ifndef OPENSSL_NO_MSAN 89 | # define OPENSSL_NO_MSAN 90 | # endif 91 | # ifndef OPENSSL_NO_RC5 92 | # define OPENSSL_NO_RC5 93 | # endif 94 | # ifndef OPENSSL_NO_SCTP 95 | # define OPENSSL_NO_SCTP 96 | # endif 97 | # ifndef OPENSSL_NO_SSL3 98 | # define OPENSSL_NO_SSL3 99 | # endif 100 | # ifndef OPENSSL_NO_SSL3_METHOD 101 | # define OPENSSL_NO_SSL3_METHOD 102 | # endif 103 | # ifndef OPENSSL_NO_TESTS 104 | # define OPENSSL_NO_TESTS 105 | # endif 106 | # ifndef OPENSSL_NO_TRACE 107 | # define OPENSSL_NO_TRACE 108 | # endif 109 | # ifndef OPENSSL_NO_UBSAN 110 | # define OPENSSL_NO_UBSAN 111 | # endif 112 | # ifndef OPENSSL_NO_UNIT_TEST 113 | # define OPENSSL_NO_UNIT_TEST 114 | # endif 115 | # ifndef OPENSSL_NO_UPLINK 116 | # define OPENSSL_NO_UPLINK 117 | # endif 118 | # ifndef OPENSSL_NO_WEAK_SSL_CIPHERS 119 | # define OPENSSL_NO_WEAK_SSL_CIPHERS 120 | # endif 121 | # ifndef OPENSSL_NO_DYNAMIC_ENGINE 122 | # define OPENSSL_NO_DYNAMIC_ENGINE 123 | # endif 124 | 125 | 126 | /* Generate 80386 code? */ 127 | # undef I386_ONLY 128 | 129 | /* 130 | * The following are cipher-specific, but are part of the public API. 131 | */ 132 | # if !defined(OPENSSL_SYS_UEFI) 133 | # define BN_LLONG 134 | /* Only one for the following should be defined */ 135 | # undef SIXTY_FOUR_BIT_LONG 136 | # undef SIXTY_FOUR_BIT 137 | # define THIRTY_TWO_BIT 138 | # endif 139 | 140 | # define RC4_INT unsigned int 141 | 142 | # ifdef __cplusplus 143 | } 144 | # endif 145 | 146 | #endif /* OPENSSL_CONFIGURATION_H */ 147 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/conftypes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_CONFTYPES_H 11 | # define OPENSSL_CONFTYPES_H 12 | # pragma once 13 | 14 | #ifndef OPENSSL_CONF_H 15 | # include 16 | #endif 17 | 18 | /* 19 | * The contents of this file are deprecated and will be made opaque 20 | */ 21 | struct conf_method_st { 22 | const char *name; 23 | CONF *(*create) (CONF_METHOD *meth); 24 | int (*init) (CONF *conf); 25 | int (*destroy) (CONF *conf); 26 | int (*destroy_data) (CONF *conf); 27 | int (*load_bio) (CONF *conf, BIO *bp, long *eline); 28 | int (*dump) (const CONF *conf, BIO *bp); 29 | int (*is_number) (const CONF *conf, char c); 30 | int (*to_int) (const CONF *conf, char c); 31 | int (*load) (CONF *conf, const char *name, long *eline); 32 | }; 33 | 34 | struct conf_st { 35 | CONF_METHOD *meth; 36 | void *meth_data; 37 | LHASH_OF(CONF_VALUE) *data; 38 | int flag_dollarid; 39 | int flag_abspath; 40 | char *includedir; 41 | OSSL_LIB_CTX *libctx; 42 | }; 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/core_object.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_CORE_OBJECT_H 11 | # define OPENSSL_CORE_OBJECT_H 12 | # pragma once 13 | 14 | # ifdef __cplusplus 15 | extern "C" { 16 | # endif 17 | 18 | /*- 19 | * Known object types 20 | * 21 | * These numbers are used as values for the OSSL_PARAM parameter 22 | * OSSL_OBJECT_PARAM_TYPE. 23 | * 24 | * For most of these types, there's a corresponding libcrypto object type. 25 | * The corresponding type is indicated with a comment after the number. 26 | */ 27 | # define OSSL_OBJECT_UNKNOWN 0 28 | # define OSSL_OBJECT_NAME 1 /* char * */ 29 | # define OSSL_OBJECT_PKEY 2 /* EVP_PKEY * */ 30 | # define OSSL_OBJECT_CERT 3 /* X509 * */ 31 | # define OSSL_OBJECT_CRL 4 /* X509_CRL * */ 32 | 33 | /* 34 | * The rest of the associated OSSL_PARAM elements is described in core_names.h 35 | */ 36 | 37 | # ifdef __cplusplus 38 | } 39 | # endif 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/crmferr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_CRMFERR_H 12 | # define OPENSSL_CRMFERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_CRMF 21 | 22 | 23 | /* 24 | * CRMF reason codes. 25 | */ 26 | # define CRMF_R_BAD_PBM_ITERATIONCOUNT 100 27 | # define CRMF_R_CRMFERROR 102 28 | # define CRMF_R_ERROR 103 29 | # define CRMF_R_ERROR_DECODING_CERTIFICATE 104 30 | # define CRMF_R_ERROR_DECRYPTING_CERTIFICATE 105 31 | # define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY 106 32 | # define CRMF_R_FAILURE_OBTAINING_RANDOM 107 33 | # define CRMF_R_ITERATIONCOUNT_BELOW_100 108 34 | # define CRMF_R_MALFORMED_IV 101 35 | # define CRMF_R_NULL_ARGUMENT 109 36 | # define CRMF_R_POPOSKINPUT_NOT_SUPPORTED 113 37 | # define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY 117 38 | # define CRMF_R_POPO_MISSING 121 39 | # define CRMF_R_POPO_MISSING_PUBLIC_KEY 118 40 | # define CRMF_R_POPO_MISSING_SUBJECT 119 41 | # define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED 120 42 | # define CRMF_R_SETTING_MAC_ALGOR_FAILURE 110 43 | # define CRMF_R_SETTING_OWF_ALGOR_FAILURE 111 44 | # define CRMF_R_UNSUPPORTED_ALGORITHM 112 45 | # define CRMF_R_UNSUPPORTED_CIPHER 114 46 | # define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO 115 47 | # define CRMF_R_UNSUPPORTED_POPO_METHOD 116 48 | 49 | # endif 50 | #endif 51 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/cryptoerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_CRYPTOERR_H 12 | # define OPENSSL_CRYPTOERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * CRYPTO reason codes. 23 | */ 24 | # define CRYPTO_R_BAD_ALGORITHM_NAME 117 25 | # define CRYPTO_R_CONFLICTING_NAMES 118 26 | # define CRYPTO_R_HEX_STRING_TOO_SHORT 121 27 | # define CRYPTO_R_ILLEGAL_HEX_DIGIT 102 28 | # define CRYPTO_R_INSUFFICIENT_DATA_SPACE 106 29 | # define CRYPTO_R_INSUFFICIENT_PARAM_SIZE 107 30 | # define CRYPTO_R_INSUFFICIENT_SECURE_DATA_SPACE 108 31 | # define CRYPTO_R_INVALID_NEGATIVE_VALUE 122 32 | # define CRYPTO_R_INVALID_NULL_ARGUMENT 109 33 | # define CRYPTO_R_INVALID_OSSL_PARAM_TYPE 110 34 | # define CRYPTO_R_ODD_NUMBER_OF_DIGITS 103 35 | # define CRYPTO_R_PROVIDER_ALREADY_EXISTS 104 36 | # define CRYPTO_R_PROVIDER_SECTION_ERROR 105 37 | # define CRYPTO_R_RANDOM_SECTION_ERROR 119 38 | # define CRYPTO_R_SECURE_MALLOC_FAILURE 111 39 | # define CRYPTO_R_STRING_TOO_LONG 112 40 | # define CRYPTO_R_TOO_MANY_BYTES 113 41 | # define CRYPTO_R_TOO_MANY_RECORDS 114 42 | # define CRYPTO_R_TOO_SMALL_BUFFER 116 43 | # define CRYPTO_R_UNKNOWN_NAME_IN_RANDOM_SECTION 120 44 | # define CRYPTO_R_ZERO_LENGTH_NUMBER 115 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/cterr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_CTERR_H 12 | # define OPENSSL_CTERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_CT 21 | 22 | 23 | /* 24 | * CT reason codes. 25 | */ 26 | # define CT_R_BASE64_DECODE_ERROR 108 27 | # define CT_R_INVALID_LOG_ID_LENGTH 100 28 | # define CT_R_LOG_CONF_INVALID 109 29 | # define CT_R_LOG_CONF_INVALID_KEY 110 30 | # define CT_R_LOG_CONF_MISSING_DESCRIPTION 111 31 | # define CT_R_LOG_CONF_MISSING_KEY 112 32 | # define CT_R_LOG_KEY_INVALID 113 33 | # define CT_R_SCT_FUTURE_TIMESTAMP 116 34 | # define CT_R_SCT_INVALID 104 35 | # define CT_R_SCT_INVALID_SIGNATURE 107 36 | # define CT_R_SCT_LIST_INVALID 105 37 | # define CT_R_SCT_LOG_ID_MISMATCH 114 38 | # define CT_R_SCT_NOT_SET 106 39 | # define CT_R_SCT_UNSUPPORTED_VERSION 115 40 | # define CT_R_UNRECOGNIZED_SIGNATURE_NID 101 41 | # define CT_R_UNSUPPORTED_ENTRY_TYPE 102 42 | # define CT_R_UNSUPPORTED_VERSION 103 43 | 44 | # endif 45 | #endif 46 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/decodererr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_DECODERERR_H 12 | # define OPENSSL_DECODERERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * OSSL_DECODER reason codes. 23 | */ 24 | # define OSSL_DECODER_R_COULD_NOT_DECODE_OBJECT 101 25 | # define OSSL_DECODER_R_DECODER_NOT_FOUND 102 26 | # define OSSL_DECODER_R_MISSING_GET_PARAMS 100 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/dherr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_DHERR_H 12 | # define OPENSSL_DHERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_DH 21 | 22 | 23 | /* 24 | * DH reason codes. 25 | */ 26 | # define DH_R_BAD_FFC_PARAMETERS 127 27 | # define DH_R_BAD_GENERATOR 101 28 | # define DH_R_BN_DECODE_ERROR 109 29 | # define DH_R_BN_ERROR 106 30 | # define DH_R_CHECK_INVALID_J_VALUE 115 31 | # define DH_R_CHECK_INVALID_Q_VALUE 116 32 | # define DH_R_CHECK_PUBKEY_INVALID 122 33 | # define DH_R_CHECK_PUBKEY_TOO_LARGE 123 34 | # define DH_R_CHECK_PUBKEY_TOO_SMALL 124 35 | # define DH_R_CHECK_P_NOT_PRIME 117 36 | # define DH_R_CHECK_P_NOT_SAFE_PRIME 118 37 | # define DH_R_CHECK_Q_NOT_PRIME 119 38 | # define DH_R_DECODE_ERROR 104 39 | # define DH_R_INVALID_PARAMETER_NAME 110 40 | # define DH_R_INVALID_PARAMETER_NID 114 41 | # define DH_R_INVALID_PUBKEY 102 42 | # define DH_R_INVALID_SECRET 128 43 | # define DH_R_KDF_PARAMETER_ERROR 112 44 | # define DH_R_KEYS_NOT_SET 108 45 | # define DH_R_MISSING_PUBKEY 125 46 | # define DH_R_MODULUS_TOO_LARGE 103 47 | # define DH_R_MODULUS_TOO_SMALL 126 48 | # define DH_R_NOT_SUITABLE_GENERATOR 120 49 | # define DH_R_NO_PARAMETERS_SET 107 50 | # define DH_R_NO_PRIVATE_VALUE 100 51 | # define DH_R_PARAMETER_ENCODING_ERROR 105 52 | # define DH_R_PEER_KEY_ERROR 111 53 | # define DH_R_Q_TOO_LARGE 130 54 | # define DH_R_SHARED_INFO_ERROR 113 55 | # define DH_R_UNABLE_TO_CHECK_GENERATOR 121 56 | 57 | # endif 58 | #endif 59 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/dsaerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_DSAERR_H 12 | # define OPENSSL_DSAERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_DSA 21 | 22 | 23 | /* 24 | * DSA reason codes. 25 | */ 26 | # define DSA_R_BAD_FFC_PARAMETERS 114 27 | # define DSA_R_BAD_Q_VALUE 102 28 | # define DSA_R_BN_DECODE_ERROR 108 29 | # define DSA_R_BN_ERROR 109 30 | # define DSA_R_DECODE_ERROR 104 31 | # define DSA_R_INVALID_DIGEST_TYPE 106 32 | # define DSA_R_INVALID_PARAMETERS 112 33 | # define DSA_R_MISSING_PARAMETERS 101 34 | # define DSA_R_MISSING_PRIVATE_KEY 111 35 | # define DSA_R_MODULUS_TOO_LARGE 103 36 | # define DSA_R_NO_PARAMETERS_SET 107 37 | # define DSA_R_PARAMETER_ENCODING_ERROR 105 38 | # define DSA_R_P_NOT_PRIME 115 39 | # define DSA_R_Q_NOT_PRIME 113 40 | # define DSA_R_SEED_LEN_SMALL 110 41 | # define DSA_R_TOO_MANY_RETRIES 116 42 | 43 | # endif 44 | #endif 45 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/dtls1.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_DTLS1_H 11 | # define OPENSSL_DTLS1_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_DTLS1_H 17 | # endif 18 | 19 | # include 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | #include 26 | 27 | /* DTLS*_VERSION constants are defined in prov_ssl.h */ 28 | # ifndef OPENSSL_NO_DEPRECATED_3_0 29 | # define DTLS_MIN_VERSION DTLS1_VERSION 30 | # define DTLS_MAX_VERSION DTLS1_2_VERSION 31 | # endif 32 | # define DTLS1_VERSION_MAJOR 0xFE 33 | 34 | /* Special value for method supporting multiple versions */ 35 | # define DTLS_ANY_VERSION 0x1FFFF 36 | 37 | /* lengths of messages */ 38 | 39 | # define DTLS1_COOKIE_LENGTH 255 40 | 41 | # define DTLS1_RT_HEADER_LENGTH 13 42 | 43 | # define DTLS1_HM_HEADER_LENGTH 12 44 | 45 | # define DTLS1_HM_BAD_FRAGMENT -2 46 | # define DTLS1_HM_FRAGMENT_RETRY -3 47 | 48 | # define DTLS1_CCS_HEADER_LENGTH 1 49 | 50 | # define DTLS1_AL_HEADER_LENGTH 2 51 | 52 | # define DTLS1_TMO_ALERT_COUNT 12 53 | 54 | #ifdef __cplusplus 55 | } 56 | #endif 57 | #endif 58 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_EBCDIC_H 11 | # define OPENSSL_EBCDIC_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_EBCDIC_H 17 | # endif 18 | 19 | # include 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | /* Avoid name clashes with other applications */ 26 | # define os_toascii _openssl_os_toascii 27 | # define os_toebcdic _openssl_os_toebcdic 28 | # define ebcdic2ascii _openssl_ebcdic2ascii 29 | # define ascii2ebcdic _openssl_ascii2ebcdic 30 | 31 | extern const unsigned char os_toascii[256]; 32 | extern const unsigned char os_toebcdic[256]; 33 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 34 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | #endif 40 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ecdh.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ecdsa.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ecerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_ECERR_H 12 | # define OPENSSL_ECERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_EC 21 | 22 | 23 | /* 24 | * EC reason codes. 25 | */ 26 | # define EC_R_ASN1_ERROR 115 27 | # define EC_R_BAD_SIGNATURE 156 28 | # define EC_R_BIGNUM_OUT_OF_RANGE 144 29 | # define EC_R_BUFFER_TOO_SMALL 100 30 | # define EC_R_CANNOT_INVERT 165 31 | # define EC_R_COORDINATES_OUT_OF_RANGE 146 32 | # define EC_R_CURVE_DOES_NOT_SUPPORT_ECDH 160 33 | # define EC_R_CURVE_DOES_NOT_SUPPORT_ECDSA 170 34 | # define EC_R_CURVE_DOES_NOT_SUPPORT_SIGNING 159 35 | # define EC_R_DECODE_ERROR 142 36 | # define EC_R_DISCRIMINANT_IS_ZERO 118 37 | # define EC_R_EC_GROUP_NEW_BY_NAME_FAILURE 119 38 | # define EC_R_EXPLICIT_PARAMS_NOT_SUPPORTED 127 39 | # define EC_R_FAILED_MAKING_PUBLIC_KEY 166 40 | # define EC_R_FIELD_TOO_LARGE 143 41 | # define EC_R_GF2M_NOT_SUPPORTED 147 42 | # define EC_R_GROUP2PKPARAMETERS_FAILURE 120 43 | # define EC_R_I2D_ECPKPARAMETERS_FAILURE 121 44 | # define EC_R_INCOMPATIBLE_OBJECTS 101 45 | # define EC_R_INVALID_A 168 46 | # define EC_R_INVALID_ARGUMENT 112 47 | # define EC_R_INVALID_B 169 48 | # define EC_R_INVALID_COFACTOR 171 49 | # define EC_R_INVALID_COMPRESSED_POINT 110 50 | # define EC_R_INVALID_COMPRESSION_BIT 109 51 | # define EC_R_INVALID_CURVE 141 52 | # define EC_R_INVALID_DIGEST 151 53 | # define EC_R_INVALID_DIGEST_TYPE 138 54 | # define EC_R_INVALID_ENCODING 102 55 | # define EC_R_INVALID_FIELD 103 56 | # define EC_R_INVALID_FORM 104 57 | # define EC_R_INVALID_GENERATOR 173 58 | # define EC_R_INVALID_GROUP_ORDER 122 59 | # define EC_R_INVALID_KEY 116 60 | # define EC_R_INVALID_LENGTH 117 61 | # define EC_R_INVALID_NAMED_GROUP_CONVERSION 174 62 | # define EC_R_INVALID_OUTPUT_LENGTH 161 63 | # define EC_R_INVALID_P 172 64 | # define EC_R_INVALID_PEER_KEY 133 65 | # define EC_R_INVALID_PENTANOMIAL_BASIS 132 66 | # define EC_R_INVALID_PRIVATE_KEY 123 67 | # define EC_R_INVALID_SEED 175 68 | # define EC_R_INVALID_TRINOMIAL_BASIS 137 69 | # define EC_R_KDF_PARAMETER_ERROR 148 70 | # define EC_R_KEYS_NOT_SET 140 71 | # define EC_R_LADDER_POST_FAILURE 136 72 | # define EC_R_LADDER_PRE_FAILURE 153 73 | # define EC_R_LADDER_STEP_FAILURE 162 74 | # define EC_R_MISSING_OID 167 75 | # define EC_R_MISSING_PARAMETERS 124 76 | # define EC_R_MISSING_PRIVATE_KEY 125 77 | # define EC_R_NEED_NEW_SETUP_VALUES 157 78 | # define EC_R_NOT_A_NIST_PRIME 135 79 | # define EC_R_NOT_IMPLEMENTED 126 80 | # define EC_R_NOT_INITIALIZED 111 81 | # define EC_R_NO_PARAMETERS_SET 139 82 | # define EC_R_NO_PRIVATE_VALUE 154 83 | # define EC_R_OPERATION_NOT_SUPPORTED 152 84 | # define EC_R_PASSED_NULL_PARAMETER 134 85 | # define EC_R_PEER_KEY_ERROR 149 86 | # define EC_R_POINT_ARITHMETIC_FAILURE 155 87 | # define EC_R_POINT_AT_INFINITY 106 88 | # define EC_R_POINT_COORDINATES_BLIND_FAILURE 163 89 | # define EC_R_POINT_IS_NOT_ON_CURVE 107 90 | # define EC_R_RANDOM_NUMBER_GENERATION_FAILED 158 91 | # define EC_R_SHARED_INFO_ERROR 150 92 | # define EC_R_SLOT_FULL 108 93 | # define EC_R_TOO_MANY_RETRIES 176 94 | # define EC_R_UNDEFINED_GENERATOR 113 95 | # define EC_R_UNDEFINED_ORDER 128 96 | # define EC_R_UNKNOWN_COFACTOR 164 97 | # define EC_R_UNKNOWN_GROUP 129 98 | # define EC_R_UNKNOWN_ORDER 114 99 | # define EC_R_UNSUPPORTED_FIELD 131 100 | # define EC_R_WRONG_CURVE_PARAMETERS 145 101 | # define EC_R_WRONG_ORDER 130 102 | 103 | # endif 104 | #endif 105 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/encodererr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_ENCODERERR_H 12 | # define OPENSSL_ENCODERERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * OSSL_ENCODER reason codes. 23 | */ 24 | # define OSSL_ENCODER_R_ENCODER_NOT_FOUND 101 25 | # define OSSL_ENCODER_R_INCORRECT_PROPERTY_QUERY 100 26 | # define OSSL_ENCODER_R_MISSING_GET_PARAMS 102 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/engineerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_ENGINEERR_H 12 | # define OPENSSL_ENGINEERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_ENGINE 21 | 22 | 23 | /* 24 | * ENGINE reason codes. 25 | */ 26 | # define ENGINE_R_ALREADY_LOADED 100 27 | # define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER 133 28 | # define ENGINE_R_CMD_NOT_EXECUTABLE 134 29 | # define ENGINE_R_COMMAND_TAKES_INPUT 135 30 | # define ENGINE_R_COMMAND_TAKES_NO_INPUT 136 31 | # define ENGINE_R_CONFLICTING_ENGINE_ID 103 32 | # define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED 119 33 | # define ENGINE_R_DSO_FAILURE 104 34 | # define ENGINE_R_DSO_NOT_FOUND 132 35 | # define ENGINE_R_ENGINES_SECTION_ERROR 148 36 | # define ENGINE_R_ENGINE_CONFIGURATION_ERROR 102 37 | # define ENGINE_R_ENGINE_IS_NOT_IN_LIST 105 38 | # define ENGINE_R_ENGINE_SECTION_ERROR 149 39 | # define ENGINE_R_FAILED_LOADING_PRIVATE_KEY 128 40 | # define ENGINE_R_FAILED_LOADING_PUBLIC_KEY 129 41 | # define ENGINE_R_FINISH_FAILED 106 42 | # define ENGINE_R_ID_OR_NAME_MISSING 108 43 | # define ENGINE_R_INIT_FAILED 109 44 | # define ENGINE_R_INTERNAL_LIST_ERROR 110 45 | # define ENGINE_R_INVALID_ARGUMENT 143 46 | # define ENGINE_R_INVALID_CMD_NAME 137 47 | # define ENGINE_R_INVALID_CMD_NUMBER 138 48 | # define ENGINE_R_INVALID_INIT_VALUE 151 49 | # define ENGINE_R_INVALID_STRING 150 50 | # define ENGINE_R_NOT_INITIALISED 117 51 | # define ENGINE_R_NOT_LOADED 112 52 | # define ENGINE_R_NO_CONTROL_FUNCTION 120 53 | # define ENGINE_R_NO_INDEX 144 54 | # define ENGINE_R_NO_LOAD_FUNCTION 125 55 | # define ENGINE_R_NO_REFERENCE 130 56 | # define ENGINE_R_NO_SUCH_ENGINE 116 57 | # define ENGINE_R_UNIMPLEMENTED_CIPHER 146 58 | # define ENGINE_R_UNIMPLEMENTED_DIGEST 147 59 | # define ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD 101 60 | # define ENGINE_R_VERSION_INCOMPATIBILITY 145 61 | 62 | # endif 63 | #endif 64 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/esserr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_ESSERR_H 12 | # define OPENSSL_ESSERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | /* 20 | * ESS reason codes. 21 | */ 22 | # define ESS_R_EMPTY_ESS_CERT_ID_LIST 107 23 | # define ESS_R_ESS_CERT_DIGEST_ERROR 103 24 | # define ESS_R_ESS_CERT_ID_NOT_FOUND 104 25 | # define ESS_R_ESS_CERT_ID_WRONG_ORDER 105 26 | # define ESS_R_ESS_DIGEST_ALG_UNKNOWN 106 27 | # define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR 102 28 | # define ESS_R_ESS_SIGNING_CERT_ADD_ERROR 100 29 | # define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR 101 30 | # define ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE 108 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/fips_names.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_FIPS_NAMES_H 11 | # define OPENSSL_FIPS_NAMES_H 12 | # pragma once 13 | 14 | # ifdef __cplusplus 15 | extern "C" { 16 | # endif 17 | 18 | /* 19 | * Parameter names that the FIPS Provider defines 20 | */ 21 | 22 | /* 23 | * The calculated MAC of the module file (Used for FIPS Self Testing) 24 | * Type: OSSL_PARAM_UTF8_STRING 25 | */ 26 | # define OSSL_PROV_FIPS_PARAM_MODULE_MAC "module-mac" 27 | /* 28 | * A version number for the fips install process (Used for FIPS Self Testing) 29 | * Type: OSSL_PARAM_UTF8_STRING 30 | */ 31 | # define OSSL_PROV_FIPS_PARAM_INSTALL_VERSION "install-version" 32 | /* 33 | * The calculated MAC of the install status indicator (Used for FIPS Self Testing) 34 | * Type: OSSL_PARAM_UTF8_STRING 35 | */ 36 | # define OSSL_PROV_FIPS_PARAM_INSTALL_MAC "install-mac" 37 | /* 38 | * The install status indicator (Used for FIPS Self Testing) 39 | * Type: OSSL_PARAM_UTF8_STRING 40 | */ 41 | # define OSSL_PROV_FIPS_PARAM_INSTALL_STATUS "install-status" 42 | 43 | /* 44 | * A boolean that determines if the FIPS conditional test errors result in 45 | * the module entering an error state. 46 | * Type: OSSL_PARAM_UTF8_STRING 47 | */ 48 | # define OSSL_PROV_FIPS_PARAM_CONDITIONAL_ERRORS "conditional-errors" 49 | 50 | /* 51 | * A boolean that determines if the runtime FIPS security checks are performed. 52 | * Type: OSSL_PARAM_UTF8_STRING 53 | */ 54 | # define OSSL_PROV_FIPS_PARAM_SECURITY_CHECKS "security-checks" 55 | 56 | # ifdef __cplusplus 57 | } 58 | # endif 59 | 60 | #endif /* OPENSSL_FIPS_NAMES_H */ 61 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/fipskey.h: -------------------------------------------------------------------------------- 1 | /* 2 | * WARNING: do not edit! 3 | * Generated by makefile from include\openssl\fipskey.h.in 4 | * 5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 6 | * 7 | * Licensed under the Apache License 2.0 (the "License"). You may not use 8 | * this file except in compliance with the License. You can obtain a copy 9 | * in the file LICENSE in the source distribution or at 10 | * https://www.openssl.org/source/license.html 11 | */ 12 | 13 | #ifndef OPENSSL_FIPSKEY_H 14 | # define OPENSSL_FIPSKEY_H 15 | # pragma once 16 | 17 | # ifdef __cplusplus 18 | extern "C" { 19 | # endif 20 | 21 | /* 22 | * The FIPS validation HMAC key, usable as an array initializer. 23 | */ 24 | #define FIPS_KEY_ELEMENTS \ 25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13 26 | 27 | /* 28 | * The FIPS validation key, as a string. 29 | */ 30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813" 31 | 32 | # ifdef __cplusplus 33 | } 34 | # endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/hmac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_HMAC_H 11 | # define OPENSSL_HMAC_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_HMAC_H 17 | # endif 18 | 19 | # include 20 | 21 | # include 22 | 23 | # ifndef OPENSSL_NO_DEPRECATED_3_0 24 | # define HMAC_MAX_MD_CBLOCK 200 /* Deprecated */ 25 | # endif 26 | 27 | # ifdef __cplusplus 28 | extern "C" { 29 | # endif 30 | 31 | # ifndef OPENSSL_NO_DEPRECATED_3_0 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); 34 | OSSL_DEPRECATEDIN_3_0 int HMAC_CTX_reset(HMAC_CTX *ctx); 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); 36 | # endif 37 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, 39 | const void *key, int len, 40 | const EVP_MD *md); 41 | # endif 42 | # ifndef OPENSSL_NO_DEPRECATED_3_0 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, 44 | const EVP_MD *md, ENGINE *impl); 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, 46 | size_t len); 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, 48 | unsigned int *len); 49 | OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); 50 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags); 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); 52 | # endif 53 | 54 | unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, 55 | const unsigned char *data, size_t data_len, 56 | unsigned char *md, unsigned int *md_len); 57 | 58 | # ifdef __cplusplus 59 | } 60 | # endif 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/http.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * Copyright Siemens AG 2018-2020 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_HTTP_H 12 | # define OPENSSL_HTTP_H 13 | # pragma once 14 | 15 | # include 16 | 17 | # include 18 | # include 19 | # include 20 | 21 | 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | # define OSSL_HTTP_NAME "http" 27 | # define OSSL_HTTPS_NAME "https" 28 | # define OSSL_HTTP_PREFIX OSSL_HTTP_NAME"://" 29 | # define OSSL_HTTPS_PREFIX OSSL_HTTPS_NAME"://" 30 | # define OSSL_HTTP_PORT "80" 31 | # define OSSL_HTTPS_PORT "443" 32 | # define OPENSSL_NO_PROXY "NO_PROXY" 33 | # define OPENSSL_HTTP_PROXY "HTTP_PROXY" 34 | # define OPENSSL_HTTPS_PROXY "HTTPS_PROXY" 35 | 36 | #define OSSL_HTTP_DEFAULT_MAX_LINE_LEN (4 * 1024) 37 | #define OSSL_HTTP_DEFAULT_MAX_RESP_LEN (100 * 1024) 38 | 39 | /* Low-level HTTP API */ 40 | OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size); 41 | void OSSL_HTTP_REQ_CTX_free(OSSL_HTTP_REQ_CTX *rctx); 42 | int OSSL_HTTP_REQ_CTX_set_request_line(OSSL_HTTP_REQ_CTX *rctx, int method_POST, 43 | const char *server, const char *port, 44 | const char *path); 45 | int OSSL_HTTP_REQ_CTX_add1_header(OSSL_HTTP_REQ_CTX *rctx, 46 | const char *name, const char *value); 47 | int OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx, 48 | const char *content_type, int asn1, 49 | int timeout, int keep_alive); 50 | int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, 51 | const ASN1_ITEM *it, const ASN1_VALUE *req); 52 | int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx); 53 | int OSSL_HTTP_REQ_CTX_nbio_d2i(OSSL_HTTP_REQ_CTX *rctx, 54 | ASN1_VALUE **pval, const ASN1_ITEM *it); 55 | BIO *OSSL_HTTP_REQ_CTX_exchange(OSSL_HTTP_REQ_CTX *rctx); 56 | BIO *OSSL_HTTP_REQ_CTX_get0_mem_bio(const OSSL_HTTP_REQ_CTX *rctx); 57 | size_t OSSL_HTTP_REQ_CTX_get_resp_len(const OSSL_HTTP_REQ_CTX *rctx); 58 | void OSSL_HTTP_REQ_CTX_set_max_response_length(OSSL_HTTP_REQ_CTX *rctx, 59 | unsigned long len); 60 | int OSSL_HTTP_is_alive(const OSSL_HTTP_REQ_CTX *rctx); 61 | 62 | /* High-level HTTP API */ 63 | typedef BIO *(*OSSL_HTTP_bio_cb_t)(BIO *bio, void *arg, int connect, int detail); 64 | OSSL_HTTP_REQ_CTX *OSSL_HTTP_open(const char *server, const char *port, 65 | const char *proxy, const char *no_proxy, 66 | int use_ssl, BIO *bio, BIO *rbio, 67 | OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, 68 | int buf_size, int overall_timeout); 69 | int OSSL_HTTP_proxy_connect(BIO *bio, const char *server, const char *port, 70 | const char *proxyuser, const char *proxypass, 71 | int timeout, BIO *bio_err, const char *prog); 72 | int OSSL_HTTP_set1_request(OSSL_HTTP_REQ_CTX *rctx, const char *path, 73 | const STACK_OF(CONF_VALUE) *headers, 74 | const char *content_type, BIO *req, 75 | const char *expected_content_type, int expect_asn1, 76 | size_t max_resp_len, int timeout, int keep_alive); 77 | BIO *OSSL_HTTP_exchange(OSSL_HTTP_REQ_CTX *rctx, char **redirection_url); 78 | BIO *OSSL_HTTP_get(const char *url, const char *proxy, const char *no_proxy, 79 | BIO *bio, BIO *rbio, 80 | OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, 81 | int buf_size, const STACK_OF(CONF_VALUE) *headers, 82 | const char *expected_content_type, int expect_asn1, 83 | size_t max_resp_len, int timeout); 84 | BIO *OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, 85 | const char *server, const char *port, 86 | const char *path, int use_ssl, 87 | const char *proxy, const char *no_proxy, 88 | BIO *bio, BIO *rbio, 89 | OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, 90 | int buf_size, const STACK_OF(CONF_VALUE) *headers, 91 | const char *content_type, BIO *req, 92 | const char *expected_content_type, int expect_asn1, 93 | size_t max_resp_len, int timeout, int keep_alive); 94 | int OSSL_HTTP_close(OSSL_HTTP_REQ_CTX *rctx, int ok); 95 | 96 | /* Auxiliary functions */ 97 | int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost, 98 | char **pport, int *pport_num, 99 | char **ppath, char **pquery, char **pfrag); 100 | int OSSL_HTTP_parse_url(const char *url, int *pssl, char **puser, char **phost, 101 | char **pport, int *pport_num, 102 | char **ppath, char **pquery, char **pfrag); 103 | const char *OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy, 104 | const char *server, int use_ssl); 105 | 106 | # ifdef __cplusplus 107 | } 108 | # endif 109 | #endif /* !defined(OPENSSL_HTTP_H) */ 110 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/httperr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_HTTPERR_H 12 | # define OPENSSL_HTTPERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * HTTP reason codes. 23 | */ 24 | # define HTTP_R_ASN1_LEN_EXCEEDS_MAX_RESP_LEN 108 25 | # define HTTP_R_CONNECT_FAILURE 100 26 | # define HTTP_R_ERROR_PARSING_ASN1_LENGTH 109 27 | # define HTTP_R_ERROR_PARSING_CONTENT_LENGTH 119 28 | # define HTTP_R_ERROR_PARSING_URL 101 29 | # define HTTP_R_ERROR_RECEIVING 103 30 | # define HTTP_R_ERROR_SENDING 102 31 | # define HTTP_R_FAILED_READING_DATA 128 32 | # define HTTP_R_HEADER_PARSE_ERROR 126 33 | # define HTTP_R_INCONSISTENT_CONTENT_LENGTH 120 34 | # define HTTP_R_INVALID_PORT_NUMBER 123 35 | # define HTTP_R_INVALID_URL_PATH 125 36 | # define HTTP_R_INVALID_URL_SCHEME 124 37 | # define HTTP_R_MAX_RESP_LEN_EXCEEDED 117 38 | # define HTTP_R_MISSING_ASN1_ENCODING 110 39 | # define HTTP_R_MISSING_CONTENT_TYPE 121 40 | # define HTTP_R_MISSING_REDIRECT_LOCATION 111 41 | # define HTTP_R_RECEIVED_ERROR 105 42 | # define HTTP_R_RECEIVED_WRONG_HTTP_VERSION 106 43 | # define HTTP_R_REDIRECTION_FROM_HTTPS_TO_HTTP 112 44 | # define HTTP_R_REDIRECTION_NOT_ENABLED 116 45 | # define HTTP_R_RESPONSE_LINE_TOO_LONG 113 46 | # define HTTP_R_RESPONSE_PARSE_ERROR 104 47 | # define HTTP_R_RETRY_TIMEOUT 129 48 | # define HTTP_R_SERVER_CANCELED_CONNECTION 127 49 | # define HTTP_R_SOCK_NOT_SUPPORTED 122 50 | # define HTTP_R_STATUS_CODE_UNSUPPORTED 114 51 | # define HTTP_R_TLS_NOT_ENABLED 107 52 | # define HTTP_R_TOO_MANY_REDIRECTIONS 115 53 | # define HTTP_R_UNEXPECTED_CONTENT_TYPE 118 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/idea.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_IDEA_H 11 | # define OPENSSL_IDEA_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_IDEA_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_IDEA 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | # define IDEA_BLOCK 8 27 | # define IDEA_KEY_LENGTH 16 28 | 29 | # ifndef OPENSSL_NO_DEPRECATED_3_0 30 | 31 | typedef unsigned int IDEA_INT; 32 | 33 | # define IDEA_ENCRYPT 1 34 | # define IDEA_DECRYPT 0 35 | 36 | typedef struct idea_key_st { 37 | IDEA_INT data[9][6]; 38 | } IDEA_KEY_SCHEDULE; 39 | #endif 40 | #ifndef OPENSSL_NO_DEPRECATED_3_0 41 | OSSL_DEPRECATEDIN_3_0 const char *IDEA_options(void); 42 | OSSL_DEPRECATEDIN_3_0 void IDEA_ecb_encrypt(const unsigned char *in, 43 | unsigned char *out, 44 | IDEA_KEY_SCHEDULE *ks); 45 | OSSL_DEPRECATEDIN_3_0 void IDEA_set_encrypt_key(const unsigned char *key, 46 | IDEA_KEY_SCHEDULE *ks); 47 | OSSL_DEPRECATEDIN_3_0 void IDEA_set_decrypt_key(IDEA_KEY_SCHEDULE *ek, 48 | IDEA_KEY_SCHEDULE *dk); 49 | OSSL_DEPRECATEDIN_3_0 void IDEA_cbc_encrypt(const unsigned char *in, 50 | unsigned char *out, long length, 51 | IDEA_KEY_SCHEDULE *ks, 52 | unsigned char *iv, int enc); 53 | OSSL_DEPRECATEDIN_3_0 void IDEA_cfb64_encrypt(const unsigned char *in, 54 | unsigned char *out, long length, 55 | IDEA_KEY_SCHEDULE *ks, 56 | unsigned char *iv, int *num, 57 | int enc); 58 | OSSL_DEPRECATEDIN_3_0 void IDEA_ofb64_encrypt(const unsigned char *in, 59 | unsigned char *out, long length, 60 | IDEA_KEY_SCHEDULE *ks, 61 | unsigned char *iv, int *num); 62 | OSSL_DEPRECATEDIN_3_0 void IDEA_encrypt(unsigned long *in, 63 | IDEA_KEY_SCHEDULE *ks); 64 | #endif 65 | 66 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0 67 | # define idea_options IDEA_options 68 | # define idea_ecb_encrypt IDEA_ecb_encrypt 69 | # define idea_set_encrypt_key IDEA_set_encrypt_key 70 | # define idea_set_decrypt_key IDEA_set_decrypt_key 71 | # define idea_cbc_encrypt IDEA_cbc_encrypt 72 | # define idea_cfb64_encrypt IDEA_cfb64_encrypt 73 | # define idea_ofb64_encrypt IDEA_ofb64_encrypt 74 | # define idea_encrypt IDEA_encrypt 75 | # endif 76 | 77 | # ifdef __cplusplus 78 | } 79 | # endif 80 | # endif 81 | 82 | #endif 83 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/kdferr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_KDFERR_H 11 | # define OPENSSL_KDFERR_H 12 | # pragma once 13 | 14 | #include 15 | 16 | #endif /* !defined(OPENSSL_KDFERR_H) */ 17 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/md2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_MD2_H 11 | # define OPENSSL_MD2_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_MD2_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_MD2 22 | # include 23 | # ifdef __cplusplus 24 | extern "C" { 25 | # endif 26 | 27 | # define MD2_DIGEST_LENGTH 16 28 | 29 | # if !defined(OPENSSL_NO_DEPRECATED_3_0) 30 | 31 | typedef unsigned char MD2_INT; 32 | 33 | # define MD2_BLOCK 16 34 | 35 | typedef struct MD2state_st { 36 | unsigned int num; 37 | unsigned char data[MD2_BLOCK]; 38 | MD2_INT cksm[MD2_BLOCK]; 39 | MD2_INT state[MD2_BLOCK]; 40 | } MD2_CTX; 41 | # endif 42 | # ifndef OPENSSL_NO_DEPRECATED_3_0 43 | OSSL_DEPRECATEDIN_3_0 const char *MD2_options(void); 44 | OSSL_DEPRECATEDIN_3_0 int MD2_Init(MD2_CTX *c); 45 | OSSL_DEPRECATEDIN_3_0 int MD2_Update(MD2_CTX *c, const unsigned char *data, 46 | size_t len); 47 | OSSL_DEPRECATEDIN_3_0 int MD2_Final(unsigned char *md, MD2_CTX *c); 48 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD2(const unsigned char *d, size_t n, 49 | unsigned char *md); 50 | # endif 51 | 52 | # ifdef __cplusplus 53 | } 54 | # endif 55 | # endif 56 | #endif 57 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/md4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_MD4_H 11 | # define OPENSSL_MD4_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_MD4_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_MD4 22 | # include 23 | # include 24 | # ifdef __cplusplus 25 | extern "C" { 26 | # endif 27 | 28 | # define MD4_DIGEST_LENGTH 16 29 | 30 | # if !defined(OPENSSL_NO_DEPRECATED_3_0) 31 | 32 | /*- 33 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 34 | * ! MD4_LONG has to be at least 32 bits wide. ! 35 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 36 | */ 37 | # define MD4_LONG unsigned int 38 | 39 | # define MD4_CBLOCK 64 40 | # define MD4_LBLOCK (MD4_CBLOCK/4) 41 | 42 | typedef struct MD4state_st { 43 | MD4_LONG A, B, C, D; 44 | MD4_LONG Nl, Nh; 45 | MD4_LONG data[MD4_LBLOCK]; 46 | unsigned int num; 47 | } MD4_CTX; 48 | # endif 49 | # ifndef OPENSSL_NO_DEPRECATED_3_0 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); 53 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, size_t n, 54 | unsigned char *md); 55 | OSSL_DEPRECATEDIN_3_0 void MD4_Transform(MD4_CTX *c, const unsigned char *b); 56 | # endif 57 | 58 | # ifdef __cplusplus 59 | } 60 | # endif 61 | # endif 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/md5.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_MD5_H 11 | # define OPENSSL_MD5_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_MD5_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_MD5 22 | # include 23 | # include 24 | # ifdef __cplusplus 25 | extern "C" { 26 | # endif 27 | 28 | # define MD5_DIGEST_LENGTH 16 29 | 30 | # if !defined(OPENSSL_NO_DEPRECATED_3_0) 31 | /* 32 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 33 | * ! MD5_LONG has to be at least 32 bits wide. ! 34 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 35 | */ 36 | # define MD5_LONG unsigned int 37 | 38 | # define MD5_CBLOCK 64 39 | # define MD5_LBLOCK (MD5_CBLOCK/4) 40 | 41 | typedef struct MD5state_st { 42 | MD5_LONG A, B, C, D; 43 | MD5_LONG Nl, Nh; 44 | MD5_LONG data[MD5_LBLOCK]; 45 | unsigned int num; 46 | } MD5_CTX; 47 | # endif 48 | # ifndef OPENSSL_NO_DEPRECATED_3_0 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, 53 | unsigned char *md); 54 | OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b); 55 | # endif 56 | 57 | # ifdef __cplusplus 58 | } 59 | # endif 60 | # endif 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/mdc2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_MDC2_H 11 | # define OPENSSL_MDC2_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_MDC2_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_MDC2 22 | # include 23 | # include 24 | # ifdef __cplusplus 25 | extern "C" { 26 | # endif 27 | 28 | # define MDC2_DIGEST_LENGTH 16 29 | 30 | # if !defined(OPENSSL_NO_DEPRECATED_3_0) 31 | 32 | # define MDC2_BLOCK 8 33 | 34 | typedef struct mdc2_ctx_st { 35 | unsigned int num; 36 | unsigned char data[MDC2_BLOCK]; 37 | DES_cblock h, hh; 38 | unsigned int pad_type; /* either 1 or 2, default 1 */ 39 | } MDC2_CTX; 40 | # endif 41 | # ifndef OPENSSL_NO_DEPRECATED_3_0 42 | OSSL_DEPRECATEDIN_3_0 int MDC2_Init(MDC2_CTX *c); 43 | OSSL_DEPRECATEDIN_3_0 int MDC2_Update(MDC2_CTX *c, const unsigned char *data, 44 | size_t len); 45 | OSSL_DEPRECATEDIN_3_0 int MDC2_Final(unsigned char *md, MDC2_CTX *c); 46 | OSSL_DEPRECATEDIN_3_0 unsigned char *MDC2(const unsigned char *d, size_t n, 47 | unsigned char *md); 48 | # endif 49 | 50 | # ifdef __cplusplus 51 | } 52 | # endif 53 | # endif 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/objectserr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_OBJECTSERR_H 12 | # define OPENSSL_OBJECTSERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * OBJ reason codes. 23 | */ 24 | # define OBJ_R_OID_EXISTS 102 25 | # define OBJ_R_UNKNOWN_NID 101 26 | # define OBJ_R_UNKNOWN_OBJECT_NAME 103 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ocsperr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_OCSPERR_H 12 | # define OPENSSL_OCSPERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_OCSP 21 | 22 | 23 | /* 24 | * OCSP reason codes. 25 | */ 26 | # define OCSP_R_CERTIFICATE_VERIFY_ERROR 101 27 | # define OCSP_R_DIGEST_ERR 102 28 | # define OCSP_R_DIGEST_NAME_ERR 106 29 | # define OCSP_R_DIGEST_SIZE_ERR 107 30 | # define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122 31 | # define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123 32 | # define OCSP_R_MISSING_OCSPSIGNING_USAGE 103 33 | # define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124 34 | # define OCSP_R_NOT_BASIC_RESPONSE 104 35 | # define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105 36 | # define OCSP_R_NO_RESPONSE_DATA 108 37 | # define OCSP_R_NO_REVOKED_TIME 109 38 | # define OCSP_R_NO_SIGNER_KEY 130 39 | # define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110 40 | # define OCSP_R_REQUEST_NOT_SIGNED 128 41 | # define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111 42 | # define OCSP_R_ROOT_CA_NOT_TRUSTED 112 43 | # define OCSP_R_SIGNATURE_FAILURE 117 44 | # define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118 45 | # define OCSP_R_STATUS_EXPIRED 125 46 | # define OCSP_R_STATUS_NOT_YET_VALID 126 47 | # define OCSP_R_STATUS_TOO_OLD 127 48 | # define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119 49 | # define OCSP_R_UNKNOWN_NID 120 50 | # define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129 51 | 52 | # endif 53 | #endif 54 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/opensslconf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_OPENSSLCONF_H 11 | # define OPENSSL_OPENSSLCONF_H 12 | # pragma once 13 | 14 | # include 15 | # include 16 | 17 | #endif /* OPENSSL_OPENSSLCONF_H */ 18 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/opensslv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * WARNING: do not edit! 3 | * Generated by makefile from include\openssl\opensslv.h.in 4 | * 5 | * Copyright 1999-2020 The OpenSSL Project Authors. All Rights Reserved. 6 | * 7 | * Licensed under the Apache License 2.0 (the "License"). You may not use 8 | * this file except in compliance with the License. You can obtain a copy 9 | * in the file LICENSE in the source distribution or at 10 | * https://www.openssl.org/source/license.html 11 | */ 12 | 13 | #ifndef OPENSSL_OPENSSLV_H 14 | # define OPENSSL_OPENSSLV_H 15 | # pragma once 16 | 17 | # ifdef __cplusplus 18 | extern "C" { 19 | # endif 20 | 21 | /* 22 | * SECTION 1: VERSION DATA. These will change for each release 23 | */ 24 | 25 | /* 26 | * Base version macros 27 | * 28 | * These macros express version number MAJOR.MINOR.PATCH exactly 29 | */ 30 | # define OPENSSL_VERSION_MAJOR 3 31 | # define OPENSSL_VERSION_MINOR 0 32 | # define OPENSSL_VERSION_PATCH 13 33 | 34 | /* 35 | * Additional version information 36 | * 37 | * These are also part of the new version scheme, but aren't part 38 | * of the version number itself. 39 | */ 40 | 41 | /* Could be: #define OPENSSL_VERSION_PRE_RELEASE "-alpha.1" */ 42 | # define OPENSSL_VERSION_PRE_RELEASE "" 43 | /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+fips" */ 44 | /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+vendor.1" */ 45 | # define OPENSSL_VERSION_BUILD_METADATA "" 46 | 47 | /* 48 | * Note: The OpenSSL Project will never define OPENSSL_VERSION_BUILD_METADATA 49 | * to be anything but the empty string. Its use is entirely reserved for 50 | * others 51 | */ 52 | 53 | /* 54 | * Shared library version 55 | * 56 | * This is strictly to express ABI version, which may or may not 57 | * be related to the API version expressed with the macros above. 58 | * This is defined in free form. 59 | */ 60 | # define OPENSSL_SHLIB_VERSION 3 61 | 62 | /* 63 | * SECTION 2: USEFUL MACROS 64 | */ 65 | 66 | /* For checking general API compatibility when preprocessing */ 67 | # define OPENSSL_VERSION_PREREQ(maj,min) \ 68 | ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= ((maj) << 16) + (min)) 69 | 70 | /* 71 | * Macros to get the version in easily digested string form, both the short 72 | * "MAJOR.MINOR.PATCH" variant (where MAJOR, MINOR and PATCH are replaced 73 | * with the values from the corresponding OPENSSL_VERSION_ macros) and the 74 | * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and 75 | * OPENSSL_VERSION_BUILD_METADATA_STR appended. 76 | */ 77 | # define OPENSSL_VERSION_STR "3.0.13" 78 | # define OPENSSL_FULL_VERSION_STR "3.0.13" 79 | 80 | /* 81 | * SECTION 3: ADDITIONAL METADATA 82 | * 83 | * These strings are defined separately to allow them to be parsable. 84 | */ 85 | # define OPENSSL_RELEASE_DATE "30 Jan 2024" 86 | 87 | /* 88 | * SECTION 4: BACKWARD COMPATIBILITY 89 | */ 90 | 91 | # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13 30 Jan 2024" 92 | 93 | /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ 94 | # ifdef OPENSSL_VERSION_PRE_RELEASE 95 | # define _OPENSSL_VERSION_PRE_RELEASE 0x0L 96 | # else 97 | # define _OPENSSL_VERSION_PRE_RELEASE 0xfL 98 | # endif 99 | # define OPENSSL_VERSION_NUMBER \ 100 | ( (OPENSSL_VERSION_MAJOR<<28) \ 101 | |(OPENSSL_VERSION_MINOR<<20) \ 102 | |(OPENSSL_VERSION_PATCH<<4) \ 103 | |_OPENSSL_VERSION_PRE_RELEASE ) 104 | 105 | # ifdef __cplusplus 106 | } 107 | # endif 108 | 109 | # include 110 | # ifndef OPENSSL_NO_DEPRECATED_3_0 111 | # define HEADER_OPENSSLV_H 112 | # endif 113 | 114 | #endif /* OPENSSL_OPENSSLV_H */ 115 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ossl_typ.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | /* 11 | * The original was renamed to 12 | * 13 | * This header file only exists for compatibility reasons with older 14 | * applications which #include . 15 | */ 16 | # include 17 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/param_build.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_PARAM_BUILD_H 12 | # define OPENSSL_PARAM_BUILD_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | OSSL_PARAM_BLD *OSSL_PARAM_BLD_new(void); 23 | OSSL_PARAM *OSSL_PARAM_BLD_to_param(OSSL_PARAM_BLD *bld); 24 | void OSSL_PARAM_BLD_free(OSSL_PARAM_BLD *bld); 25 | 26 | int OSSL_PARAM_BLD_push_int(OSSL_PARAM_BLD *bld, const char *key, int val); 27 | int OSSL_PARAM_BLD_push_uint(OSSL_PARAM_BLD *bld, const char *key, 28 | unsigned int val); 29 | int OSSL_PARAM_BLD_push_long(OSSL_PARAM_BLD *bld, const char *key, 30 | long int val); 31 | int OSSL_PARAM_BLD_push_ulong(OSSL_PARAM_BLD *bld, const char *key, 32 | unsigned long int val); 33 | int OSSL_PARAM_BLD_push_int32(OSSL_PARAM_BLD *bld, const char *key, 34 | int32_t val); 35 | int OSSL_PARAM_BLD_push_uint32(OSSL_PARAM_BLD *bld, const char *key, 36 | uint32_t val); 37 | int OSSL_PARAM_BLD_push_int64(OSSL_PARAM_BLD *bld, const char *key, 38 | int64_t val); 39 | int OSSL_PARAM_BLD_push_uint64(OSSL_PARAM_BLD *bld, const char *key, 40 | uint64_t val); 41 | int OSSL_PARAM_BLD_push_size_t(OSSL_PARAM_BLD *bld, const char *key, 42 | size_t val); 43 | int OSSL_PARAM_BLD_push_time_t(OSSL_PARAM_BLD *bld, const char *key, 44 | time_t val); 45 | int OSSL_PARAM_BLD_push_double(OSSL_PARAM_BLD *bld, const char *key, 46 | double val); 47 | int OSSL_PARAM_BLD_push_BN(OSSL_PARAM_BLD *bld, const char *key, 48 | const BIGNUM *bn); 49 | int OSSL_PARAM_BLD_push_BN_pad(OSSL_PARAM_BLD *bld, const char *key, 50 | const BIGNUM *bn, size_t sz); 51 | int OSSL_PARAM_BLD_push_utf8_string(OSSL_PARAM_BLD *bld, const char *key, 52 | const char *buf, size_t bsize); 53 | int OSSL_PARAM_BLD_push_utf8_ptr(OSSL_PARAM_BLD *bld, const char *key, 54 | char *buf, size_t bsize); 55 | int OSSL_PARAM_BLD_push_octet_string(OSSL_PARAM_BLD *bld, const char *key, 56 | const void *buf, size_t bsize); 57 | int OSSL_PARAM_BLD_push_octet_ptr(OSSL_PARAM_BLD *bld, const char *key, 58 | void *buf, size_t bsize); 59 | 60 | # ifdef __cplusplus 61 | } 62 | # endif 63 | #endif /* OPENSSL_PARAM_BUILD_H */ 64 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/pem2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_PEM2_H 11 | # define OPENSSL_PEM2_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_PEM2_H 17 | # endif 18 | # include 19 | #endif 20 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/pemerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_PEMERR_H 12 | # define OPENSSL_PEMERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * PEM reason codes. 23 | */ 24 | # define PEM_R_BAD_BASE64_DECODE 100 25 | # define PEM_R_BAD_DECRYPT 101 26 | # define PEM_R_BAD_END_LINE 102 27 | # define PEM_R_BAD_IV_CHARS 103 28 | # define PEM_R_BAD_MAGIC_NUMBER 116 29 | # define PEM_R_BAD_PASSWORD_READ 104 30 | # define PEM_R_BAD_VERSION_NUMBER 117 31 | # define PEM_R_BIO_WRITE_FAILURE 118 32 | # define PEM_R_CIPHER_IS_NULL 127 33 | # define PEM_R_ERROR_CONVERTING_PRIVATE_KEY 115 34 | # define PEM_R_EXPECTING_DSS_KEY_BLOB 131 35 | # define PEM_R_EXPECTING_PRIVATE_KEY_BLOB 119 36 | # define PEM_R_EXPECTING_PUBLIC_KEY_BLOB 120 37 | # define PEM_R_EXPECTING_RSA_KEY_BLOB 132 38 | # define PEM_R_HEADER_TOO_LONG 128 39 | # define PEM_R_INCONSISTENT_HEADER 121 40 | # define PEM_R_KEYBLOB_HEADER_PARSE_ERROR 122 41 | # define PEM_R_KEYBLOB_TOO_SHORT 123 42 | # define PEM_R_MISSING_DEK_IV 129 43 | # define PEM_R_NOT_DEK_INFO 105 44 | # define PEM_R_NOT_ENCRYPTED 106 45 | # define PEM_R_NOT_PROC_TYPE 107 46 | # define PEM_R_NO_START_LINE 108 47 | # define PEM_R_PROBLEMS_GETTING_PASSWORD 109 48 | # define PEM_R_PVK_DATA_TOO_SHORT 124 49 | # define PEM_R_PVK_TOO_SHORT 125 50 | # define PEM_R_READ_KEY 111 51 | # define PEM_R_SHORT_HEADER 112 52 | # define PEM_R_UNEXPECTED_DEK_IV 130 53 | # define PEM_R_UNSUPPORTED_CIPHER 113 54 | # define PEM_R_UNSUPPORTED_ENCRYPTION 114 55 | # define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126 56 | # define PEM_R_UNSUPPORTED_PUBLIC_KEY_TYPE 110 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/pkcs12err.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_PKCS12ERR_H 12 | # define OPENSSL_PKCS12ERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * PKCS12 reason codes. 23 | */ 24 | # define PKCS12_R_CANT_PACK_STRUCTURE 100 25 | # define PKCS12_R_CONTENT_TYPE_NOT_DATA 121 26 | # define PKCS12_R_DECODE_ERROR 101 27 | # define PKCS12_R_ENCODE_ERROR 102 28 | # define PKCS12_R_ENCRYPT_ERROR 103 29 | # define PKCS12_R_ERROR_SETTING_ENCRYPTED_DATA_TYPE 120 30 | # define PKCS12_R_INVALID_NULL_ARGUMENT 104 31 | # define PKCS12_R_INVALID_NULL_PKCS12_POINTER 105 32 | # define PKCS12_R_INVALID_TYPE 112 33 | # define PKCS12_R_IV_GEN_ERROR 106 34 | # define PKCS12_R_KEY_GEN_ERROR 107 35 | # define PKCS12_R_MAC_ABSENT 108 36 | # define PKCS12_R_MAC_GENERATION_ERROR 109 37 | # define PKCS12_R_MAC_SETUP_ERROR 110 38 | # define PKCS12_R_MAC_STRING_SET_ERROR 111 39 | # define PKCS12_R_MAC_VERIFY_FAILURE 113 40 | # define PKCS12_R_PARSE_ERROR 114 41 | # define PKCS12_R_PKCS12_CIPHERFINAL_ERROR 116 42 | # define PKCS12_R_UNKNOWN_DIGEST_ALGORITHM 118 43 | # define PKCS12_R_UNSUPPORTED_PKCS12_MODE 119 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/pkcs7err.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_PKCS7ERR_H 12 | # define OPENSSL_PKCS7ERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * PKCS7 reason codes. 23 | */ 24 | # define PKCS7_R_CERTIFICATE_VERIFY_ERROR 117 25 | # define PKCS7_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 144 26 | # define PKCS7_R_CIPHER_NOT_INITIALIZED 116 27 | # define PKCS7_R_CONTENT_AND_DATA_PRESENT 118 28 | # define PKCS7_R_CTRL_ERROR 152 29 | # define PKCS7_R_DECRYPT_ERROR 119 30 | # define PKCS7_R_DIGEST_FAILURE 101 31 | # define PKCS7_R_ENCRYPTION_CTRL_FAILURE 149 32 | # define PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 150 33 | # define PKCS7_R_ERROR_ADDING_RECIPIENT 120 34 | # define PKCS7_R_ERROR_SETTING_CIPHER 121 35 | # define PKCS7_R_INVALID_NULL_POINTER 143 36 | # define PKCS7_R_INVALID_SIGNED_DATA_TYPE 155 37 | # define PKCS7_R_NO_CONTENT 122 38 | # define PKCS7_R_NO_DEFAULT_DIGEST 151 39 | # define PKCS7_R_NO_MATCHING_DIGEST_TYPE_FOUND 154 40 | # define PKCS7_R_NO_RECIPIENT_MATCHES_CERTIFICATE 115 41 | # define PKCS7_R_NO_SIGNATURES_ON_DATA 123 42 | # define PKCS7_R_NO_SIGNERS 142 43 | # define PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE 104 44 | # define PKCS7_R_PKCS7_ADD_SIGNATURE_ERROR 124 45 | # define PKCS7_R_PKCS7_ADD_SIGNER_ERROR 153 46 | # define PKCS7_R_PKCS7_DATASIGN 145 47 | # define PKCS7_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 127 48 | # define PKCS7_R_SIGNATURE_FAILURE 105 49 | # define PKCS7_R_SIGNER_CERTIFICATE_NOT_FOUND 128 50 | # define PKCS7_R_SIGNING_CTRL_FAILURE 147 51 | # define PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 148 52 | # define PKCS7_R_SMIME_TEXT_ERROR 129 53 | # define PKCS7_R_UNABLE_TO_FIND_CERTIFICATE 106 54 | # define PKCS7_R_UNABLE_TO_FIND_MEM_BIO 107 55 | # define PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST 108 56 | # define PKCS7_R_UNKNOWN_DIGEST_TYPE 109 57 | # define PKCS7_R_UNKNOWN_OPERATION 110 58 | # define PKCS7_R_UNSUPPORTED_CIPHER_TYPE 111 59 | # define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 112 60 | # define PKCS7_R_WRONG_CONTENT_TYPE 113 61 | # define PKCS7_R_WRONG_PKCS7_TYPE 114 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/prov_ssl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_PROV_SSL_H 11 | # define OPENSSL_PROV_SSL_H 12 | # pragma once 13 | 14 | # ifdef __cplusplus 15 | extern "C" { 16 | # endif 17 | 18 | /* SSL/TLS related defines useful to providers */ 19 | 20 | # define SSL_MAX_MASTER_KEY_LENGTH 48 21 | 22 | # define SSL3_VERSION 0x0300 23 | # define TLS1_VERSION 0x0301 24 | # define TLS1_1_VERSION 0x0302 25 | # define TLS1_2_VERSION 0x0303 26 | # define TLS1_3_VERSION 0x0304 27 | # define DTLS1_VERSION 0xFEFF 28 | # define DTLS1_2_VERSION 0xFEFD 29 | # define DTLS1_BAD_VER 0x0100 30 | 31 | # ifdef __cplusplus 32 | } 33 | # endif 34 | #endif /* OPENSSL_PROV_SSL_H */ 35 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/provider.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_PROVIDER_H 11 | # define OPENSSL_PROVIDER_H 12 | # pragma once 13 | 14 | # include 15 | 16 | # ifdef __cplusplus 17 | extern "C" { 18 | # endif 19 | 20 | /* Set the default provider search path */ 21 | int OSSL_PROVIDER_set_default_search_path(OSSL_LIB_CTX *, const char *path); 22 | 23 | /* Load and unload a provider */ 24 | OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *, const char *name); 25 | OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *, const char *name, 26 | int retain_fallbacks); 27 | int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov); 28 | int OSSL_PROVIDER_available(OSSL_LIB_CTX *, const char *name); 29 | int OSSL_PROVIDER_do_all(OSSL_LIB_CTX *ctx, 30 | int (*cb)(OSSL_PROVIDER *provider, void *cbdata), 31 | void *cbdata); 32 | 33 | const OSSL_PARAM *OSSL_PROVIDER_gettable_params(const OSSL_PROVIDER *prov); 34 | int OSSL_PROVIDER_get_params(const OSSL_PROVIDER *prov, OSSL_PARAM params[]); 35 | int OSSL_PROVIDER_self_test(const OSSL_PROVIDER *prov); 36 | int OSSL_PROVIDER_get_capabilities(const OSSL_PROVIDER *prov, 37 | const char *capability, 38 | OSSL_CALLBACK *cb, 39 | void *arg); 40 | 41 | const OSSL_ALGORITHM *OSSL_PROVIDER_query_operation(const OSSL_PROVIDER *prov, 42 | int operation_id, 43 | int *no_cache); 44 | void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov, 45 | int operation_id, const OSSL_ALGORITHM *algs); 46 | void *OSSL_PROVIDER_get0_provider_ctx(const OSSL_PROVIDER *prov); 47 | const OSSL_DISPATCH *OSSL_PROVIDER_get0_dispatch(const OSSL_PROVIDER *prov); 48 | 49 | /* Add a built in providers */ 50 | int OSSL_PROVIDER_add_builtin(OSSL_LIB_CTX *, const char *name, 51 | OSSL_provider_init_fn *init_fn); 52 | 53 | /* Information */ 54 | const char *OSSL_PROVIDER_get0_name(const OSSL_PROVIDER *prov); 55 | 56 | # ifdef __cplusplus 57 | } 58 | # endif 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/rand.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_RAND_H 11 | # define OPENSSL_RAND_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_RAND_H 17 | # endif 18 | 19 | # include 20 | # include 21 | # include 22 | # include 23 | # include 24 | 25 | #ifdef __cplusplus 26 | extern "C" { 27 | #endif 28 | 29 | /* 30 | * Default security strength (in the sense of [NIST SP 800-90Ar1]) 31 | * 32 | * NIST SP 800-90Ar1 supports the strength of the DRBG being smaller than that 33 | * of the cipher by collecting less entropy. The current DRBG implementation 34 | * does not take RAND_DRBG_STRENGTH into account and sets the strength of the 35 | * DRBG to that of the cipher. 36 | */ 37 | # define RAND_DRBG_STRENGTH 256 38 | 39 | # ifndef OPENSSL_NO_DEPRECATED_3_0 40 | struct rand_meth_st { 41 | int (*seed) (const void *buf, int num); 42 | int (*bytes) (unsigned char *buf, int num); 43 | void (*cleanup) (void); 44 | int (*add) (const void *buf, int num, double randomness); 45 | int (*pseudorand) (unsigned char *buf, int num); 46 | int (*status) (void); 47 | }; 48 | 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); 50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void); 51 | # ifndef OPENSSL_NO_ENGINE 52 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine); 53 | # endif 54 | 55 | OSSL_DEPRECATEDIN_3_0 RAND_METHOD *RAND_OpenSSL(void); 56 | # endif /* OPENSSL_NO_DEPRECATED_3_0 */ 57 | 58 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0 59 | # define RAND_cleanup() while(0) continue 60 | # endif 61 | int RAND_bytes(unsigned char *buf, int num); 62 | int RAND_priv_bytes(unsigned char *buf, int num); 63 | 64 | /* 65 | * Equivalent of RAND_priv_bytes() but additionally taking an OSSL_LIB_CTX and 66 | * a strength. 67 | */ 68 | int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 69 | unsigned int strength); 70 | 71 | /* 72 | * Equivalent of RAND_bytes() but additionally taking an OSSL_LIB_CTX and 73 | * a strength. 74 | */ 75 | int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 76 | unsigned int strength); 77 | 78 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); 80 | # endif 81 | 82 | EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx); 83 | EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx); 84 | EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx); 85 | 86 | int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, 87 | const char *cipher, const char *digest); 88 | int RAND_set_seed_source_type(OSSL_LIB_CTX *ctx, const char *seed, 89 | const char *propq); 90 | 91 | void RAND_seed(const void *buf, int num); 92 | void RAND_keep_random_devices_open(int keep); 93 | 94 | # if defined(__ANDROID__) && defined(__NDK_FPABI__) 95 | __NDK_FPABI__ /* __attribute__((pcs("aapcs"))) on ARM */ 96 | # endif 97 | void RAND_add(const void *buf, int num, double randomness); 98 | int RAND_load_file(const char *file, long max_bytes); 99 | int RAND_write_file(const char *file); 100 | const char *RAND_file_name(char *file, size_t num); 101 | int RAND_status(void); 102 | 103 | # ifndef OPENSSL_NO_EGD 104 | int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 105 | int RAND_egd(const char *path); 106 | int RAND_egd_bytes(const char *path, int bytes); 107 | # endif 108 | 109 | int RAND_poll(void); 110 | 111 | # if defined(_WIN32) && (defined(BASETYPES) || defined(_WINDEF_H)) 112 | /* application has to include in order to use these */ 113 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0 114 | OSSL_DEPRECATEDIN_1_1_0 void RAND_screen(void); 115 | OSSL_DEPRECATEDIN_1_1_0 int RAND_event(UINT, WPARAM, LPARAM); 116 | # endif 117 | # endif 118 | 119 | #ifdef __cplusplus 120 | } 121 | #endif 122 | 123 | #endif 124 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/randerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_RANDERR_H 12 | # define OPENSSL_RANDERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * RAND reason codes. 23 | */ 24 | # define RAND_R_ADDITIONAL_INPUT_TOO_LONG 102 25 | # define RAND_R_ALREADY_INSTANTIATED 103 26 | # define RAND_R_ARGUMENT_OUT_OF_RANGE 105 27 | # define RAND_R_CANNOT_OPEN_FILE 121 28 | # define RAND_R_DRBG_ALREADY_INITIALIZED 129 29 | # define RAND_R_DRBG_NOT_INITIALISED 104 30 | # define RAND_R_ENTROPY_INPUT_TOO_LONG 106 31 | # define RAND_R_ENTROPY_OUT_OF_RANGE 124 32 | # define RAND_R_ERROR_ENTROPY_POOL_WAS_IGNORED 127 33 | # define RAND_R_ERROR_INITIALISING_DRBG 107 34 | # define RAND_R_ERROR_INSTANTIATING_DRBG 108 35 | # define RAND_R_ERROR_RETRIEVING_ADDITIONAL_INPUT 109 36 | # define RAND_R_ERROR_RETRIEVING_ENTROPY 110 37 | # define RAND_R_ERROR_RETRIEVING_NONCE 111 38 | # define RAND_R_FAILED_TO_CREATE_LOCK 126 39 | # define RAND_R_FUNC_NOT_IMPLEMENTED 101 40 | # define RAND_R_FWRITE_ERROR 123 41 | # define RAND_R_GENERATE_ERROR 112 42 | # define RAND_R_INSUFFICIENT_DRBG_STRENGTH 139 43 | # define RAND_R_INTERNAL_ERROR 113 44 | # define RAND_R_IN_ERROR_STATE 114 45 | # define RAND_R_NOT_A_REGULAR_FILE 122 46 | # define RAND_R_NOT_INSTANTIATED 115 47 | # define RAND_R_NO_DRBG_IMPLEMENTATION_SELECTED 128 48 | # define RAND_R_PARENT_LOCKING_NOT_ENABLED 130 49 | # define RAND_R_PARENT_STRENGTH_TOO_WEAK 131 50 | # define RAND_R_PERSONALISATION_STRING_TOO_LONG 116 51 | # define RAND_R_PREDICTION_RESISTANCE_NOT_SUPPORTED 133 52 | # define RAND_R_PRNG_NOT_SEEDED 100 53 | # define RAND_R_RANDOM_POOL_OVERFLOW 125 54 | # define RAND_R_RANDOM_POOL_UNDERFLOW 134 55 | # define RAND_R_REQUEST_TOO_LARGE_FOR_DRBG 117 56 | # define RAND_R_RESEED_ERROR 118 57 | # define RAND_R_SELFTEST_FAILURE 119 58 | # define RAND_R_TOO_LITTLE_NONCE_REQUESTED 135 59 | # define RAND_R_TOO_MUCH_NONCE_REQUESTED 136 60 | # define RAND_R_UNABLE_TO_CREATE_DRBG 143 61 | # define RAND_R_UNABLE_TO_FETCH_DRBG 144 62 | # define RAND_R_UNABLE_TO_GET_PARENT_RESEED_PROP_COUNTER 141 63 | # define RAND_R_UNABLE_TO_GET_PARENT_STRENGTH 138 64 | # define RAND_R_UNABLE_TO_LOCK_PARENT 140 65 | # define RAND_R_UNSUPPORTED_DRBG_FLAGS 132 66 | # define RAND_R_UNSUPPORTED_DRBG_TYPE 120 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/rc2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_RC2_H 11 | # define OPENSSL_RC2_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_RC2_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_RC2 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | # define RC2_BLOCK 8 27 | # define RC2_KEY_LENGTH 16 28 | 29 | # ifndef OPENSSL_NO_DEPRECATED_3_0 30 | typedef unsigned int RC2_INT; 31 | 32 | # define RC2_ENCRYPT 1 33 | # define RC2_DECRYPT 0 34 | 35 | typedef struct rc2_key_st { 36 | RC2_INT data[64]; 37 | } RC2_KEY; 38 | # endif 39 | # ifndef OPENSSL_NO_DEPRECATED_3_0 40 | OSSL_DEPRECATEDIN_3_0 void RC2_set_key(RC2_KEY *key, int len, 41 | const unsigned char *data, int bits); 42 | OSSL_DEPRECATEDIN_3_0 void RC2_ecb_encrypt(const unsigned char *in, 43 | unsigned char *out, RC2_KEY *key, 44 | int enc); 45 | OSSL_DEPRECATEDIN_3_0 void RC2_encrypt(unsigned long *data, RC2_KEY *key); 46 | OSSL_DEPRECATEDIN_3_0 void RC2_decrypt(unsigned long *data, RC2_KEY *key); 47 | OSSL_DEPRECATEDIN_3_0 void RC2_cbc_encrypt(const unsigned char *in, 48 | unsigned char *out, long length, 49 | RC2_KEY *ks, unsigned char *iv, 50 | int enc); 51 | OSSL_DEPRECATEDIN_3_0 void RC2_cfb64_encrypt(const unsigned char *in, 52 | unsigned char *out, long length, 53 | RC2_KEY *schedule, 54 | unsigned char *ivec, 55 | int *num, int enc); 56 | OSSL_DEPRECATEDIN_3_0 void RC2_ofb64_encrypt(const unsigned char *in, 57 | unsigned char *out, long length, 58 | RC2_KEY *schedule, 59 | unsigned char *ivec, 60 | int *num); 61 | # endif 62 | 63 | # ifdef __cplusplus 64 | } 65 | # endif 66 | # endif 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/rc4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_RC4_H 11 | # define OPENSSL_RC4_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_RC4_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_RC4 22 | # include 23 | # ifdef __cplusplus 24 | extern "C" { 25 | # endif 26 | 27 | # ifndef OPENSSL_NO_DEPRECATED_3_0 28 | typedef struct rc4_key_st { 29 | RC4_INT x, y; 30 | RC4_INT data[256]; 31 | } RC4_KEY; 32 | # endif 33 | # ifndef OPENSSL_NO_DEPRECATED_3_0 34 | OSSL_DEPRECATEDIN_3_0 const char *RC4_options(void); 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, 36 | const unsigned char *data); 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, 38 | const unsigned char *indata, 39 | unsigned char *outdata); 40 | # endif 41 | 42 | # ifdef __cplusplus 43 | } 44 | # endif 45 | # endif 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/rc5.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_RC5_H 11 | # define OPENSSL_RC5_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_RC5_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_RC5 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | # define RC5_32_BLOCK 8 27 | # define RC5_32_KEY_LENGTH 16/* This is a default, max is 255 */ 28 | 29 | # ifndef OPENSSL_NO_DEPRECATED_3_0 30 | # define RC5_ENCRYPT 1 31 | # define RC5_DECRYPT 0 32 | 33 | # define RC5_32_INT unsigned int 34 | 35 | /* 36 | * This are the only values supported. Tweak the code if you want more The 37 | * most supported modes will be RC5-32/12/16 RC5-32/16/8 38 | */ 39 | # define RC5_8_ROUNDS 8 40 | # define RC5_12_ROUNDS 12 41 | # define RC5_16_ROUNDS 16 42 | 43 | typedef struct rc5_key_st { 44 | /* Number of rounds */ 45 | int rounds; 46 | RC5_32_INT data[2 * (RC5_16_ROUNDS + 1)]; 47 | } RC5_32_KEY; 48 | # endif 49 | # ifndef OPENSSL_NO_DEPRECATED_3_0 50 | OSSL_DEPRECATEDIN_3_0 int RC5_32_set_key(RC5_32_KEY *key, int len, 51 | const unsigned char *data, 52 | int rounds); 53 | OSSL_DEPRECATEDIN_3_0 void RC5_32_ecb_encrypt(const unsigned char *in, 54 | unsigned char *out, 55 | RC5_32_KEY *key, 56 | int enc); 57 | OSSL_DEPRECATEDIN_3_0 void RC5_32_encrypt(unsigned long *data, RC5_32_KEY *key); 58 | OSSL_DEPRECATEDIN_3_0 void RC5_32_decrypt(unsigned long *data, RC5_32_KEY *key); 59 | OSSL_DEPRECATEDIN_3_0 void RC5_32_cbc_encrypt(const unsigned char *in, 60 | unsigned char *out, long length, 61 | RC5_32_KEY *ks, unsigned char *iv, 62 | int enc); 63 | OSSL_DEPRECATEDIN_3_0 void RC5_32_cfb64_encrypt(const unsigned char *in, 64 | unsigned char *out, long length, 65 | RC5_32_KEY *schedule, 66 | unsigned char *ivec, int *num, 67 | int enc); 68 | OSSL_DEPRECATEDIN_3_0 void RC5_32_ofb64_encrypt(const unsigned char *in, 69 | unsigned char *out, long length, 70 | RC5_32_KEY *schedule, 71 | unsigned char *ivec, int *num); 72 | # endif 73 | 74 | # ifdef __cplusplus 75 | } 76 | # endif 77 | # endif 78 | 79 | #endif 80 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ripemd.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_RIPEMD_H 11 | # define OPENSSL_RIPEMD_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_RIPEMD_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_RMD160 22 | # include 23 | # include 24 | 25 | # define RIPEMD160_DIGEST_LENGTH 20 26 | 27 | # ifdef __cplusplus 28 | extern "C" { 29 | # endif 30 | # if !defined(OPENSSL_NO_DEPRECATED_3_0) 31 | 32 | # define RIPEMD160_LONG unsigned int 33 | 34 | # define RIPEMD160_CBLOCK 64 35 | # define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4) 36 | 37 | typedef struct RIPEMD160state_st { 38 | RIPEMD160_LONG A, B, C, D, E; 39 | RIPEMD160_LONG Nl, Nh; 40 | RIPEMD160_LONG data[RIPEMD160_LBLOCK]; 41 | unsigned int num; 42 | } RIPEMD160_CTX; 43 | # endif 44 | # ifndef OPENSSL_NO_DEPRECATED_3_0 45 | OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Init(RIPEMD160_CTX *c); 46 | OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, 47 | size_t len); 48 | OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 49 | OSSL_DEPRECATEDIN_3_0 unsigned char *RIPEMD160(const unsigned char *d, size_t n, 50 | unsigned char *md); 51 | OSSL_DEPRECATEDIN_3_0 void RIPEMD160_Transform(RIPEMD160_CTX *c, 52 | const unsigned char *b); 53 | # endif 54 | 55 | # ifdef __cplusplus 56 | } 57 | # endif 58 | # endif 59 | #endif 60 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/seed.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | /* 11 | * Copyright (c) 2007 KISA(Korea Information Security Agency). All rights reserved. 12 | * 13 | * Redistribution and use in source and binary forms, with or without 14 | * modification, are permitted provided that the following conditions 15 | * are met: 16 | * 1. Redistributions of source code must retain the above copyright 17 | * notice, this list of conditions and the following disclaimer. 18 | * 2. Neither the name of author nor the names of its contributors may 19 | * be used to endorse or promote products derived from this software 20 | * without specific prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 23 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25 | * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 26 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 | * SUCH DAMAGE. 33 | */ 34 | 35 | #ifndef OPENSSL_SEED_H 36 | # define OPENSSL_SEED_H 37 | # pragma once 38 | 39 | # include 40 | # ifndef OPENSSL_NO_DEPRECATED_3_0 41 | # define HEADER_SEED_H 42 | # endif 43 | 44 | # include 45 | 46 | # ifndef OPENSSL_NO_SEED 47 | # include 48 | # include 49 | # include 50 | 51 | # ifdef __cplusplus 52 | extern "C" { 53 | # endif 54 | 55 | # define SEED_BLOCK_SIZE 16 56 | # define SEED_KEY_LENGTH 16 57 | 58 | # ifndef OPENSSL_NO_DEPRECATED_3_0 59 | /* look whether we need 'long' to get 32 bits */ 60 | # ifdef AES_LONG 61 | # ifndef SEED_LONG 62 | # define SEED_LONG 1 63 | # endif 64 | # endif 65 | 66 | 67 | typedef struct seed_key_st { 68 | # ifdef SEED_LONG 69 | unsigned long data[32]; 70 | # else 71 | unsigned int data[32]; 72 | # endif 73 | } SEED_KEY_SCHEDULE; 74 | # endif /* OPENSSL_NO_DEPRECATED_3_0 */ 75 | # ifndef OPENSSL_NO_DEPRECATED_3_0 76 | OSSL_DEPRECATEDIN_3_0 77 | void SEED_set_key(const unsigned char rawkey[SEED_KEY_LENGTH], 78 | SEED_KEY_SCHEDULE *ks); 79 | OSSL_DEPRECATEDIN_3_0 80 | void SEED_encrypt(const unsigned char s[SEED_BLOCK_SIZE], 81 | unsigned char d[SEED_BLOCK_SIZE], 82 | const SEED_KEY_SCHEDULE *ks); 83 | OSSL_DEPRECATEDIN_3_0 84 | void SEED_decrypt(const unsigned char s[SEED_BLOCK_SIZE], 85 | unsigned char d[SEED_BLOCK_SIZE], 86 | const SEED_KEY_SCHEDULE *ks); 87 | OSSL_DEPRECATEDIN_3_0 88 | void SEED_ecb_encrypt(const unsigned char *in, 89 | unsigned char *out, 90 | const SEED_KEY_SCHEDULE *ks, int enc); 91 | OSSL_DEPRECATEDIN_3_0 92 | void SEED_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t len, 93 | const SEED_KEY_SCHEDULE *ks, 94 | unsigned char ivec[SEED_BLOCK_SIZE], 95 | int enc); 96 | OSSL_DEPRECATEDIN_3_0 97 | void SEED_cfb128_encrypt(const unsigned char *in, unsigned char *out, 98 | size_t len, const SEED_KEY_SCHEDULE *ks, 99 | unsigned char ivec[SEED_BLOCK_SIZE], 100 | int *num, int enc); 101 | OSSL_DEPRECATEDIN_3_0 102 | void SEED_ofb128_encrypt(const unsigned char *in, unsigned char *out, 103 | size_t len, const SEED_KEY_SCHEDULE *ks, 104 | unsigned char ivec[SEED_BLOCK_SIZE], 105 | int *num); 106 | # endif 107 | 108 | # ifdef __cplusplus 109 | } 110 | # endif 111 | # endif 112 | 113 | #endif 114 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/self_test.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_SELF_TEST_H 11 | # define OPENSSL_SELF_TEST_H 12 | # pragma once 13 | 14 | # include /* OSSL_CALLBACK */ 15 | 16 | # ifdef __cplusplus 17 | extern "C" { 18 | # endif 19 | 20 | /* The test event phases */ 21 | # define OSSL_SELF_TEST_PHASE_NONE "None" 22 | # define OSSL_SELF_TEST_PHASE_START "Start" 23 | # define OSSL_SELF_TEST_PHASE_CORRUPT "Corrupt" 24 | # define OSSL_SELF_TEST_PHASE_PASS "Pass" 25 | # define OSSL_SELF_TEST_PHASE_FAIL "Fail" 26 | 27 | /* Test event categories */ 28 | # define OSSL_SELF_TEST_TYPE_NONE "None" 29 | # define OSSL_SELF_TEST_TYPE_MODULE_INTEGRITY "Module_Integrity" 30 | # define OSSL_SELF_TEST_TYPE_INSTALL_INTEGRITY "Install_Integrity" 31 | # define OSSL_SELF_TEST_TYPE_CRNG "Continuous_RNG_Test" 32 | # define OSSL_SELF_TEST_TYPE_PCT "Conditional_PCT" 33 | # define OSSL_SELF_TEST_TYPE_KAT_CIPHER "KAT_Cipher" 34 | # define OSSL_SELF_TEST_TYPE_KAT_ASYM_CIPHER "KAT_AsymmetricCipher" 35 | # define OSSL_SELF_TEST_TYPE_KAT_DIGEST "KAT_Digest" 36 | # define OSSL_SELF_TEST_TYPE_KAT_SIGNATURE "KAT_Signature" 37 | # define OSSL_SELF_TEST_TYPE_PCT_SIGNATURE "PCT_Signature" 38 | # define OSSL_SELF_TEST_TYPE_KAT_KDF "KAT_KDF" 39 | # define OSSL_SELF_TEST_TYPE_KAT_KA "KAT_KA" 40 | # define OSSL_SELF_TEST_TYPE_DRBG "DRBG" 41 | 42 | /* Test event sub categories */ 43 | # define OSSL_SELF_TEST_DESC_NONE "None" 44 | # define OSSL_SELF_TEST_DESC_INTEGRITY_HMAC "HMAC" 45 | # define OSSL_SELF_TEST_DESC_PCT_RSA_PKCS1 "RSA" 46 | # define OSSL_SELF_TEST_DESC_PCT_ECDSA "ECDSA" 47 | # define OSSL_SELF_TEST_DESC_PCT_DSA "DSA" 48 | # define OSSL_SELF_TEST_DESC_CIPHER_AES_GCM "AES_GCM" 49 | # define OSSL_SELF_TEST_DESC_CIPHER_AES_ECB "AES_ECB_Decrypt" 50 | # define OSSL_SELF_TEST_DESC_CIPHER_TDES "TDES" 51 | # define OSSL_SELF_TEST_DESC_ASYM_RSA_ENC "RSA_Encrypt" 52 | # define OSSL_SELF_TEST_DESC_ASYM_RSA_DEC "RSA_Decrypt" 53 | # define OSSL_SELF_TEST_DESC_MD_SHA1 "SHA1" 54 | # define OSSL_SELF_TEST_DESC_MD_SHA2 "SHA2" 55 | # define OSSL_SELF_TEST_DESC_MD_SHA3 "SHA3" 56 | # define OSSL_SELF_TEST_DESC_SIGN_DSA "DSA" 57 | # define OSSL_SELF_TEST_DESC_SIGN_RSA "RSA" 58 | # define OSSL_SELF_TEST_DESC_SIGN_ECDSA "ECDSA" 59 | # define OSSL_SELF_TEST_DESC_DRBG_CTR "CTR" 60 | # define OSSL_SELF_TEST_DESC_DRBG_HASH "HASH" 61 | # define OSSL_SELF_TEST_DESC_DRBG_HMAC "HMAC" 62 | # define OSSL_SELF_TEST_DESC_KA_DH "DH" 63 | # define OSSL_SELF_TEST_DESC_KA_ECDH "ECDH" 64 | # define OSSL_SELF_TEST_DESC_KDF_HKDF "HKDF" 65 | # define OSSL_SELF_TEST_DESC_KDF_SSKDF "SSKDF" 66 | # define OSSL_SELF_TEST_DESC_KDF_X963KDF "X963KDF" 67 | # define OSSL_SELF_TEST_DESC_KDF_X942KDF "X942KDF" 68 | # define OSSL_SELF_TEST_DESC_KDF_PBKDF2 "PBKDF2" 69 | # define OSSL_SELF_TEST_DESC_KDF_SSHKDF "SSHKDF" 70 | # define OSSL_SELF_TEST_DESC_KDF_TLS12_PRF "TLS12_PRF" 71 | # define OSSL_SELF_TEST_DESC_KDF_KBKDF "KBKDF" 72 | # define OSSL_SELF_TEST_DESC_KDF_TLS13_EXTRACT "TLS13_KDF_EXTRACT" 73 | # define OSSL_SELF_TEST_DESC_KDF_TLS13_EXPAND "TLS13_KDF_EXPAND" 74 | # define OSSL_SELF_TEST_DESC_RNG "RNG" 75 | 76 | void OSSL_SELF_TEST_set_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK *cb, 77 | void *cbarg); 78 | void OSSL_SELF_TEST_get_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK **cb, 79 | void **cbarg); 80 | 81 | OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg); 82 | void OSSL_SELF_TEST_free(OSSL_SELF_TEST *st); 83 | 84 | void OSSL_SELF_TEST_onbegin(OSSL_SELF_TEST *st, const char *type, 85 | const char *desc); 86 | int OSSL_SELF_TEST_oncorrupt_byte(OSSL_SELF_TEST *st, unsigned char *bytes); 87 | void OSSL_SELF_TEST_onend(OSSL_SELF_TEST *st, int ret); 88 | 89 | # ifdef __cplusplus 90 | } 91 | # endif 92 | #endif /* OPENSSL_SELF_TEST_H */ 93 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/sha.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_SHA_H 11 | # define OPENSSL_SHA_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_SHA_H 17 | # endif 18 | 19 | # include 20 | # include 21 | 22 | # ifdef __cplusplus 23 | extern "C" { 24 | # endif 25 | 26 | # define SHA_DIGEST_LENGTH 20 27 | 28 | # ifndef OPENSSL_NO_DEPRECATED_3_0 29 | /*- 30 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 31 | * ! SHA_LONG has to be at least 32 bits wide. ! 32 | * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 33 | */ 34 | # define SHA_LONG unsigned int 35 | 36 | # define SHA_LBLOCK 16 37 | # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a 38 | * contiguous array of 32 bit wide 39 | * big-endian values. */ 40 | # define SHA_LAST_BLOCK (SHA_CBLOCK-8) 41 | 42 | typedef struct SHAstate_st { 43 | SHA_LONG h0, h1, h2, h3, h4; 44 | SHA_LONG Nl, Nh; 45 | SHA_LONG data[SHA_LBLOCK]; 46 | unsigned int num; 47 | } SHA_CTX; 48 | 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); 52 | OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data); 53 | # endif 54 | 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); 56 | 57 | # ifndef OPENSSL_NO_DEPRECATED_3_0 58 | # define SHA256_CBLOCK (SHA_LBLOCK*4)/* SHA-256 treats input data as a 59 | * contiguous array of 32 bit wide 60 | * big-endian values. */ 61 | 62 | typedef struct SHA256state_st { 63 | SHA_LONG h[8]; 64 | SHA_LONG Nl, Nh; 65 | SHA_LONG data[SHA_LBLOCK]; 66 | unsigned int num, md_len; 67 | } SHA256_CTX; 68 | 69 | OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c); 70 | OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c, 71 | const void *data, size_t len); 72 | OSSL_DEPRECATEDIN_3_0 int SHA224_Final(unsigned char *md, SHA256_CTX *c); 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, 75 | const void *data, size_t len); 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); 77 | OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c, 78 | const unsigned char *data); 79 | # endif 80 | 81 | unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md); 82 | unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md); 83 | 84 | # define SHA224_DIGEST_LENGTH 28 85 | # define SHA256_DIGEST_LENGTH 32 86 | # define SHA384_DIGEST_LENGTH 48 87 | # define SHA512_DIGEST_LENGTH 64 88 | 89 | # ifndef OPENSSL_NO_DEPRECATED_3_0 90 | /* 91 | * Unlike 32-bit digest algorithms, SHA-512 *relies* on SHA_LONG64 92 | * being exactly 64-bit wide. See Implementation Notes in sha512.c 93 | * for further details. 94 | */ 95 | /* 96 | * SHA-512 treats input data as a 97 | * contiguous array of 64 bit 98 | * wide big-endian values. 99 | */ 100 | # define SHA512_CBLOCK (SHA_LBLOCK*8) 101 | # if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__) 102 | # define SHA_LONG64 unsigned __int64 103 | # elif defined(__arch64__) 104 | # define SHA_LONG64 unsigned long 105 | # else 106 | # define SHA_LONG64 unsigned long long 107 | # endif 108 | 109 | typedef struct SHA512state_st { 110 | SHA_LONG64 h[8]; 111 | SHA_LONG64 Nl, Nh; 112 | union { 113 | SHA_LONG64 d[SHA_LBLOCK]; 114 | unsigned char p[SHA512_CBLOCK]; 115 | } u; 116 | unsigned int num, md_len; 117 | } SHA512_CTX; 118 | 119 | OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c); 120 | OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c, 121 | const void *data, size_t len); 122 | OSSL_DEPRECATEDIN_3_0 int SHA384_Final(unsigned char *md, SHA512_CTX *c); 123 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); 124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c, 125 | const void *data, size_t len); 126 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c); 127 | OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c, 128 | const unsigned char *data); 129 | # endif 130 | 131 | unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md); 132 | unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md); 133 | 134 | # ifdef __cplusplus 135 | } 136 | # endif 137 | 138 | #endif 139 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/srtp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | /* 11 | * DTLS code by Eric Rescorla 12 | * 13 | * Copyright (C) 2006, Network Resonance, Inc. Copyright (C) 2011, RTFM, Inc. 14 | */ 15 | 16 | #ifndef OPENSSL_SRTP_H 17 | # define OPENSSL_SRTP_H 18 | # pragma once 19 | 20 | # include 21 | # ifndef OPENSSL_NO_DEPRECATED_3_0 22 | # define HEADER_D1_SRTP_H 23 | # endif 24 | 25 | # include 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | # define SRTP_AES128_CM_SHA1_80 0x0001 32 | # define SRTP_AES128_CM_SHA1_32 0x0002 33 | # define SRTP_AES128_F8_SHA1_80 0x0003 34 | # define SRTP_AES128_F8_SHA1_32 0x0004 35 | # define SRTP_NULL_SHA1_80 0x0005 36 | # define SRTP_NULL_SHA1_32 0x0006 37 | 38 | /* AEAD SRTP protection profiles from RFC 7714 */ 39 | # define SRTP_AEAD_AES_128_GCM 0x0007 40 | # define SRTP_AEAD_AES_256_GCM 0x0008 41 | 42 | # ifndef OPENSSL_NO_SRTP 43 | 44 | __owur int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); 45 | __owur int SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles); 46 | 47 | __owur STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl); 48 | __owur SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s); 49 | 50 | # endif 51 | 52 | #ifdef __cplusplus 53 | } 54 | #endif 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/ssl2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_SSL2_H 11 | # define OPENSSL_SSL2_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_SSL2_H 17 | # endif 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | # define SSL2_VERSION 0x0002 24 | 25 | # define SSL2_MT_CLIENT_HELLO 1 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | #endif 31 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/stack.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_STACK_H 11 | # define OPENSSL_STACK_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_STACK_H 17 | # endif 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ 24 | 25 | typedef int (*OPENSSL_sk_compfunc)(const void *, const void *); 26 | typedef void (*OPENSSL_sk_freefunc)(void *); 27 | typedef void *(*OPENSSL_sk_copyfunc)(const void *); 28 | 29 | int OPENSSL_sk_num(const OPENSSL_STACK *); 30 | void *OPENSSL_sk_value(const OPENSSL_STACK *, int); 31 | 32 | void *OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data); 33 | 34 | OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp); 35 | OPENSSL_STACK *OPENSSL_sk_new_null(void); 36 | OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n); 37 | int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n); 38 | void OPENSSL_sk_free(OPENSSL_STACK *); 39 | void OPENSSL_sk_pop_free(OPENSSL_STACK *st, void (*func) (void *)); 40 | OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *, 41 | OPENSSL_sk_copyfunc c, 42 | OPENSSL_sk_freefunc f); 43 | int OPENSSL_sk_insert(OPENSSL_STACK *sk, const void *data, int where); 44 | void *OPENSSL_sk_delete(OPENSSL_STACK *st, int loc); 45 | void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *st, const void *p); 46 | int OPENSSL_sk_find(OPENSSL_STACK *st, const void *data); 47 | int OPENSSL_sk_find_ex(OPENSSL_STACK *st, const void *data); 48 | int OPENSSL_sk_find_all(OPENSSL_STACK *st, const void *data, int *pnum); 49 | int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data); 50 | int OPENSSL_sk_unshift(OPENSSL_STACK *st, const void *data); 51 | void *OPENSSL_sk_shift(OPENSSL_STACK *st); 52 | void *OPENSSL_sk_pop(OPENSSL_STACK *st); 53 | void OPENSSL_sk_zero(OPENSSL_STACK *st); 54 | OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk, 55 | OPENSSL_sk_compfunc cmp); 56 | OPENSSL_STACK *OPENSSL_sk_dup(const OPENSSL_STACK *st); 57 | void OPENSSL_sk_sort(OPENSSL_STACK *st); 58 | int OPENSSL_sk_is_sorted(const OPENSSL_STACK *st); 59 | 60 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0 61 | # define _STACK OPENSSL_STACK 62 | # define sk_num OPENSSL_sk_num 63 | # define sk_value OPENSSL_sk_value 64 | # define sk_set OPENSSL_sk_set 65 | # define sk_new OPENSSL_sk_new 66 | # define sk_new_null OPENSSL_sk_new_null 67 | # define sk_free OPENSSL_sk_free 68 | # define sk_pop_free OPENSSL_sk_pop_free 69 | # define sk_deep_copy OPENSSL_sk_deep_copy 70 | # define sk_insert OPENSSL_sk_insert 71 | # define sk_delete OPENSSL_sk_delete 72 | # define sk_delete_ptr OPENSSL_sk_delete_ptr 73 | # define sk_find OPENSSL_sk_find 74 | # define sk_find_ex OPENSSL_sk_find_ex 75 | # define sk_push OPENSSL_sk_push 76 | # define sk_unshift OPENSSL_sk_unshift 77 | # define sk_shift OPENSSL_sk_shift 78 | # define sk_pop OPENSSL_sk_pop 79 | # define sk_zero OPENSSL_sk_zero 80 | # define sk_set_cmp_func OPENSSL_sk_set_cmp_func 81 | # define sk_dup OPENSSL_sk_dup 82 | # define sk_sort OPENSSL_sk_sort 83 | # define sk_is_sorted OPENSSL_sk_is_sorted 84 | # endif 85 | 86 | #ifdef __cplusplus 87 | } 88 | #endif 89 | 90 | #endif 91 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/storeerr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_STOREERR_H 12 | # define OPENSSL_STOREERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * OSSL_STORE reason codes. 23 | */ 24 | # define OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE 107 25 | # define OSSL_STORE_R_BAD_PASSWORD_READ 115 26 | # define OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC 113 27 | # define OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST 121 28 | # define OSSL_STORE_R_INVALID_SCHEME 106 29 | # define OSSL_STORE_R_IS_NOT_A 112 30 | # define OSSL_STORE_R_LOADER_INCOMPLETE 116 31 | # define OSSL_STORE_R_LOADING_STARTED 117 32 | # define OSSL_STORE_R_NOT_A_CERTIFICATE 100 33 | # define OSSL_STORE_R_NOT_A_CRL 101 34 | # define OSSL_STORE_R_NOT_A_NAME 103 35 | # define OSSL_STORE_R_NOT_A_PRIVATE_KEY 102 36 | # define OSSL_STORE_R_NOT_A_PUBLIC_KEY 122 37 | # define OSSL_STORE_R_NOT_PARAMETERS 104 38 | # define OSSL_STORE_R_NO_LOADERS_FOUND 123 39 | # define OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR 114 40 | # define OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE 108 41 | # define OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES 119 42 | # define OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED 109 43 | # define OSSL_STORE_R_UNREGISTERED_SCHEME 105 44 | # define OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE 110 45 | # define OSSL_STORE_R_UNSUPPORTED_OPERATION 118 46 | # define OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE 120 47 | # define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED 111 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/symhacks.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_SYMHACKS_H 11 | # define OPENSSL_SYMHACKS_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_SYMHACKS_H 17 | # endif 18 | 19 | # include 20 | 21 | /* Case insensitive linking causes problems.... */ 22 | # if defined(OPENSSL_SYS_VMS) 23 | # undef ERR_load_CRYPTO_strings 24 | # define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings 25 | # undef OCSP_crlID_new 26 | # define OCSP_crlID_new OCSP_crlID2_new 27 | 28 | # undef d2i_ECPARAMETERS 29 | # define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS 30 | # undef i2d_ECPARAMETERS 31 | # define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS 32 | # undef d2i_ECPKPARAMETERS 33 | # define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS 34 | # undef i2d_ECPKPARAMETERS 35 | # define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS 36 | 37 | # endif 38 | 39 | #endif /* ! defined HEADER_VMS_IDHACKS_H */ 40 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/tserr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_TSERR_H 12 | # define OPENSSL_TSERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | # ifndef OPENSSL_NO_TS 21 | 22 | 23 | /* 24 | * TS reason codes. 25 | */ 26 | # define TS_R_BAD_PKCS7_TYPE 132 27 | # define TS_R_BAD_TYPE 133 28 | # define TS_R_CANNOT_LOAD_CERT 137 29 | # define TS_R_CANNOT_LOAD_KEY 138 30 | # define TS_R_CERTIFICATE_VERIFY_ERROR 100 31 | # define TS_R_COULD_NOT_SET_ENGINE 127 32 | # define TS_R_COULD_NOT_SET_TIME 115 33 | # define TS_R_DETACHED_CONTENT 134 34 | # define TS_R_ESS_ADD_SIGNING_CERT_ERROR 116 35 | # define TS_R_ESS_ADD_SIGNING_CERT_V2_ERROR 139 36 | # define TS_R_ESS_SIGNING_CERTIFICATE_ERROR 101 37 | # define TS_R_INVALID_NULL_POINTER 102 38 | # define TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE 117 39 | # define TS_R_MESSAGE_IMPRINT_MISMATCH 103 40 | # define TS_R_NONCE_MISMATCH 104 41 | # define TS_R_NONCE_NOT_RETURNED 105 42 | # define TS_R_NO_CONTENT 106 43 | # define TS_R_NO_TIME_STAMP_TOKEN 107 44 | # define TS_R_PKCS7_ADD_SIGNATURE_ERROR 118 45 | # define TS_R_PKCS7_ADD_SIGNED_ATTR_ERROR 119 46 | # define TS_R_PKCS7_TO_TS_TST_INFO_FAILED 129 47 | # define TS_R_POLICY_MISMATCH 108 48 | # define TS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 120 49 | # define TS_R_RESPONSE_SETUP_ERROR 121 50 | # define TS_R_SIGNATURE_FAILURE 109 51 | # define TS_R_THERE_MUST_BE_ONE_SIGNER 110 52 | # define TS_R_TIME_SYSCALL_ERROR 122 53 | # define TS_R_TOKEN_NOT_PRESENT 130 54 | # define TS_R_TOKEN_PRESENT 131 55 | # define TS_R_TSA_NAME_MISMATCH 111 56 | # define TS_R_TSA_UNTRUSTED 112 57 | # define TS_R_TST_INFO_SETUP_ERROR 123 58 | # define TS_R_TS_DATASIGN 124 59 | # define TS_R_UNACCEPTABLE_POLICY 125 60 | # define TS_R_UNSUPPORTED_MD_ALGORITHM 126 61 | # define TS_R_UNSUPPORTED_VERSION 113 62 | # define TS_R_VAR_BAD_VALUE 135 63 | # define TS_R_VAR_LOOKUP_FAILURE 136 64 | # define TS_R_WRONG_CONTENT_TYPE 114 65 | 66 | # endif 67 | #endif 68 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/txt_db.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_TXT_DB_H 11 | # define OPENSSL_TXT_DB_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_TXT_DB_H 17 | # endif 18 | 19 | # include 20 | # include 21 | # include 22 | # include 23 | 24 | # define DB_ERROR_OK 0 25 | # define DB_ERROR_MALLOC 1 26 | # define DB_ERROR_INDEX_CLASH 2 27 | # define DB_ERROR_INDEX_OUT_OF_RANGE 3 28 | # define DB_ERROR_NO_INDEX 4 29 | # define DB_ERROR_INSERT_INDEX_CLASH 5 30 | # define DB_ERROR_WRONG_NUM_FIELDS 6 31 | 32 | #ifdef __cplusplus 33 | extern "C" { 34 | #endif 35 | 36 | typedef OPENSSL_STRING *OPENSSL_PSTRING; 37 | DEFINE_SPECIAL_STACK_OF(OPENSSL_PSTRING, OPENSSL_STRING) 38 | 39 | typedef struct txt_db_st { 40 | int num_fields; 41 | STACK_OF(OPENSSL_PSTRING) *data; 42 | LHASH_OF(OPENSSL_STRING) **index; 43 | int (**qual) (OPENSSL_STRING *); 44 | long error; 45 | long arg1; 46 | long arg2; 47 | OPENSSL_STRING *arg_row; 48 | } TXT_DB; 49 | 50 | TXT_DB *TXT_DB_read(BIO *in, int num); 51 | long TXT_DB_write(BIO *out, TXT_DB *db); 52 | int TXT_DB_create_index(TXT_DB *db, int field, int (*qual) (OPENSSL_STRING *), 53 | OPENSSL_LH_HASHFUNC hash, OPENSSL_LH_COMPFUNC cmp); 54 | void TXT_DB_free(TXT_DB *db); 55 | OPENSSL_STRING *TXT_DB_get_by_index(TXT_DB *db, int idx, 56 | OPENSSL_STRING *value); 57 | int TXT_DB_insert(TXT_DB *db, OPENSSL_STRING *value); 58 | 59 | #ifdef __cplusplus 60 | } 61 | #endif 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/uierr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_UIERR_H 12 | # define OPENSSL_UIERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * UI reason codes. 23 | */ 24 | # define UI_R_COMMON_OK_AND_CANCEL_CHARACTERS 104 25 | # define UI_R_INDEX_TOO_LARGE 102 26 | # define UI_R_INDEX_TOO_SMALL 103 27 | # define UI_R_NO_RESULT_BUFFER 105 28 | # define UI_R_PROCESSING_ERROR 107 29 | # define UI_R_RESULT_TOO_LARGE 100 30 | # define UI_R_RESULT_TOO_SMALL 101 31 | # define UI_R_SYSASSIGN_ERROR 109 32 | # define UI_R_SYSDASSGN_ERROR 110 33 | # define UI_R_SYSQIOW_ERROR 111 34 | # define UI_R_UNKNOWN_CONTROL_COMMAND 106 35 | # define UI_R_UNKNOWN_TTYGET_ERRNO_VALUE 108 36 | # define UI_R_USER_DATA_DUPLICATION_UNSUPPORTED 112 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/whrlpool.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005-2020 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef OPENSSL_WHRLPOOL_H 11 | # define OPENSSL_WHRLPOOL_H 12 | # pragma once 13 | 14 | # include 15 | # ifndef OPENSSL_NO_DEPRECATED_3_0 16 | # define HEADER_WHRLPOOL_H 17 | # endif 18 | 19 | # include 20 | 21 | # ifndef OPENSSL_NO_WHIRLPOOL 22 | # include 23 | # include 24 | # ifdef __cplusplus 25 | extern "C" { 26 | # endif 27 | 28 | # define WHIRLPOOL_DIGEST_LENGTH (512/8) 29 | 30 | # if !defined(OPENSSL_NO_DEPRECATED_3_0) 31 | 32 | # define WHIRLPOOL_BBLOCK 512 33 | # define WHIRLPOOL_COUNTER (256/8) 34 | 35 | typedef struct { 36 | union { 37 | unsigned char c[WHIRLPOOL_DIGEST_LENGTH]; 38 | /* double q is here to ensure 64-bit alignment */ 39 | double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)]; 40 | } H; 41 | unsigned char data[WHIRLPOOL_BBLOCK / 8]; 42 | unsigned int bitoff; 43 | size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)]; 44 | } WHIRLPOOL_CTX; 45 | # endif 46 | # ifndef OPENSSL_NO_DEPRECATED_3_0 47 | OSSL_DEPRECATEDIN_3_0 int WHIRLPOOL_Init(WHIRLPOOL_CTX *c); 48 | OSSL_DEPRECATEDIN_3_0 int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, 49 | const void *inp, size_t bytes); 50 | OSSL_DEPRECATEDIN_3_0 void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, 51 | const void *inp, size_t bits); 52 | OSSL_DEPRECATEDIN_3_0 int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c); 53 | OSSL_DEPRECATEDIN_3_0 unsigned char *WHIRLPOOL(const void *inp, size_t bytes, 54 | unsigned char *md); 55 | # endif 56 | 57 | # ifdef __cplusplus 58 | } 59 | # endif 60 | # endif 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/x509err.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_X509ERR_H 12 | # define OPENSSL_X509ERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * X509 reason codes. 23 | */ 24 | # define X509_R_AKID_MISMATCH 110 25 | # define X509_R_BAD_SELECTOR 133 26 | # define X509_R_BAD_X509_FILETYPE 100 27 | # define X509_R_BASE64_DECODE_ERROR 118 28 | # define X509_R_CANT_CHECK_DH_KEY 114 29 | # define X509_R_CERTIFICATE_VERIFICATION_FAILED 139 30 | # define X509_R_CERT_ALREADY_IN_HASH_TABLE 101 31 | # define X509_R_CRL_ALREADY_DELTA 127 32 | # define X509_R_CRL_VERIFY_FAILURE 131 33 | # define X509_R_DUPLICATE_ATTRIBUTE 140 34 | # define X509_R_ERROR_GETTING_MD_BY_NID 141 35 | # define X509_R_ERROR_USING_SIGINF_SET 142 36 | # define X509_R_IDP_MISMATCH 128 37 | # define X509_R_INVALID_ATTRIBUTES 138 38 | # define X509_R_INVALID_DIRECTORY 113 39 | # define X509_R_INVALID_DISTPOINT 143 40 | # define X509_R_INVALID_FIELD_NAME 119 41 | # define X509_R_INVALID_TRUST 123 42 | # define X509_R_ISSUER_MISMATCH 129 43 | # define X509_R_KEY_TYPE_MISMATCH 115 44 | # define X509_R_KEY_VALUES_MISMATCH 116 45 | # define X509_R_LOADING_CERT_DIR 103 46 | # define X509_R_LOADING_DEFAULTS 104 47 | # define X509_R_METHOD_NOT_SUPPORTED 124 48 | # define X509_R_NAME_TOO_LONG 134 49 | # define X509_R_NEWER_CRL_NOT_NEWER 132 50 | # define X509_R_NO_CERTIFICATE_FOUND 135 51 | # define X509_R_NO_CERTIFICATE_OR_CRL_FOUND 136 52 | # define X509_R_NO_CERT_SET_FOR_US_TO_VERIFY 105 53 | # define X509_R_NO_CRL_FOUND 137 54 | # define X509_R_NO_CRL_NUMBER 130 55 | # define X509_R_PUBLIC_KEY_DECODE_ERROR 125 56 | # define X509_R_PUBLIC_KEY_ENCODE_ERROR 126 57 | # define X509_R_SHOULD_RETRY 106 58 | # define X509_R_UNABLE_TO_FIND_PARAMETERS_IN_CHAIN 107 59 | # define X509_R_UNABLE_TO_GET_CERTS_PUBLIC_KEY 108 60 | # define X509_R_UNKNOWN_KEY_TYPE 117 61 | # define X509_R_UNKNOWN_NID 109 62 | # define X509_R_UNKNOWN_PURPOSE_ID 121 63 | # define X509_R_UNKNOWN_SIGID_ALGS 144 64 | # define X509_R_UNKNOWN_TRUST_ID 120 65 | # define X509_R_UNSUPPORTED_ALGORITHM 111 66 | # define X509_R_WRONG_LOOKUP_TYPE 112 67 | # define X509_R_WRONG_TYPE 122 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/include/openssl/x509v3err.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef OPENSSL_X509V3ERR_H 12 | # define OPENSSL_X509V3ERR_H 13 | # pragma once 14 | 15 | # include 16 | # include 17 | # include 18 | 19 | 20 | 21 | /* 22 | * X509V3 reason codes. 23 | */ 24 | # define X509V3_R_BAD_IP_ADDRESS 118 25 | # define X509V3_R_BAD_OBJECT 119 26 | # define X509V3_R_BN_DEC2BN_ERROR 100 27 | # define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101 28 | # define X509V3_R_DIRNAME_ERROR 149 29 | # define X509V3_R_DISTPOINT_ALREADY_SET 160 30 | # define X509V3_R_DUPLICATE_ZONE_ID 133 31 | # define X509V3_R_EMPTY_KEY_USAGE 169 32 | # define X509V3_R_ERROR_CONVERTING_ZONE 131 33 | # define X509V3_R_ERROR_CREATING_EXTENSION 144 34 | # define X509V3_R_ERROR_IN_EXTENSION 128 35 | # define X509V3_R_EXPECTED_A_SECTION_NAME 137 36 | # define X509V3_R_EXTENSION_EXISTS 145 37 | # define X509V3_R_EXTENSION_NAME_ERROR 115 38 | # define X509V3_R_EXTENSION_NOT_FOUND 102 39 | # define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103 40 | # define X509V3_R_EXTENSION_VALUE_ERROR 116 41 | # define X509V3_R_ILLEGAL_EMPTY_EXTENSION 151 42 | # define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 152 43 | # define X509V3_R_INVALID_ASNUMBER 162 44 | # define X509V3_R_INVALID_ASRANGE 163 45 | # define X509V3_R_INVALID_BOOLEAN_STRING 104 46 | # define X509V3_R_INVALID_CERTIFICATE 158 47 | # define X509V3_R_INVALID_EMPTY_NAME 108 48 | # define X509V3_R_INVALID_EXTENSION_STRING 105 49 | # define X509V3_R_INVALID_INHERITANCE 165 50 | # define X509V3_R_INVALID_IPADDRESS 166 51 | # define X509V3_R_INVALID_MULTIPLE_RDNS 161 52 | # define X509V3_R_INVALID_NAME 106 53 | # define X509V3_R_INVALID_NULL_ARGUMENT 107 54 | # define X509V3_R_INVALID_NULL_VALUE 109 55 | # define X509V3_R_INVALID_NUMBER 140 56 | # define X509V3_R_INVALID_NUMBERS 141 57 | # define X509V3_R_INVALID_OBJECT_IDENTIFIER 110 58 | # define X509V3_R_INVALID_OPTION 138 59 | # define X509V3_R_INVALID_POLICY_IDENTIFIER 134 60 | # define X509V3_R_INVALID_PROXY_POLICY_SETTING 153 61 | # define X509V3_R_INVALID_PURPOSE 146 62 | # define X509V3_R_INVALID_SAFI 164 63 | # define X509V3_R_INVALID_SECTION 135 64 | # define X509V3_R_INVALID_SYNTAX 143 65 | # define X509V3_R_ISSUER_DECODE_ERROR 126 66 | # define X509V3_R_MISSING_VALUE 124 67 | # define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 142 68 | # define X509V3_R_NEGATIVE_PATHLEN 168 69 | # define X509V3_R_NO_CONFIG_DATABASE 136 70 | # define X509V3_R_NO_ISSUER_CERTIFICATE 121 71 | # define X509V3_R_NO_ISSUER_DETAILS 127 72 | # define X509V3_R_NO_POLICY_IDENTIFIER 139 73 | # define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 154 74 | # define X509V3_R_NO_PUBLIC_KEY 114 75 | # define X509V3_R_NO_SUBJECT_DETAILS 125 76 | # define X509V3_R_OPERATION_NOT_DEFINED 148 77 | # define X509V3_R_OTHERNAME_ERROR 147 78 | # define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 155 79 | # define X509V3_R_POLICY_PATH_LENGTH 156 80 | # define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 157 81 | # define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159 82 | # define X509V3_R_SECTION_NOT_FOUND 150 83 | # define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 122 84 | # define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 123 85 | # define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111 86 | # define X509V3_R_UNKNOWN_EXTENSION 129 87 | # define X509V3_R_UNKNOWN_EXTENSION_NAME 130 88 | # define X509V3_R_UNKNOWN_OPTION 120 89 | # define X509V3_R_UNSUPPORTED_OPTION 117 90 | # define X509V3_R_UNSUPPORTED_TYPE 167 91 | # define X509V3_R_USER_TOO_LONG 132 92 | 93 | #endif 94 | -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/lib/libcrypto.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/qtbase/openssl-3.0.13/build/lib/libcrypto.lib -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/lib/libssl.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/qtbase/openssl-3.0.13/build/lib/libssl.lib -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/lib/ossl-modules/legacy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/qtbase/openssl-3.0.13/build/lib/ossl-modules/legacy.dll -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/lib/ossl-modules/legacy.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/qtbase/openssl-3.0.13/build/lib/ossl-modules/legacy.pdb -------------------------------------------------------------------------------- /5.15.16/qtbase/openssl-3.0.13/build/lib/ossl_static.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.15.16/qtbase/openssl-3.0.13/build/lib/ossl_static.pdb -------------------------------------------------------------------------------- /5.15.16/qtbase/src/corelib/global/qoperatingsystemversion.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2021 The Qt Company Ltd. 4 | ** Contact: https://www.qt.io/licensing/ 5 | ** 6 | ** This file is part of the QtCore module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:COMM$ 9 | ** 10 | ** Commercial License Usage 11 | ** Licensees holding valid commercial Qt licenses may use this file in 12 | ** accordance with the commercial license agreement provided with the 13 | ** Software or, alternatively, in accordance with the terms contained in 14 | ** a written agreement between you and The Qt Company. For licensing terms 15 | ** and conditions see https://www.qt.io/terms-conditions. For further 16 | ** information use the contact form at https://www.qt.io/contact-us. 17 | ** 18 | ** $QT_END_LICENSE$ 19 | ** 20 | ** 21 | ** 22 | ** 23 | ** 24 | ** 25 | ** 26 | ** 27 | ** 28 | ** 29 | ** 30 | ** 31 | ** 32 | ** 33 | ** 34 | ** 35 | ** 36 | ** 37 | ** 38 | ****************************************************************************/ 39 | 40 | #include 41 | 42 | #ifndef QOPERATINGSYSTEMVERSION_H 43 | #define QOPERATINGSYSTEMVERSION_H 44 | 45 | QT_BEGIN_NAMESPACE 46 | 47 | class QString; 48 | class QVersionNumber; 49 | 50 | class Q_CORE_EXPORT QOperatingSystemVersion 51 | { 52 | public: 53 | enum OSType { 54 | Unknown = 0, 55 | Windows, 56 | MacOS, 57 | IOS, 58 | TvOS, 59 | WatchOS, 60 | Android 61 | }; 62 | 63 | static const QOperatingSystemVersion Windows7; 64 | static const QOperatingSystemVersion Windows8; 65 | static const QOperatingSystemVersion Windows8_1; 66 | static const QOperatingSystemVersion Windows10; 67 | 68 | static const QOperatingSystemVersion OSXMavericks; 69 | static const QOperatingSystemVersion OSXYosemite; 70 | static const QOperatingSystemVersion OSXElCapitan; 71 | static const QOperatingSystemVersion MacOSSierra; 72 | static const QOperatingSystemVersion MacOSHighSierra; 73 | static const QOperatingSystemVersion MacOSMojave; 74 | static const QOperatingSystemVersion MacOSCatalina; 75 | static const QOperatingSystemVersion MacOSBigSur; 76 | static const QOperatingSystemVersion MacOSMonterey; 77 | static const QOperatingSystemVersion MacOSVentura; 78 | static const QOperatingSystemVersion MacOSSonoma; 79 | 80 | static const QOperatingSystemVersion AndroidJellyBean; 81 | static const QOperatingSystemVersion AndroidJellyBean_MR1; 82 | static const QOperatingSystemVersion AndroidJellyBean_MR2; 83 | static const QOperatingSystemVersion AndroidKitKat; 84 | static const QOperatingSystemVersion AndroidLollipop; 85 | static const QOperatingSystemVersion AndroidLollipop_MR1; 86 | static const QOperatingSystemVersion AndroidMarshmallow; 87 | static const QOperatingSystemVersion AndroidNougat; 88 | static const QOperatingSystemVersion AndroidNougat_MR1; 89 | static const QOperatingSystemVersion AndroidOreo; 90 | 91 | Q_DECL_CONSTEXPR QOperatingSystemVersion(OSType osType, 92 | int vmajor, int vminor = -1, int vmicro = -1) 93 | : m_os(osType), 94 | m_major(qMax(-1, vmajor)), 95 | m_minor(vmajor < 0 ? -1 : qMax(-1, vminor)), 96 | m_micro(vmajor < 0 || vminor < 0 ? -1 : qMax(-1, vmicro)) 97 | { } 98 | 99 | static QOperatingSystemVersion current(); 100 | 101 | static Q_DECL_CONSTEXPR OSType currentType() 102 | { 103 | #if defined(Q_OS_WIN) 104 | return Windows; 105 | #elif defined(Q_OS_MACOS) 106 | return MacOS; 107 | #elif defined(Q_OS_IOS) 108 | return IOS; 109 | #elif defined(Q_OS_TVOS) 110 | return TvOS; 111 | #elif defined(Q_OS_WATCHOS) 112 | return WatchOS; 113 | #elif defined(Q_OS_ANDROID) 114 | return Android; 115 | #else 116 | return Unknown; 117 | #endif 118 | } 119 | 120 | Q_DECL_CONSTEXPR int majorVersion() const { return m_major; } 121 | Q_DECL_CONSTEXPR int minorVersion() const { return m_minor; } 122 | Q_DECL_CONSTEXPR int microVersion() const { return m_micro; } 123 | 124 | Q_DECL_CONSTEXPR int segmentCount() const 125 | { return m_micro >= 0 ? 3 : m_minor >= 0 ? 2 : m_major >= 0 ? 1 : 0; } 126 | 127 | bool isAnyOfType(std::initializer_list types) const; 128 | Q_DECL_CONSTEXPR OSType type() const { return m_os; } 129 | QString name() const; 130 | 131 | friend bool operator>(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs) 132 | { return lhs.type() == rhs.type() && QOperatingSystemVersion::compare(lhs, rhs) > 0; } 133 | 134 | friend bool operator>=(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs) 135 | { return lhs.type() == rhs.type() && QOperatingSystemVersion::compare(lhs, rhs) >= 0; } 136 | 137 | friend bool operator<(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs) 138 | { return lhs.type() == rhs.type() && QOperatingSystemVersion::compare(lhs, rhs) < 0; } 139 | 140 | friend bool operator<=(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs) 141 | { return lhs.type() == rhs.type() && QOperatingSystemVersion::compare(lhs, rhs) <= 0; } 142 | 143 | private: 144 | QOperatingSystemVersion() = default; 145 | OSType m_os; 146 | int m_major; 147 | int m_minor; 148 | int m_micro; 149 | 150 | static int compare(const QOperatingSystemVersion &v1, const QOperatingSystemVersion &v2); 151 | }; 152 | Q_DECLARE_TYPEINFO(QOperatingSystemVersion, QT_VERSION < QT_VERSION_CHECK(6, 0, 0) ? Q_RELOCATABLE_TYPE : Q_PRIMITIVE_TYPE); 153 | 154 | #ifndef QT_NO_DEBUG_STREAM 155 | class QDebug; 156 | Q_CORE_EXPORT QDebug operator<<(QDebug debug, const QOperatingSystemVersion &ov); 157 | #endif 158 | 159 | QT_END_NAMESPACE 160 | 161 | #endif // QOPERATINGSYSTEMVERSION_H 162 | -------------------------------------------------------------------------------- /5.15.16/qtbase/src/corelib/tools/qduplicatetracker_p.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2020 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz 4 | ** Contact: https://www.qt.io/licensing/ 5 | ** 6 | ** This file is part of the QtCore module of the Qt Toolkit. 7 | ** 8 | ** $QT_BEGIN_LICENSE:COMM$ 9 | ** 10 | ** Commercial License Usage 11 | ** Licensees holding valid commercial Qt licenses may use this file in 12 | ** accordance with the commercial license agreement provided with the 13 | ** Software or, alternatively, in accordance with the terms contained in 14 | ** a written agreement between you and The Qt Company. For licensing terms 15 | ** and conditions see https://www.qt.io/terms-conditions. For further 16 | ** information use the contact form at https://www.qt.io/contact-us. 17 | ** 18 | ** $QT_END_LICENSE$ 19 | ** 20 | ** 21 | ** 22 | ** 23 | ** 24 | ** 25 | ** 26 | ** 27 | ** 28 | ** 29 | ** 30 | ** 31 | ** 32 | ** 33 | ** 34 | ** 35 | ** 36 | ** 37 | ** 38 | ****************************************************************************/ 39 | #ifndef QDUPLICATETRACKER_P_H 40 | #define QDUPLICATETRACKER_P_H 41 | 42 | // 43 | // W A R N I N G 44 | // ------------- 45 | // 46 | // This file is not part of the Qt API. It exists purely as an 47 | // implementation detail. This header file may change from version to 48 | // version without notice, or even be removed. 49 | // 50 | // We mean it. 51 | // 52 | 53 | #include 54 | 55 | #ifdef __cpp_lib_memory_resource 56 | # include 57 | # include 58 | #else 59 | # include 60 | #endif 61 | 62 | QT_BEGIN_NAMESPACE 63 | 64 | template 65 | class QDuplicateTracker { 66 | #ifdef __cpp_lib_memory_resource 67 | struct node_guesstimate { void *next; size_t hash; T value; }; 68 | static constexpr size_t bufferSize(size_t N) { 69 | return N * sizeof(void*) // bucket list 70 | + N * sizeof(node_guesstimate); // nodes 71 | } 72 | 73 | char buffer[bufferSize(Prealloc)]; 74 | std::pmr::monotonic_buffer_resource res{buffer, sizeof buffer}; 75 | std::pmr::unordered_set set{Prealloc, &res}; 76 | #else 77 | static QSet makeQSet() { QSet r; r.reserve(Prealloc); return r; } 78 | QSet set = makeQSet(); 79 | int setSize = 0; 80 | #endif 81 | Q_DISABLE_COPY_MOVE(QDuplicateTracker); 82 | public: 83 | QDuplicateTracker() = default; 84 | void reserve(int n) { set.reserve(n); } 85 | Q_REQUIRED_RESULT bool hasSeen(const T &s) 86 | { 87 | bool inserted; 88 | #ifdef __cpp_lib_memory_resource 89 | inserted = set.insert(s).second; 90 | #else 91 | set.insert(s); 92 | const int n = set.size(); 93 | inserted = qExchange(setSize, n) != n; 94 | #endif 95 | return !inserted; 96 | } 97 | }; 98 | 99 | QT_END_NAMESPACE 100 | 101 | #endif /* QDUPLICATETRACKER_P_H */ 102 | -------------------------------------------------------------------------------- /5.6.3/bin/7z.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.6.3/bin/7z.exe -------------------------------------------------------------------------------- /5.6.3/bin/wget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/5.6.3/bin/wget.exe -------------------------------------------------------------------------------- /5.6.3/compile_mac.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi 4 | 5 | makej () { 6 | make -j$(sysctl -n hw.ncpu) 7 | } 8 | export PATH=$PATH:/usr/local/Qt-5.6.3/bin 9 | 10 | cd qtbase 11 | 12 | ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport 13 | 14 | makej 15 | echo $1 | sudo -S sudo make install 16 | 17 | cd ../qttools 18 | qmake 19 | makej 20 | echo $1 | sudo -S sudo make install 21 | 22 | cd ../qtmacextras 23 | qmake 24 | makej 25 | echo $1 | sudo -S sudo make install 26 | 27 | cd /usr/local 28 | zip -r ~/Desktop/qt5.6.3_mac.zip Qt-5.6.3/* -------------------------------------------------------------------------------- /5.6.3/compile_mac_dev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | makej () { 4 | make -j$(sysctl -n hw.ncpu) 5 | } 6 | export PATH=$PATH:$PWD/qtbase/bin 7 | 8 | cd qtbase 9 | 10 | ./configure -developer-build -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport 11 | 12 | makej 13 | 14 | cd ../qttools 15 | qmake 16 | makej 17 | 18 | cd ../qtmacextras 19 | qmake 20 | makej -------------------------------------------------------------------------------- /5.6.3/compile_win.pl: -------------------------------------------------------------------------------- 1 | use strict; 2 | 3 | my $arch = $ARGV[0]; 4 | my $openssl_v_major = "1.0.2"; # The 1.0.2 series is Long Term Support (LTS) release, supported until 31st December 2019 5 | my $openssl_v_minor = "l"; 6 | my $openssl_version = "$openssl_v_major$openssl_v_minor"; 7 | my $openssl_dir = "openssl-$openssl_version"; 8 | my $openssl_download = "https://www.openssl.org/source/old/$openssl_v_major/openssl-$openssl_version.tar.gz"; 9 | my $openssl_arch = $arch eq "amd64" ? "WIN64A" : "WIN32"; 10 | my $openssl_do_ms = $arch eq "amd64" ? "do_win64a" : "do_ms"; 11 | 12 | $arch = "x86" if ($arch eq ''); # specify x86 is nothing is specified 13 | die "Please specify architecture (x86 or amd64)" if ($arch ne "x86" && $arch ne "amd64"); # die if user specified anything except x86 or amd64 14 | 15 | # will create a batch file 16 | 17 | my $batfile = 'compile_win.bat'; 18 | 19 | open BAT, '>', $batfile; 20 | 21 | printLineToBat ("SET PATH=%PATH%;%cd%\\bin"); # add bin folder to the path for 7z and wget 22 | printLineToBat ("CALL \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" $arch"); 23 | #printLineToBat ("CALL \"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\vcvarsall.bat\" $arch"); # VS2013 24 | printLineToBat ("cd qtbase"); 25 | printLineToBat ("wget --no-check-certificate $openssl_download"); 26 | printLineToBat ("7z x openssl-$openssl_version.tar.gz"); 27 | printLineToBat ("7z x openssl-$openssl_version.tar"); 28 | printLineToBat ("rm openssl-$openssl_version.tar.gz"); 29 | printLineToBat ("rm openssl-$openssl_version.tar"); 30 | printLineToBat ("cd $openssl_dir"); 31 | # build debug 32 | printLineToBat ("perl Configure no-asm no-shared --prefix=%cd%\\Debug --openssldir=%cd%\\Debug debug-VC-$openssl_arch"); 33 | printLineToBat ("call ms\\$openssl_do_ms"); 34 | printLineToBat ("nmake -f ms\\nt.mak"); 35 | printLineToBat ("nmake -f ms\\nt.mak install"); 36 | printLineToBat ("xcopy tmp32.dbg\\lib.pdb Debug\\lib\\"); # Telegram does it. 37 | printLineToBat ("nmake -f ms\\nt.mak clean"); 38 | # now release 39 | printLineToBat ("perl Configure no-asm no-shared --prefix=%cd%\\Release --openssldir=%cd%\\Release VC-$openssl_arch"); 40 | printLineToBat ("call ms\\$openssl_do_ms"); 41 | printLineToBat ("nmake -f ms\\nt.mak"); 42 | printLineToBat ("nmake -f ms\\nt.mak install"); 43 | printLineToBat ("xcopy tmp32\\lib.pdb Release\\lib\\"); # Telegram does it. 44 | printLineToBat ("nmake -f ms\\nt.mak clean"); 45 | # go back to qtbase 46 | printLineToBat ("cd .."); 47 | printLineToBat ("SET _ROOT=%cd%"); 48 | printLineToBat ("SET PATH=%_ROOT%\\qtbase\\bin;%_ROOT%\\gnuwin32\\bin;%PATH%"); # http://doc.qt.io/qt-5/windows-building.html 49 | printLineToBat ("configure -opensource -confirm-license -opengl desktop -mp -nomake tests -nomake examples -target xp -I \"%cd%\\$openssl_dir\\Release\\include\" -openssl-linked OPENSSL_LIBS_DEBUG=\"%cd%\\$openssl_dir\\Debug\\lib\\ssleay32.lib %cd%\\$openssl_dir\\Debug\\lib\\libeay32.lib\" OPENSSL_LIBS_RELEASE=\"%cd%\\$openssl_dir\\Release\\lib\\ssleay32.lib %cd%\\$openssl_dir\\Release\\lib\\libeay32.lib\""); 50 | printLineToBat ("nmake"); 51 | printLineToBat ("cd ..\\qttools"); 52 | printLineToBat ("..\\qtbase\\bin\\qmake"); 53 | printLineToBat ("nmake"); 54 | printLineToBat ("cd ..\\qtwinextras"); 55 | printLineToBat ("..\\qtbase\\bin\\qmake"); 56 | printLineToBat ("nmake"); 57 | printLineToBat ("cd ..\\qtbase"); 58 | printLineToBat ("nmake docs"); 59 | printLineToBat ("cd .."); # go up to qt dir 60 | # openssl clean up 61 | printLineToBat ("cd qtbase"); 62 | printLineToBat ("cd $openssl_dir"); 63 | printLineToBat ("del /s /f /q out32"); 64 | printLineToBat ("del /s /f /q out32.dbg"); 65 | printLineToBat ("cd .."); 66 | printLineToBat ("cd .."); 67 | # the rest 68 | printLineToBat ("del *.obj /s /f"); 69 | printLineToBat ("del *.ilk /s /f"); 70 | printLineToBat ("del *.pch /s /f"); 71 | printLineToBat ("del Makefile* /s /f"); 72 | 73 | close BAT; 74 | 75 | system ($batfile); 76 | #system ("del $batfile"); 77 | system ("pause"); 78 | 79 | sub printLineToBat 80 | { 81 | print BAT "$_[0]\n"; 82 | } -------------------------------------------------------------------------------- /5.6.3/qtbase/configure.bat: -------------------------------------------------------------------------------- 1 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 | :: 3 | :: Copyright (C) 2015 The Qt Company Ltd. 4 | :: Contact: http://www.qt.io/licensing/ 5 | :: 6 | :: This file is part of the tools applications of the Qt Toolkit. 7 | :: 8 | :: $QT_BEGIN_LICENSE:LGPL21$ 9 | :: Commercial License Usage 10 | :: Licensees holding valid commercial Qt licenses may use this file in 11 | :: accordance with the commercial license agreement provided with the 12 | :: Software or, alternatively, in accordance with the terms contained in 13 | :: a written agreement between you and The Qt Company. For licensing terms 14 | :: and conditions see http://www.qt.io/terms-conditions. For further 15 | :: information use the contact form at http://www.qt.io/contact-us. 16 | :: 17 | :: GNU Lesser General Public License Usage 18 | :: Alternatively, this file may be used under the terms of the GNU Lesser 19 | :: General Public License version 2.1 or version 3 as published by the Free 20 | :: Software Foundation and appearing in the file LICENSE.LGPLv21 and 21 | :: LICENSE.LGPLv3 included in the packaging of this file. Please review the 22 | :: following information to ensure the GNU Lesser General Public License 23 | :: requirements will be met: https://www.gnu.org/licenses/lgpl.html and 24 | :: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 25 | :: 26 | :: As a special exception, The Qt Company gives you certain additional 27 | :: rights. These rights are described in The Qt Company LGPL Exception 28 | :: version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 29 | :: 30 | :: $QT_END_LICENSE$ 31 | :: 32 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 33 | 34 | @echo off 35 | set QTSRC=%~dp0 36 | set QTDIR=%CD% 37 | 38 | ::if not exist %QTSRC%.gitignore goto sconf 39 | echo Please wait while bootstrapping configure ... 40 | 41 | for %%C in (cl.exe icl.exe g++.exe perl.exe jom.exe) do set %%C=%%~$PATH:C 42 | 43 | if "%perl.exe%" == "" ( 44 | echo Perl not found in PATH. Aborting. >&2 45 | exit /b 1 46 | ) 47 | if not exist mkspecs ( 48 | md mkspecs 49 | if errorlevel 1 goto exit 50 | ) 51 | 52 | rem Extract Qt's version from .qmake.conf 53 | for /f "eol=# tokens=1,2,3,4 delims=.= " %%i in (%QTSRC%.qmake.conf) do ( 54 | if %%i == MODULE_VERSION ( 55 | set QTVERMAJ=%%j 56 | set QTVERMIN=%%k 57 | set QTVERPAT=%%l 58 | ) 59 | ) 60 | set QTVERSION=%QTVERMAJ%.%QTVERMIN%.%QTVERPAT% 61 | 62 | perl %QTSRC%bin\syncqt.pl -minimal -version %QTVERSION% -module QtCore -outdir "%QTDIR%" %QTSRC% 63 | if errorlevel 1 goto exit 64 | 65 | if not exist tools\configure ( 66 | md tools\configure 67 | if errorlevel 1 goto exit 68 | ) 69 | cd tools\configure 70 | if errorlevel 1 goto exit 71 | 72 | set make=nmake 73 | if not "%jom.exe%" == "" set make=jom 74 | 75 | echo #### Generated by configure.bat - DO NOT EDIT! ####> Makefile 76 | echo/>> Makefile 77 | echo QTVERSION = %QTVERSION%>> Makefile 78 | rem These must have trailing spaces to avoid misinterpretation as 5>>, etc. 79 | echo QT_VERSION_MAJOR = %QTVERMAJ% >> Makefile 80 | echo QT_VERSION_MINOR = %QTVERMIN% >> Makefile 81 | echo QT_VERSION_PATCH = %QTVERPAT% >> Makefile 82 | if not "%icl.exe%" == "" ( 83 | echo CXX = icl>>Makefile 84 | echo EXTRA_CXXFLAGS = /Zc:forScope>>Makefile 85 | rem This must have a trailing space. 86 | echo QTSRC = %QTSRC% >> Makefile 87 | set tmpl=win32 88 | ) else if not "%cl.exe%" == "" ( 89 | echo CXX = cl>>Makefile 90 | echo EXTRA_CXXFLAGS =>>Makefile 91 | rem This must have a trailing space. 92 | echo QTSRC = %QTSRC% >> Makefile 93 | set tmpl=win32 94 | ) else if not "%g++.exe%" == "" ( 95 | echo CXX = g++>>Makefile 96 | echo EXTRA_CXXFLAGS =>>Makefile 97 | rem This must NOT have a trailing space. 98 | echo QTSRC = %QTSRC:\=/%>> Makefile 99 | set tmpl=mingw 100 | set make=mingw32-make 101 | ) else ( 102 | echo No suitable compiler found in PATH. Aborting. >&2 103 | cd ..\.. 104 | exit /b 1 105 | ) 106 | echo/>> Makefile 107 | type %QTSRC%tools\configure\Makefile.%tmpl% >> Makefile 108 | 109 | %make% 110 | if errorlevel 1 (cd ..\.. & exit /b 1) 111 | 112 | cd ..\.. 113 | 114 | :conf 115 | configure.exe -srcdir %QTSRC% %* 116 | goto exit 117 | 118 | :sconf 119 | %QTSRC%configure.exe %* 120 | :exit 121 | -------------------------------------------------------------------------------- /5.6.3/qtbase/mkspecs/common/msvc-desktop.conf: -------------------------------------------------------------------------------- 1 | # 2 | # qmake configuration for Microsoft Visual Studio C/C++ Compiler 3 | # This mkspec is used for all win32-msvcXXXX specs 4 | # 5 | 6 | isEmpty(MSC_VER)|isEmpty(MSVC_VER): error("Source mkspec must set both MSC_VER and MSVC_VER.") 7 | 8 | # 9 | # Baseline: Visual Studio 2005 (8.0), VC++ 14.0 10 | # 11 | 12 | include(angle.conf) 13 | 14 | MAKEFILE_GENERATOR = MSVC.NET 15 | QMAKE_PLATFORM = win32 16 | QMAKE_COMPILER = msvc 17 | CONFIG += incremental flat precompile_header autogen_precompile_source debug_and_release debug_and_release_target embed_manifest_dll embed_manifest_exe 18 | DEFINES += UNICODE WIN32 19 | QMAKE_COMPILER_DEFINES += _MSC_VER=$$MSC_VER _WIN32 20 | contains(QMAKE_TARGET.arch, x86_64) { 21 | DEFINES += WIN64 22 | QMAKE_COMPILER_DEFINES += _WIN64 23 | } 24 | 25 | QMAKE_CC = cl 26 | QMAKE_LEX = flex 27 | QMAKE_LEXFLAGS = 28 | QMAKE_YACC = bison -y 29 | QMAKE_YACCFLAGS = -d 30 | QMAKE_CFLAGS = -nologo -Zc:wchar_t 31 | QMAKE_CFLAGS_WARN_ON = -W3 32 | QMAKE_CFLAGS_WARN_OFF = -W0 33 | QMAKE_CFLAGS_RELEASE = -O2 -MD -Zi 34 | QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi 35 | QMAKE_CFLAGS_DEBUG = -Zi -MDd 36 | QMAKE_CFLAGS_YACC = 37 | QMAKE_CFLAGS_LTCG = -GL 38 | QMAKE_CFLAGS_SSE2 = -arch:SSE2 39 | QMAKE_CFLAGS_SSE3 = -arch:SSE2 40 | QMAKE_CFLAGS_SSSE3 = -arch:SSE2 41 | QMAKE_CFLAGS_SSE4_1 = -arch:SSE2 42 | QMAKE_CFLAGS_SSE4_2 = -arch:SSE2 43 | 44 | QMAKE_CXX = $$QMAKE_CC 45 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS 46 | QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189 -w44996 47 | QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF 48 | QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO 49 | QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO 50 | QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG 51 | QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC 52 | QMAKE_CXXFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG 53 | QMAKE_CXXFLAGS_STL_ON = -EHsc 54 | QMAKE_CXXFLAGS_STL_OFF = 55 | QMAKE_CXXFLAGS_RTTI_ON = -GR 56 | QMAKE_CXXFLAGS_RTTI_OFF = 57 | QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHsc 58 | QMAKE_CXXFLAGS_EXCEPTIONS_OFF = 59 | 60 | QMAKE_INCDIR = 61 | 62 | QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src 63 | QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $< 64 | QMAKE_RUN_CC_IMP_BATCH = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ @<< 65 | QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src 66 | QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $< 67 | QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<< 68 | 69 | QMAKE_LINK = link 70 | QMAKE_LFLAGS = /NOLOGO /DYNAMICBASE /NXCOMPAT 71 | QMAKE_LFLAGS_RELEASE = /INCREMENTAL:NO /DEBUG /OPT:REF 72 | QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /DEBUG /OPT:REF /INCREMENTAL:NO 73 | QMAKE_LFLAGS_DEBUG = /DEBUG 74 | QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:CONSOLE 75 | QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS 76 | QMAKE_LFLAGS_EXE = \"/MANIFESTDEPENDENCY:type=\'win32\' name=\'Microsoft.Windows.Common-Controls\' version=\'6.0.0.0\' publicKeyToken=\'6595b64144ccf1df\' language=\'*\' processorArchitecture=\'*\'\" 77 | QMAKE_LFLAGS_DLL = /DLL 78 | QMAKE_LFLAGS_LTCG = /LTCG 79 | QMAKE_PREFIX_SHLIB = 80 | QMAKE_EXTENSION_SHLIB = dll 81 | QMAKE_PREFIX_STATICLIB = 82 | QMAKE_EXTENSION_STATICLIB = lib 83 | 84 | QMAKE_LIBS_CORE = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib 85 | QMAKE_LIBS_GUI = gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib ws2_32.lib ole32.lib user32.lib advapi32.lib 86 | QMAKE_LIBS_NETWORK = ws2_32.lib user32.lib gdi32.lib 87 | QMAKE_LIBS_OPENGL = glu32.lib opengl32.lib gdi32.lib user32.lib 88 | QMAKE_LIBS_OPENGL_ES2 = $${LIBEGL_NAME}.lib $${LIBGLESV2_NAME}.lib gdi32.lib user32.lib 89 | QMAKE_LIBS_OPENGL_ES2_DEBUG = $${LIBEGL_NAME}d.lib $${LIBGLESV2_NAME}d.lib gdi32.lib user32.lib 90 | QMAKE_LIBS_COMPAT = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib 91 | 92 | QMAKE_LIBS_QT_ENTRY = -lqtmain 93 | 94 | QMAKE_IDL = midl 95 | QMAKE_LIB = lib /NOLOGO 96 | QMAKE_RC = rc 97 | 98 | VCPROJ_EXTENSION = .vcproj 99 | VCSOLUTION_EXTENSION = .sln 100 | VCPROJ_KEYWORD = Qt4VSv1.0 101 | 102 | include(msvc-base.conf) 103 | 104 | unset(MSC_VER) 105 | -------------------------------------------------------------------------------- /6.8.3/_tools/7z.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/7z.dll -------------------------------------------------------------------------------- /6.8.3/_tools/7z.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/7z.exe -------------------------------------------------------------------------------- /6.8.3/_tools/cmake.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/cmake.7z -------------------------------------------------------------------------------- /6.8.3/_tools/gperf.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/gperf.exe -------------------------------------------------------------------------------- /6.8.3/_tools/ninja.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/ninja.exe -------------------------------------------------------------------------------- /6.8.3/_tools/openssl-3.0.13-WIN32.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/openssl-3.0.13-WIN32.7z -------------------------------------------------------------------------------- /6.8.3/_tools/openssl-3.0.13-WIN64A.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/openssl-3.0.13-WIN64A.7z -------------------------------------------------------------------------------- /6.8.3/_tools/wget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crystalidea/qt-build-tools/f3e243c09edb219757ee156fd58cc56dbe6898a8/6.8.3/_tools/wget.exe -------------------------------------------------------------------------------- /6.8.3/compile_mac.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | use strict; 3 | use warnings; 4 | use Time::HiRes qw(gettimeofday tv_interval); 5 | 6 | # Start time 7 | my $start_time = [gettimeofday]; 8 | 9 | # Define the modules to skip 10 | my @skipped_modules = qw( 11 | qthttpserver qtlocation qtspeech qtgrpc qt3d qtactiveqt qtcharts qtcoap 12 | qtconnectivity qtdatavis3d qtdoc qtlottie qtmqtt qtnetworkauth qtopcua 13 | qtpositioning qtremoteobjects qtscxml qtsensors qtserialbus qtserialport 14 | qtsvg qttranslations qtvirtualkeyboard qtwayland qtwebchannel qtwebengine 15 | qtwebsockets qtwebview qtquickeffectmaker qtquicktimeline qtquick3d 16 | qtquick3dphysics qtgraphs qtmultimedia qtdeclarative qtlanguageserver qtshadertools qttools 17 | ); 18 | 19 | # Subroutine to check if a command exists in PATH 20 | sub command_exists { 21 | my ($cmd) = @_; 22 | my $output = `which $cmd 2>/dev/null`; 23 | return $? == 0; 24 | } 25 | 26 | # Subroutine to run a command and stream its output in real-time 27 | sub run_command { 28 | my ($cmd) = @_; 29 | print "Running: $cmd\n"; 30 | open(my $pipe, '-|', "$cmd 2>&1") or die "Error: Unable to execute '$cmd'.\n"; 31 | while (my $line = <$pipe>) { 32 | print $line; 33 | } 34 | close($pipe); 35 | if ($? != 0) { 36 | die "Error: Command '$cmd' failed.\n"; 37 | } 38 | } 39 | 40 | # Subroutine to run a command with optional elevation 41 | sub run_command_with_sudo { 42 | my ($cmd) = @_; 43 | print "Running: $cmd\n"; 44 | open(my $pipe, '-|', "sudo $cmd 2>&1") or die "Error: Unable to execute '$cmd' with sudo.\n"; 45 | while (my $line = <$pipe>) { 46 | print $line; 47 | } 48 | close($pipe); 49 | if ($? != 0) { 50 | die "Error: Command '$cmd' with sudo failed.\n"; 51 | } 52 | } 53 | 54 | # Check for ninja 55 | if (!command_exists('ninja')) { 56 | die "Error: 'ninja' is not installed or not in the PATH. You can use 'brew install ninja' command\n"; 57 | } 58 | 59 | # Check for cmake 60 | if (!command_exists('cmake')) { 61 | die "Error: 'cmake' is not installed or not in the PATH. You can use 'brew install cmake' command\n"; 62 | } 63 | 64 | my $build_dir = "qt6-build"; 65 | my $install_dir = "/usr/local/Qt-6.8.1"; 66 | 67 | if (-d $build_dir) { 68 | die "Error: $build_dir already exists from the previous build\n"; 69 | } 70 | 71 | if (-d $install_dir) { 72 | die "Error: $install_dir already exists from the previous build\n"; 73 | } 74 | 75 | mkdir $build_dir or die "Error: Unable to create directory '$build_dir'.\n"; 76 | chdir $build_dir or die "Error: Unable to change directory to '$build_dir'.\n"; 77 | 78 | # Prepare the configuration command 79 | my $skip_modules_string = join(' ', map { "-skip $_" } @skipped_modules); 80 | 81 | # Configure the build 82 | print "Configuring the build...\n"; 83 | 84 | my $build_archs = "-DCMAKE_OSX_ARCHITECTURES=\"x86_64;arm64\""; 85 | # NOTE: if $build_archs is empty, Qt is defaults to x86_64 on an arm64 machine, which is not what described in the docs: 86 | # https://doc.qt.io/qt-6/macos-building.html 87 | my $build_etc = "-DBUILD_TESTING=OFF"; 88 | 89 | run_command("../configure $skip_modules_string -no-framework -- $build_archs $build_etc"); 90 | 91 | # Build Qt6 92 | print "Building Qt6...\n"; 93 | run_command("cmake --build . --parallel"); 94 | 95 | # End time 96 | my $end_time = [gettimeofday]; 97 | my $elapsed = tv_interval($start_time, $end_time); 98 | # Convert elapsed time to mm:ss format 99 | my $minutes = int($elapsed / 60); 100 | my $seconds = $elapsed % 60; 101 | # Format the output 102 | printf("Compilation time: %02d:%02d\n", $minutes, $seconds); 103 | 104 | # Install Qt6 with sudo 105 | print "Installing Qt6 with elevated privileges...\n"; 106 | run_command_with_sudo("cmake --install ."); 107 | 108 | print "Qt6 has been successfully built and installed.\n"; -------------------------------------------------------------------------------- /6.8.3/compile_win_x64.bat: -------------------------------------------------------------------------------- 1 | perl compile_win.pl amd64 C:\qt6_x64 -------------------------------------------------------------------------------- /6.8.3/compile_win_x64_pdf_multimedia.bat: -------------------------------------------------------------------------------- 1 | perl compile_win.pl amd64 C:\qt6_x64 --vcpkg-dir=G:\Projects\vcpkg --build-pdf --build-multimedia -------------------------------------------------------------------------------- /6.8.3/compile_win_x86.bat: -------------------------------------------------------------------------------- 1 | perl compile_win.pl x86 C:\qt6 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Qt build tools and patches 2 | 3 | This is a set of build tools and required patches to build Qt yourself and distribute it along with your app on macOS and Windows. 4 | 5 | ### macOS 6 | 7 | For macOS we currently distribute two binaries: 8 | 9 | - Modern, compiled with [Qt 5.15.16](5.15.16) for macOS 10.13+. The folder contains several macOS-related patches. 10 | 11 | - Legacy, compiled with [Qt 5.6.3](5.6.3) for macOS 10.7-10.12. The folder contains several macOS-related patches ([QTBUG-40583](https://bugreports.qt.io/browse/QTBUG-40583), [QTBUG-18624](https://bugreports.qt.io/browse/QTBUG-18624), [QTBUG-52536](https://bugreports.qt.io/browse/QTBUG-52536), [QTBUG-63451](https://bugreports.qt.io/browse/QTBUG-63451) ) already applied in order to be compiled and used normally. To compile Qt 5.6.3 we use macOS 10.13 and XCode 8. 12 | 13 | To apply patches and compile Qt the same as we do, simply copy the contents of the folder ([Qt 5.15.16](5.15.16) or [Qt 5.6.3](5.6.3)) to the official Qt source tree (overwriting existing files of cause). 14 | 15 | Compiling your app with both modern and legacy Qt can be done on modern macOS with [XCode](https://apps.apple.com/us/app/xcode/id497799835?mt=12). 16 | 17 | When compiling a project with Qt 5.6.3 on arm64 host machine some additional steps are required in your .pro file: 18 | 19 | ```bash 20 | # compiler flags: 21 | QMAKE_CXXFLAGS += "-arch x86_64" 22 | QMAKE_CFLAGS += "-arch x86_64" 23 | QMAKE_LFLAGS += "-arch x86_64" 24 | # linker flags, required to support 10.7, otherwise minimum deployment target is 10.9 25 | QMAKE_LFLAGS += "-stdlib=libc++" 26 | ``` 27 | 28 | ### Windows 29 | 30 | On Windows you need [VS2022 Community Edition](https://visualstudio.microsoft.com/downloads/) and [Perl](https://strawberryperl.com/). QtNetwork module is compiled using openssl-3.0.13 which is pre-compiled but once you delete the folder, it will be compiled again. 31 | 32 | ### Qt 6 33 | 34 | We currently have a build script only for Windows (VS2022). 35 | --------------------------------------------------------------------------------