obfuscation 3.23.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- obfuscation-3.23.0/.github/workflows/codeql-analysis.yml +68 -0
- obfuscation-3.23.0/.github/workflows/integration.yml +225 -0
- obfuscation-3.23.0/.github/workflows/wheels.yml +147 -0
- obfuscation-3.23.0/AUTHORS.rst +51 -0
- obfuscation-3.23.0/Changelog.rst +1075 -0
- obfuscation-3.23.0/Doc/Changelog.pycrypto +772 -0
- obfuscation-3.23.0/Doc/LEGAL/00INDEX +3 -0
- obfuscation-3.23.0/Doc/LEGAL/COPYRIGHT.pycrypto +61 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/00INDEX +4 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/LICENSE.libtom +5 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/LICENSE.orig +15 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/LICENSE.python-2.2 +253 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Andrew_M_Kuchling.mbox +156 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Barry_A_Warsaw.mbox +135 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Jeethu_Rao.mbox +277 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Joris_Bontje.mbox +298 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Mark_Moraes.mbox +340 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Paul_Swartz.mbox +211 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Robey_Pointer.asc +53 -0
- obfuscation-3.23.0/Doc/LEGAL/copy/stmts/Wim_Lewis.asc +45 -0
- obfuscation-3.23.0/Doc/LEGAL/tsu-notify.mbox +130 -0
- obfuscation-3.23.0/Doc/Makefile +147 -0
- obfuscation-3.23.0/Doc/_static/theme_overrides.css +13 -0
- obfuscation-3.23.0/Doc/conf.py +293 -0
- obfuscation-3.23.0/Doc/index.rst +16 -0
- obfuscation-3.23.0/Doc/make.bat +190 -0
- obfuscation-3.23.0/Doc/python-3-changes.txt +109 -0
- obfuscation-3.23.0/Doc/requirements-docs.txt +3 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/__init__.py +106 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/breadcrumbs.html +77 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/footer.html +62 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/layout.html +227 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/da/LC_MESSAGES/sphinx.po +206 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/de/LC_MESSAGES/sphinx.po +136 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po +201 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.po +169 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/et/LC_MESSAGES/sphinx.po +166 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/fa_IR/LC_MESSAGES/sphinx.po +161 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/fr/LC_MESSAGES/sphinx.po +169 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/hr/LC_MESSAGES/sphinx.po +23 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/hu/LC_MESSAGES/sphinx.po +23 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/it/LC_MESSAGES/sphinx.po +192 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/lt/LC_MESSAGES/sphinx.po +188 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/nl/LC_MESSAGES/sphinx.po +188 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/pl/LC_MESSAGES/sphinx.po +137 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/pt/LC_MESSAGES/sphinx.po +161 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/pt_BR/LC_MESSAGES/sphinx.po +191 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/ru/LC_MESSAGES/sphinx.po +189 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/sv/LC_MESSAGES/sphinx.po +151 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/tr/LC_MESSAGES/sphinx.po +143 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/zh_CN/LC_MESSAGES/sphinx.po +188 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/locale/zh_TW/LC_MESSAGES/sphinx.po +23 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/search.html +56 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/searchbox.html +9 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/badge_only.css +1 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/Roboto-Slab-Bold.woff +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/Roboto-Slab-Regular.woff +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/fontawesome-webfont.eot +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/fontawesome-webfont.svg +2671 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/fontawesome-webfont.ttf +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/fontawesome-webfont.woff +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/fontawesome-webfont.woff2 +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-bold-italic.woff +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-bold-italic.woff2 +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-bold.woff +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-bold.woff2 +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-normal-italic.woff +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-normal-italic.woff2 +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-normal.woff +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/fonts/lato-normal.woff2 +0 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/css/theme.css +4 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/js/badge_only.js +1 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/js/theme.js +1 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/static/js/versions.js_t +228 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/theme.conf +22 -0
- obfuscation-3.23.0/Doc/sphinx_rtd_theme/versions.html +0 -0
- obfuscation-3.23.0/Doc/src/api.rst +52 -0
- obfuscation-3.23.0/Doc/src/changelog.rst +1 -0
- obfuscation-3.23.0/Doc/src/cipher/aead.png +0 -0
- obfuscation-3.23.0/Doc/src/cipher/aead.xml +1 -0
- obfuscation-3.23.0/Doc/src/cipher/aes.rst +42 -0
- obfuscation-3.23.0/Doc/src/cipher/arc2.rst +36 -0
- obfuscation-3.23.0/Doc/src/cipher/arc4.rst +44 -0
- obfuscation-3.23.0/Doc/src/cipher/blowfish.rst +32 -0
- obfuscation-3.23.0/Doc/src/cipher/cast.rst +35 -0
- obfuscation-3.23.0/Doc/src/cipher/chacha20.rst +74 -0
- obfuscation-3.23.0/Doc/src/cipher/chacha20_poly1305.rst +68 -0
- obfuscation-3.23.0/Doc/src/cipher/cipher.rst +127 -0
- obfuscation-3.23.0/Doc/src/cipher/classic.rst +378 -0
- obfuscation-3.23.0/Doc/src/cipher/ctr_mode.png +0 -0
- obfuscation-3.23.0/Doc/src/cipher/ctr_mode.xml +1 -0
- obfuscation-3.23.0/Doc/src/cipher/des.rst +31 -0
- obfuscation-3.23.0/Doc/src/cipher/des3.rst +56 -0
- obfuscation-3.23.0/Doc/src/cipher/modern.rst +655 -0
- obfuscation-3.23.0/Doc/src/cipher/oaep.rst +43 -0
- obfuscation-3.23.0/Doc/src/cipher/ocb_mode.png +0 -0
- obfuscation-3.23.0/Doc/src/cipher/ocb_mode.xml +1 -0
- obfuscation-3.23.0/Doc/src/cipher/pkcs1_v1_5.rst +41 -0
- obfuscation-3.23.0/Doc/src/cipher/salsa20.rst +38 -0
- obfuscation-3.23.0/Doc/src/cipher/simple_mode.png +0 -0
- obfuscation-3.23.0/Doc/src/cipher/simple_mode.xml +1 -0
- obfuscation-3.23.0/Doc/src/cipher/siv.png +0 -0
- obfuscation-3.23.0/Doc/src/cipher/siv.xml +1 -0
- obfuscation-3.23.0/Doc/src/contribute_support.rst +41 -0
- obfuscation-3.23.0/Doc/src/examples.rst +240 -0
- obfuscation-3.23.0/Doc/src/faq.rst +126 -0
- obfuscation-3.23.0/Doc/src/features.rst +116 -0
- obfuscation-3.23.0/Doc/src/hash/blake2b.rst +29 -0
- obfuscation-3.23.0/Doc/src/hash/blake2s.rst +29 -0
- obfuscation-3.23.0/Doc/src/hash/cmac.rst +52 -0
- obfuscation-3.23.0/Doc/src/hash/cshake128.rst +42 -0
- obfuscation-3.23.0/Doc/src/hash/cshake256.rst +42 -0
- obfuscation-3.23.0/Doc/src/hash/hash.rst +164 -0
- obfuscation-3.23.0/Doc/src/hash/hashing.png +0 -0
- obfuscation-3.23.0/Doc/src/hash/hashing.xml +1 -0
- obfuscation-3.23.0/Doc/src/hash/hmac.rst +45 -0
- obfuscation-3.23.0/Doc/src/hash/k12.rst +40 -0
- obfuscation-3.23.0/Doc/src/hash/keccak.rst +28 -0
- obfuscation-3.23.0/Doc/src/hash/kmac128.rst +51 -0
- obfuscation-3.23.0/Doc/src/hash/kmac256.rst +51 -0
- obfuscation-3.23.0/Doc/src/hash/md2.rst +21 -0
- obfuscation-3.23.0/Doc/src/hash/md5.rst +88 -0
- obfuscation-3.23.0/Doc/src/hash/poly1305.rst +58 -0
- obfuscation-3.23.0/Doc/src/hash/ripemd160.rst +39 -0
- obfuscation-3.23.0/Doc/src/hash/sha1.rst +87 -0
- obfuscation-3.23.0/Doc/src/hash/sha224.rst +18 -0
- obfuscation-3.23.0/Doc/src/hash/sha256.rst +35 -0
- obfuscation-3.23.0/Doc/src/hash/sha384.rst +28 -0
- obfuscation-3.23.0/Doc/src/hash/sha3_224.rst +20 -0
- obfuscation-3.23.0/Doc/src/hash/sha3_256.rst +20 -0
- obfuscation-3.23.0/Doc/src/hash/sha3_384.rst +20 -0
- obfuscation-3.23.0/Doc/src/hash/sha3_512.rst +20 -0
- obfuscation-3.23.0/Doc/src/hash/sha512.rst +57 -0
- obfuscation-3.23.0/Doc/src/hash/shake128.rst +30 -0
- obfuscation-3.23.0/Doc/src/hash/shake256.rst +30 -0
- obfuscation-3.23.0/Doc/src/hash/tuplehash128.rst +69 -0
- obfuscation-3.23.0/Doc/src/hash/tuplehash256.rst +69 -0
- obfuscation-3.23.0/Doc/src/hash/turboshake.rst +60 -0
- obfuscation-3.23.0/Doc/src/hash/xof.png +0 -0
- obfuscation-3.23.0/Doc/src/hash/xof.xml +1 -0
- obfuscation-3.23.0/Doc/src/installation.rst +1 -0
- obfuscation-3.23.0/Doc/src/introduction.rst +1 -0
- obfuscation-3.23.0/Doc/src/io/io.rst +13 -0
- obfuscation-3.23.0/Doc/src/io/pem.rst +14 -0
- obfuscation-3.23.0/Doc/src/io/pkcs8.rst +96 -0
- obfuscation-3.23.0/Doc/src/license.rst +5 -0
- obfuscation-3.23.0/Doc/src/protocol/dh.png +0 -0
- obfuscation-3.23.0/Doc/src/protocol/dh.rst +201 -0
- obfuscation-3.23.0/Doc/src/protocol/hpke.png +0 -0
- obfuscation-3.23.0/Doc/src/protocol/hpke.rst +114 -0
- obfuscation-3.23.0/Doc/src/protocol/hpkeAUTH.png +0 -0
- obfuscation-3.23.0/Doc/src/protocol/hpkePSK.png +0 -0
- obfuscation-3.23.0/Doc/src/protocol/kdf.rst +181 -0
- obfuscation-3.23.0/Doc/src/protocol/protocol.rst +16 -0
- obfuscation-3.23.0/Doc/src/protocol/ss.rst +101 -0
- obfuscation-3.23.0/Doc/src/public_key/dsa.rst +72 -0
- obfuscation-3.23.0/Doc/src/public_key/ecc.rst +74 -0
- obfuscation-3.23.0/Doc/src/public_key/elgamal.rst +67 -0
- obfuscation-3.23.0/Doc/src/public_key/public_key.rst +65 -0
- obfuscation-3.23.0/Doc/src/public_key/rsa.rst +59 -0
- obfuscation-3.23.0/Doc/src/public_key.rst +4 -0
- obfuscation-3.23.0/Doc/src/random/random.rst +35 -0
- obfuscation-3.23.0/Doc/src/signature/dsa.rst +40 -0
- obfuscation-3.23.0/Doc/src/signature/eddsa.rst +71 -0
- obfuscation-3.23.0/Doc/src/signature/pkcs1_pss.rst +38 -0
- obfuscation-3.23.0/Doc/src/signature/pkcs1_v1_5.rst +35 -0
- obfuscation-3.23.0/Doc/src/signature/signature.rst +49 -0
- obfuscation-3.23.0/Doc/src/util/asn1.rst +10 -0
- obfuscation-3.23.0/Doc/src/util/counter_be.png +0 -0
- obfuscation-3.23.0/Doc/src/util/counter_be.xml +1 -0
- obfuscation-3.23.0/Doc/src/util/counter_le.png +0 -0
- obfuscation-3.23.0/Doc/src/util/counter_le.xml +1 -0
- obfuscation-3.23.0/Doc/src/util/util.rst +133 -0
- obfuscation-3.23.0/Doc/src/vs_pycrypto.rst +64 -0
- obfuscation-3.23.0/INSTALL.rst +197 -0
- obfuscation-3.23.0/LICENSE.rst +61 -0
- obfuscation-3.23.0/MANIFEST.in +13 -0
- obfuscation-3.23.0/PKG-INFO +86 -0
- obfuscation-3.23.0/README.rst +90 -0
- obfuscation-3.23.0/compiler_opt.py +406 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/AES.py +235 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/AES.pyi +156 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ARC2.py +175 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ARC2.pyi +35 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ARC4.py +136 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ARC4.pyi +16 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/Blowfish.py +159 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/Blowfish.pyi +35 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/CAST.py +159 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/CAST.pyi +35 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ChaCha20.py +291 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ChaCha20.pyi +25 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ChaCha20_Poly1305.py +334 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/ChaCha20_Poly1305.pyi +28 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/DES.py +158 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/DES.pyi +35 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/DES3.py +187 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/DES3.pyi +37 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/PKCS1_OAEP.py +231 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/PKCS1_OAEP.pyi +35 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/PKCS1_v1_5.py +189 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/PKCS1_v1_5.pyi +20 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/Salsa20.py +167 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/Salsa20.pyi +26 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_EKSBlowfish.py +131 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_EKSBlowfish.pyi +15 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/__init__.py +91 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/__init__.pyi +0 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_cbc.py +293 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_cbc.pyi +25 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ccm.py +671 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ccm.pyi +52 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_cfb.py +293 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_cfb.pyi +26 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ctr.py +393 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ctr.pyi +27 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_eax.py +408 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_eax.pyi +45 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ecb.py +220 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ecb.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_gcm.py +620 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_gcm.pyi +45 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_kw.py +158 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_kwp.py +135 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ocb.py +532 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ocb.pyi +36 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ofb.py +282 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_ofb.pyi +25 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_openpgp.py +206 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_openpgp.pyi +20 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_siv.py +392 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_mode_siv.pyi +38 -0
- obfuscation-3.23.0/lib/Crypto/Cipher/_pkcs1_oaep_decode.py +41 -0
- obfuscation-3.23.0/lib/Crypto/Hash/BLAKE2b.py +247 -0
- obfuscation-3.23.0/lib/Crypto/Hash/BLAKE2b.pyi +32 -0
- obfuscation-3.23.0/lib/Crypto/Hash/BLAKE2s.py +247 -0
- obfuscation-3.23.0/lib/Crypto/Hash/BLAKE2s.pyi +26 -0
- obfuscation-3.23.0/lib/Crypto/Hash/CMAC.py +306 -0
- obfuscation-3.23.0/lib/Crypto/Hash/CMAC.pyi +30 -0
- obfuscation-3.23.0/lib/Crypto/Hash/HMAC.py +238 -0
- obfuscation-3.23.0/lib/Crypto/Hash/HMAC.pyi +25 -0
- obfuscation-3.23.0/lib/Crypto/Hash/KMAC128.py +179 -0
- obfuscation-3.23.0/lib/Crypto/Hash/KMAC128.pyi +33 -0
- obfuscation-3.23.0/lib/Crypto/Hash/KMAC256.py +74 -0
- obfuscation-3.23.0/lib/Crypto/Hash/KMAC256.pyi +10 -0
- obfuscation-3.23.0/lib/Crypto/Hash/KangarooTwelve.py +222 -0
- obfuscation-3.23.0/lib/Crypto/Hash/KangarooTwelve.pyi +16 -0
- obfuscation-3.23.0/lib/Crypto/Hash/MD2.py +166 -0
- obfuscation-3.23.0/lib/Crypto/Hash/MD2.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/MD4.py +185 -0
- obfuscation-3.23.0/lib/Crypto/Hash/MD4.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/MD5.py +184 -0
- obfuscation-3.23.0/lib/Crypto/Hash/MD5.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/Poly1305.py +217 -0
- obfuscation-3.23.0/lib/Crypto/Hash/Poly1305.pyi +24 -0
- obfuscation-3.23.0/lib/Crypto/Hash/RIPEMD.py +26 -0
- obfuscation-3.23.0/lib/Crypto/Hash/RIPEMD.pyi +3 -0
- obfuscation-3.23.0/lib/Crypto/Hash/RIPEMD160.py +169 -0
- obfuscation-3.23.0/lib/Crypto/Hash/RIPEMD160.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA.py +24 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA.pyi +4 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA1.py +185 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA1.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA224.py +186 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA224.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA256.py +185 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA256.pyi +18 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA384.py +186 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA384.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_224.py +174 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_224.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_256.py +174 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_256.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_384.py +179 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_384.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_512.py +174 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA3_512.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA512.py +204 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHA512.pyi +22 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHAKE128.py +145 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHAKE128.pyi +14 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHAKE256.py +146 -0
- obfuscation-3.23.0/lib/Crypto/Hash/SHAKE256.pyi +14 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TupleHash128.py +136 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TupleHash128.pyi +22 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TupleHash256.py +70 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TupleHash256.pyi +5 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TurboSHAKE128.py +112 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TurboSHAKE128.pyi +17 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TurboSHAKE256.py +22 -0
- obfuscation-3.23.0/lib/Crypto/Hash/TurboSHAKE256.pyi +12 -0
- obfuscation-3.23.0/lib/Crypto/Hash/__init__.py +69 -0
- obfuscation-3.23.0/lib/Crypto/Hash/__init__.pyi +57 -0
- obfuscation-3.23.0/lib/Crypto/Hash/cSHAKE128.py +187 -0
- obfuscation-3.23.0/lib/Crypto/Hash/cSHAKE128.pyi +14 -0
- obfuscation-3.23.0/lib/Crypto/Hash/cSHAKE256.py +56 -0
- obfuscation-3.23.0/lib/Crypto/Hash/cSHAKE256.pyi +8 -0
- obfuscation-3.23.0/lib/Crypto/Hash/keccak.py +181 -0
- obfuscation-3.23.0/lib/Crypto/Hash/keccak.pyi +23 -0
- obfuscation-3.23.0/lib/Crypto/IO/PEM.py +191 -0
- obfuscation-3.23.0/lib/Crypto/IO/PEM.pyi +10 -0
- obfuscation-3.23.0/lib/Crypto/IO/PKCS8.py +226 -0
- obfuscation-3.23.0/lib/Crypto/IO/PKCS8.pyi +17 -0
- obfuscation-3.23.0/lib/Crypto/IO/_PBES.py +546 -0
- obfuscation-3.23.0/lib/Crypto/IO/_PBES.pyi +26 -0
- obfuscation-3.23.0/lib/Crypto/IO/__init__.py +31 -0
- obfuscation-3.23.0/lib/Crypto/Math/Numbers.py +47 -0
- obfuscation-3.23.0/lib/Crypto/Math/Numbers.pyi +2 -0
- obfuscation-3.23.0/lib/Crypto/Math/Primality.py +369 -0
- obfuscation-3.23.0/lib/Crypto/Math/Primality.pyi +18 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerBase.py +412 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerBase.pyi +67 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerCustom.py +162 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerCustom.pyi +8 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerGMP.py +799 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerGMP.pyi +3 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerNative.py +382 -0
- obfuscation-3.23.0/lib/Crypto/Math/_IntegerNative.pyi +3 -0
- obfuscation-3.23.0/lib/Crypto/Math/__init__.py +0 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/DH.py +192 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/DH.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/HPKE.py +483 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/KDF.py +647 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/KDF.pyi +44 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/SecretSharing.py +297 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/SecretSharing.pyi +22 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/__init__.py +31 -0
- obfuscation-3.23.0/lib/Crypto/Protocol/__init__.pyi +1 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/DSA.py +682 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/DSA.pyi +31 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/ECC.py +1342 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/ECC.pyi +80 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/ElGamal.py +286 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/ElGamal.pyi +18 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/RSA.py +871 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/RSA.pyi +78 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/__init__.py +94 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/__init__.pyi +0 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_curve.py +37 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_edwards.py +116 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_montgomery.py +152 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_nist_ecc.py +246 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_openssh.py +135 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_openssh.pyi +7 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_point.py +493 -0
- obfuscation-3.23.0/lib/Crypto/PublicKey/_point.pyi +49 -0
- obfuscation-3.23.0/lib/Crypto/Random/__init__.py +57 -0
- obfuscation-3.23.0/lib/Crypto/Random/__init__.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Random/random.py +138 -0
- obfuscation-3.23.0/lib/Crypto/Random/random.pyi +22 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/__init__.py +64 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/common.py +510 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_AES.py +1351 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_ARC2.py +167 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_ARC4.py +471 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_Blowfish.py +160 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_CAST.py +101 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_CBC.py +556 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_CCM.py +970 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_CFB.py +411 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_CTR.py +472 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_ChaCha20.py +529 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_ChaCha20_Poly1305.py +776 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_DES.py +374 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_DES3.py +195 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_EAX.py +773 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_GCM.py +951 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_KW.py +175 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_OCB.py +845 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_OFB.py +238 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_OpenPGP.py +218 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_SIV.py +552 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_Salsa20.py +367 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py +283 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py +506 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/__init__.py +62 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/common.py +290 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_BLAKE2.py +482 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_CMAC.py +448 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_HMAC.py +548 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_KMAC.py +346 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_KangarooTwelve.py +367 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_MD2.py +62 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_MD4.py +64 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_MD5.py +94 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_Poly1305.py +542 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_RIPEMD160.py +71 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA1.py +84 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA224.py +63 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA256.py +94 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA384.py +61 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA3_224.py +79 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA3_256.py +80 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA3_384.py +79 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA3_512.py +79 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHA512.py +140 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_SHAKE.py +151 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_TupleHash.py +302 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_TurboSHAKE.py +468 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_cSHAKE.py +178 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Hash/test_keccak.py +250 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/IO/__init__.py +47 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/IO/test_PBES.py +118 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/IO/test_PKCS8.py +459 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Math/__init__.py +51 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Math/test_Numbers.py +838 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Math/test_Primality.py +118 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Math/test_modexp.py +201 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Math/test_modmult.py +120 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Protocol/__init__.py +45 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Protocol/test_HPKE.py +491 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Protocol/test_KDF.py +809 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Protocol/test_SecretSharing.py +290 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Protocol/test_ecdh.py +770 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Protocol/test_rfc1751.py +62 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/__init__.py +63 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_DSA.py +247 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_ECC_Curve25519.py +283 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_ECC_Curve448.py +246 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_ECC_Ed25519.py +341 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_ECC_Ed448.py +336 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py +1440 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_ElGamal.py +217 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_RSA.py +324 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_import_Curve25519.py +385 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_import_Curve448.py +351 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_import_DSA.py +554 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_import_ECC.py +2782 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/PublicKey/test_import_RSA.py +636 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Random/__init__.py +39 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Random/test_random.py +167 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Signature/__init__.py +41 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Signature/test_dss.py +1369 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Signature/test_eddsa.py +604 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Signature/test_pkcs1_15.py +348 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Signature/test_pss.py +377 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Util/__init__.py +46 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Util/test_Counter.py +67 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Util/test_Padding.py +153 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Util/test_asn1.py +851 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Util/test_number.py +192 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Util/test_rfc1751.py +38 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/Util/test_strxor.py +280 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/__init__.py +102 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/__main__.py +43 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/loader.py +250 -0
- obfuscation-3.23.0/lib/Crypto/SelfTest/st_common.py +55 -0
- obfuscation-3.23.0/lib/Crypto/Signature/DSS.py +403 -0
- obfuscation-3.23.0/lib/Crypto/Signature/DSS.pyi +27 -0
- obfuscation-3.23.0/lib/Crypto/Signature/PKCS1_PSS.py +55 -0
- obfuscation-3.23.0/lib/Crypto/Signature/PKCS1_PSS.pyi +28 -0
- obfuscation-3.23.0/lib/Crypto/Signature/PKCS1_v1_5.py +53 -0
- obfuscation-3.23.0/lib/Crypto/Signature/PKCS1_v1_5.pyi +16 -0
- obfuscation-3.23.0/lib/Crypto/Signature/__init__.py +36 -0
- obfuscation-3.23.0/lib/Crypto/Signature/eddsa.py +343 -0
- obfuscation-3.23.0/lib/Crypto/Signature/eddsa.pyi +21 -0
- obfuscation-3.23.0/lib/Crypto/Signature/pkcs1_15.py +223 -0
- obfuscation-3.23.0/lib/Crypto/Signature/pkcs1_15.pyi +17 -0
- obfuscation-3.23.0/lib/Crypto/Signature/pss.py +387 -0
- obfuscation-3.23.0/lib/Crypto/Signature/pss.pyi +30 -0
- obfuscation-3.23.0/lib/Crypto/Util/Counter.py +79 -0
- obfuscation-3.23.0/lib/Crypto/Util/Counter.pyi +5 -0
- obfuscation-3.23.0/lib/Crypto/Util/Padding.py +119 -0
- obfuscation-3.23.0/lib/Crypto/Util/Padding.pyi +6 -0
- obfuscation-3.23.0/lib/Crypto/Util/RFC1751.py +386 -0
- obfuscation-3.23.0/lib/Crypto/Util/RFC1751.pyi +7 -0
- obfuscation-3.23.0/lib/Crypto/Util/__init__.py +41 -0
- obfuscation-3.23.0/lib/Crypto/Util/_cpu_features.py +46 -0
- obfuscation-3.23.0/lib/Crypto/Util/_cpu_features.pyi +2 -0
- obfuscation-3.23.0/lib/Crypto/Util/_file_system.py +54 -0
- obfuscation-3.23.0/lib/Crypto/Util/_file_system.pyi +4 -0
- obfuscation-3.23.0/lib/Crypto/Util/_raw_api.py +325 -0
- obfuscation-3.23.0/lib/Crypto/Util/_raw_api.pyi +27 -0
- obfuscation-3.23.0/lib/Crypto/Util/asn1.py +1064 -0
- obfuscation-3.23.0/lib/Crypto/Util/asn1.pyi +80 -0
- obfuscation-3.23.0/lib/Crypto/Util/number.py +1525 -0
- obfuscation-3.23.0/lib/Crypto/Util/number.pyi +19 -0
- obfuscation-3.23.0/lib/Crypto/Util/py3compat.py +185 -0
- obfuscation-3.23.0/lib/Crypto/Util/py3compat.pyi +33 -0
- obfuscation-3.23.0/lib/Crypto/Util/strxor.py +146 -0
- obfuscation-3.23.0/lib/Crypto/Util/strxor.pyi +6 -0
- obfuscation-3.23.0/lib/Crypto/__init__.py +6 -0
- obfuscation-3.23.0/lib/Crypto/__init__.pyi +4 -0
- obfuscation-3.23.0/lib/Crypto/py.typed +0 -0
- obfuscation-3.23.0/lib/obfuscation.egg-info/PKG-INFO +86 -0
- obfuscation-3.23.0/lib/obfuscation.egg-info/SOURCES.txt +620 -0
- obfuscation-3.23.0/lib/obfuscation.egg-info/dependency_links.txt +1 -0
- obfuscation-3.23.0/lib/obfuscation.egg-info/not-zip-safe +1 -0
- obfuscation-3.23.0/lib/obfuscation.egg-info/top_level.txt +1 -0
- obfuscation-3.23.0/pct-speedtest.py +496 -0
- obfuscation-3.23.0/requirements-test.txt +1 -0
- obfuscation-3.23.0/setup.cfg +15 -0
- obfuscation-3.23.0/setup.py +576 -0
- obfuscation-3.23.0/src/AES.c +1118 -0
- obfuscation-3.23.0/src/AESNI.c +458 -0
- obfuscation-3.23.0/src/ARC2.c +222 -0
- obfuscation-3.23.0/src/ARC4.c +101 -0
- obfuscation-3.23.0/src/CAST.c +284 -0
- obfuscation-3.23.0/src/DES.c +100 -0
- obfuscation-3.23.0/src/DES3.c +26 -0
- obfuscation-3.23.0/src/MD2.c +156 -0
- obfuscation-3.23.0/src/MD4.c +216 -0
- obfuscation-3.23.0/src/MD5.c +416 -0
- obfuscation-3.23.0/src/RIPEMD160.c +332 -0
- obfuscation-3.23.0/src/SHA1.c +451 -0
- obfuscation-3.23.0/src/SHA224.c +48 -0
- obfuscation-3.23.0/src/SHA256.c +48 -0
- obfuscation-3.23.0/src/SHA384.c +48 -0
- obfuscation-3.23.0/src/SHA512.c +70 -0
- obfuscation-3.23.0/src/Salsa20.c +245 -0
- obfuscation-3.23.0/src/bignum.c +282 -0
- obfuscation-3.23.0/src/blake2.c +268 -0
- obfuscation-3.23.0/src/blake2b.c +68 -0
- obfuscation-3.23.0/src/blake2s.c +68 -0
- obfuscation-3.23.0/src/block_base.h +34 -0
- obfuscation-3.23.0/src/block_common.c +128 -0
- obfuscation-3.23.0/src/blowfish.c +316 -0
- obfuscation-3.23.0/src/blowfish_eks.c +7 -0
- obfuscation-3.23.0/src/blowfish_init.c +274 -0
- obfuscation-3.23.0/src/cast5.c +438 -0
- obfuscation-3.23.0/src/chacha20.c +343 -0
- obfuscation-3.23.0/src/common.h +204 -0
- obfuscation-3.23.0/src/cpuid.c +75 -0
- obfuscation-3.23.0/src/curve25519.c +275 -0
- obfuscation-3.23.0/src/curve25519.h +19 -0
- obfuscation-3.23.0/src/curve448.c +483 -0
- obfuscation-3.23.0/src/curve448.h +35 -0
- obfuscation-3.23.0/src/ec.h +63 -0
- obfuscation-3.23.0/src/ec_ws.c +1503 -0
- obfuscation-3.23.0/src/ec_ws_p256.c +142 -0
- obfuscation-3.23.0/src/ec_ws_p384.c +139 -0
- obfuscation-3.23.0/src/ec_ws_p521.c +142 -0
- obfuscation-3.23.0/src/ed25519.c +333 -0
- obfuscation-3.23.0/src/ed25519.h +23 -0
- obfuscation-3.23.0/src/ed25519_perf.c +92 -0
- obfuscation-3.23.0/src/ed448.c +647 -0
- obfuscation-3.23.0/src/ed448.h +44 -0
- obfuscation-3.23.0/src/ed448_perf.c +97 -0
- obfuscation-3.23.0/src/endianess.h +286 -0
- obfuscation-3.23.0/src/errors.h +26 -0
- obfuscation-3.23.0/src/ghash_clmul.c +352 -0
- obfuscation-3.23.0/src/ghash_portable.c +188 -0
- obfuscation-3.23.0/src/hash_SHA2_template.c +555 -0
- obfuscation-3.23.0/src/keccak.c +455 -0
- obfuscation-3.23.0/src/libtom/tomcrypt.h +87 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_argchk.h +38 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_cfg.h +136 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_cipher.h +890 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_custom.h +406 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_des.c +1912 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_hash.h +379 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_mac.h +384 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_macros.h +424 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_math.h +500 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_misc.h +23 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_pk.h +552 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_pkcs.h +89 -0
- obfuscation-3.23.0/src/libtom/tomcrypt_prng.h +199 -0
- obfuscation-3.23.0/src/make_p256_table.c +111 -0
- obfuscation-3.23.0/src/make_p384_table.c +111 -0
- obfuscation-3.23.0/src/make_p521_table.c +111 -0
- obfuscation-3.23.0/src/mod25519.c +604 -0
- obfuscation-3.23.0/src/modexp.c +302 -0
- obfuscation-3.23.0/src/modexp_utils.c +250 -0
- obfuscation-3.23.0/src/modexp_utils.h +60 -0
- obfuscation-3.23.0/src/modexp_utils_math.c +6 -0
- obfuscation-3.23.0/src/mont.c +1416 -0
- obfuscation-3.23.0/src/mont.h +50 -0
- obfuscation-3.23.0/src/mont1.c +6 -0
- obfuscation-3.23.0/src/mont2.c +6 -0
- obfuscation-3.23.0/src/mont3.c +6 -0
- obfuscation-3.23.0/src/multiply.h +86 -0
- obfuscation-3.23.0/src/multiply_32.c +280 -0
- obfuscation-3.23.0/src/multiply_64.c +254 -0
- obfuscation-3.23.0/src/p256_table.c +6769 -0
- obfuscation-3.23.0/src/p256_table.h +7 -0
- obfuscation-3.23.0/src/p384_table.c +10019 -0
- obfuscation-3.23.0/src/p384_table.h +7 -0
- obfuscation-3.23.0/src/p521_table.c +8655 -0
- obfuscation-3.23.0/src/p521_table.h +7 -0
- obfuscation-3.23.0/src/pkcs1_decode.c +354 -0
- obfuscation-3.23.0/src/poly1305.c +442 -0
- obfuscation-3.23.0/src/raw_cbc.c +166 -0
- obfuscation-3.23.0/src/raw_cfb.c +206 -0
- obfuscation-3.23.0/src/raw_ctr.c +304 -0
- obfuscation-3.23.0/src/raw_ecb.c +80 -0
- obfuscation-3.23.0/src/raw_ocb.c +338 -0
- obfuscation-3.23.0/src/raw_ofb.c +137 -0
- obfuscation-3.23.0/src/scrypt.c +159 -0
- obfuscation-3.23.0/src/siphash.c +132 -0
- obfuscation-3.23.0/src/siphash.h +6 -0
- obfuscation-3.23.0/src/siphash_math.c +6 -0
- obfuscation-3.23.0/src/strxor.c +46 -0
- obfuscation-3.23.0/src/test/CMakeLists.txt +214 -0
- obfuscation-3.23.0/src/test/README.txt +12 -0
- obfuscation-3.23.0/src/test/common.py +72 -0
- obfuscation-3.23.0/src/test/make_tests_addmul.py +62 -0
- obfuscation-3.23.0/src/test/make_tests_addmul128.py +60 -0
- obfuscation-3.23.0/src/test/make_tests_ladder_step.py +182 -0
- obfuscation-3.23.0/src/test/make_tests_mont_mult.py +134 -0
- obfuscation-3.23.0/src/test/make_tests_mul_25519.py +107 -0
- obfuscation-3.23.0/src/test/make_tests_poly1305_accumulate.py +57 -0
- obfuscation-3.23.0/src/test/make_tests_poly1305_load_m.py +45 -0
- obfuscation-3.23.0/src/test/make_tests_poly1305_load_r.py +51 -0
- obfuscation-3.23.0/src/test/make_tests_poly1305_multiply.py +94 -0
- obfuscation-3.23.0/src/test/make_tests_poly1305_reduce.py +41 -0
- obfuscation-3.23.0/src/test/make_tests_product.py +58 -0
- obfuscation-3.23.0/src/test/make_tests_square.py +50 -0
- obfuscation-3.23.0/src/test/test_aesni.c +150 -0
- obfuscation-3.23.0/src/test/test_clmul.c +180 -0
- obfuscation-3.23.0/src/test/test_curve25519.c +150 -0
- obfuscation-3.23.0/src/test/test_curve448.c +178 -0
- obfuscation-3.23.0/src/test/test_ec_ws.c +1048 -0
- obfuscation-3.23.0/src/test/test_ed25519.c +404 -0
- obfuscation-3.23.0/src/test/test_ed448.c +336 -0
- obfuscation-3.23.0/src/test/test_endianess.c +215 -0
- obfuscation-3.23.0/src/test/test_mod25519.c +395 -0
- obfuscation-3.23.0/src/test/test_mont.c +491 -0
- obfuscation-3.23.0/src/test/test_pkcs1.c +164 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
#
|
|
12
|
+
name: "CodeQL"
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
push:
|
|
16
|
+
branches: [ master, codeql_debug ]
|
|
17
|
+
pull_request:
|
|
18
|
+
# The branches below must be a subset of the branches above
|
|
19
|
+
branches: [ master ]
|
|
20
|
+
schedule:
|
|
21
|
+
- cron: '35 8 * * 1'
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
analyze:
|
|
25
|
+
name: Analyze
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
|
|
28
|
+
strategy:
|
|
29
|
+
fail-fast: false
|
|
30
|
+
matrix:
|
|
31
|
+
language: [ 'cpp', 'python' ]
|
|
32
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
|
33
|
+
# Learn more:
|
|
34
|
+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
|
35
|
+
|
|
36
|
+
steps:
|
|
37
|
+
- name: Checkout repository
|
|
38
|
+
uses: actions/checkout@v3
|
|
39
|
+
|
|
40
|
+
# Initializes the CodeQL tools for scanning.
|
|
41
|
+
- name: Initialize CodeQL
|
|
42
|
+
uses: github/codeql-action/init@v2
|
|
43
|
+
with:
|
|
44
|
+
languages: ${{ matrix.language }}
|
|
45
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
46
|
+
# By default, queries listed here will override any specified in a config file.
|
|
47
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
48
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
49
|
+
config-file: ./.github/codeql/codeql-config.yml
|
|
50
|
+
|
|
51
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
52
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
53
|
+
- name: Autobuild
|
|
54
|
+
uses: github/codeql-action/autobuild@v2
|
|
55
|
+
|
|
56
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
57
|
+
# 📚 https://git.io/JvXDl
|
|
58
|
+
|
|
59
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
60
|
+
# and modify them (or add more) to build your code if your project
|
|
61
|
+
# uses a compiled language
|
|
62
|
+
|
|
63
|
+
#- run: |
|
|
64
|
+
# make bootstrap
|
|
65
|
+
# make release
|
|
66
|
+
|
|
67
|
+
- name: Perform CodeQL Analysis
|
|
68
|
+
uses: github/codeql-action/analyze@v2
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
name: Integration test
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
runs-on: ${{ matrix.os }}
|
|
8
|
+
strategy:
|
|
9
|
+
matrix:
|
|
10
|
+
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13" ]
|
|
11
|
+
cffi: [ yes, no ]
|
|
12
|
+
os: [ ubuntu-22.04 ]
|
|
13
|
+
include:
|
|
14
|
+
- python-version: "3.13"
|
|
15
|
+
cffi: yes
|
|
16
|
+
os: macos-13
|
|
17
|
+
- python-version: "3.13"
|
|
18
|
+
cffi: no
|
|
19
|
+
os: windows-latest
|
|
20
|
+
- python-version: "3.13"
|
|
21
|
+
cffi: yes
|
|
22
|
+
os: windows-latest
|
|
23
|
+
- python-version: "3.13"
|
|
24
|
+
cffi: no
|
|
25
|
+
os: windows-11-arm
|
|
26
|
+
- python-version: "3.13"
|
|
27
|
+
cffi: yes
|
|
28
|
+
os: windows-11-arm
|
|
29
|
+
- python-version: pypy2.7
|
|
30
|
+
cffi: no
|
|
31
|
+
os: ubuntu-latest
|
|
32
|
+
- python-version: pypy3.9
|
|
33
|
+
cffi: no
|
|
34
|
+
os: ubuntu-latest
|
|
35
|
+
- python-version: "3.13"
|
|
36
|
+
cffi: yes
|
|
37
|
+
os: ubuntu-22.04-arm
|
|
38
|
+
env:
|
|
39
|
+
CFLAGS: "-Wconversion"
|
|
40
|
+
|
|
41
|
+
steps:
|
|
42
|
+
- uses: actions/checkout@v4
|
|
43
|
+
|
|
44
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
45
|
+
uses: actions/setup-python@v5
|
|
46
|
+
with:
|
|
47
|
+
python-version: ${{ matrix.python-version }}
|
|
48
|
+
|
|
49
|
+
- name: Display Python version
|
|
50
|
+
run: python -c "from __future__ import print_function; import sys; print(sys.version)"
|
|
51
|
+
|
|
52
|
+
- name: Install CFFI
|
|
53
|
+
if: matrix.cffi == 'yes'
|
|
54
|
+
run: pip install cffi
|
|
55
|
+
|
|
56
|
+
- name: Install dependencies (testing only)
|
|
57
|
+
run: |
|
|
58
|
+
pip install -r requirements-test.txt
|
|
59
|
+
|
|
60
|
+
- name: Install package
|
|
61
|
+
run: |
|
|
62
|
+
pip install -v .
|
|
63
|
+
|
|
64
|
+
- name: Test
|
|
65
|
+
shell: bash
|
|
66
|
+
run: |
|
|
67
|
+
if [[ -f .separate_namespace ]]; then
|
|
68
|
+
python -m Cryptodome.SelfTest
|
|
69
|
+
else
|
|
70
|
+
python -m Crypto.SelfTest
|
|
71
|
+
fi
|
|
72
|
+
|
|
73
|
+
build_python_27:
|
|
74
|
+
# GitHub Actions will not setup Python 2.7 since June 2023
|
|
75
|
+
runs-on: ${{ matrix.os }}
|
|
76
|
+
strategy:
|
|
77
|
+
matrix:
|
|
78
|
+
os: [ ubuntu-22.04, windows-latest]
|
|
79
|
+
cffi: [ yes, no ]
|
|
80
|
+
include:
|
|
81
|
+
- os: ubuntu-22.04
|
|
82
|
+
container: python:2.7.18-buster
|
|
83
|
+
container:
|
|
84
|
+
image: ${{ matrix.container }}
|
|
85
|
+
env:
|
|
86
|
+
CFLAGS: "-Wconversion"
|
|
87
|
+
|
|
88
|
+
steps:
|
|
89
|
+
- uses: actions/checkout@v4
|
|
90
|
+
|
|
91
|
+
- name: Install Python 2
|
|
92
|
+
if: matrix.os == 'windows-latest'
|
|
93
|
+
run: |
|
|
94
|
+
choco install python2
|
|
95
|
+
|
|
96
|
+
- name: Install MSVC
|
|
97
|
+
if: matrix.os == 'windows-latest'
|
|
98
|
+
uses: ilammy/msvc-dev-cmd@v1
|
|
99
|
+
|
|
100
|
+
- name: Prepare environmental variables
|
|
101
|
+
if: matrix.os == 'windows-latest'
|
|
102
|
+
shell: bash
|
|
103
|
+
run: |
|
|
104
|
+
echo "DISTUTILS_USE_SDK=1" >> $GITHUB_ENV
|
|
105
|
+
echo "MSSdk=1" >> $GITHUB_ENV
|
|
106
|
+
echo "C:\\Python27;$(cat $GITHUB_PATH)" >> $GITHUB_PATH
|
|
107
|
+
cat $GITHUB_PATH
|
|
108
|
+
|
|
109
|
+
- name: Display Python version
|
|
110
|
+
run: python -c "from __future__ import print_function; import sys; print(sys.version)"
|
|
111
|
+
|
|
112
|
+
- name: Install CFFI
|
|
113
|
+
if: matrix.cffi == 'yes'
|
|
114
|
+
run: python -m pip install cffi
|
|
115
|
+
|
|
116
|
+
- name: Install dependencies (testing only)
|
|
117
|
+
run: |
|
|
118
|
+
python -m pip install -r requirements-test.txt
|
|
119
|
+
|
|
120
|
+
- name: Install package
|
|
121
|
+
run: |
|
|
122
|
+
python -m pip install -v .
|
|
123
|
+
|
|
124
|
+
- name: Test
|
|
125
|
+
shell: bash
|
|
126
|
+
run: |
|
|
127
|
+
if [[ -f .separate_namespace ]]; then
|
|
128
|
+
python -m Cryptodome.SelfTest
|
|
129
|
+
else
|
|
130
|
+
python -m Crypto.SelfTest
|
|
131
|
+
fi
|
|
132
|
+
|
|
133
|
+
mypy:
|
|
134
|
+
runs-on: ubuntu-latest
|
|
135
|
+
steps:
|
|
136
|
+
- uses: actions/checkout@v4
|
|
137
|
+
- name: Set up Python
|
|
138
|
+
uses: actions/setup-python@v5
|
|
139
|
+
with:
|
|
140
|
+
python-version: "3.x"
|
|
141
|
+
- name: Install dependencies
|
|
142
|
+
run: |
|
|
143
|
+
pip install mypy -r requirements-test.txt
|
|
144
|
+
- name: Test
|
|
145
|
+
run: |
|
|
146
|
+
mypy --enable-incomplete-feature=Unpack lib/
|
|
147
|
+
|
|
148
|
+
test_c_linux:
|
|
149
|
+
runs-on: ubuntu-latest
|
|
150
|
+
strategy:
|
|
151
|
+
matrix:
|
|
152
|
+
sse: [0, 1]
|
|
153
|
+
arch: [x64, x32]
|
|
154
|
+
steps:
|
|
155
|
+
- uses: actions/checkout@v4
|
|
156
|
+
- name: Install dependencies
|
|
157
|
+
run: |
|
|
158
|
+
sudo apt-get update
|
|
159
|
+
sudo apt-get install libc6-dev-i386 libubsan1
|
|
160
|
+
- name: Test Linux x32 and x64
|
|
161
|
+
run: |
|
|
162
|
+
cd src/test
|
|
163
|
+
mkdir build
|
|
164
|
+
GCC_M32_TOOLCHAIN=${{ github.workspace }}/.github/workflows/gcc_m32_toolchain.txt
|
|
165
|
+
EXTRA=$([ ${{ matrix.arch }} = x32 ] && echo "-DCMAKE_TOOLCHAIN_FILE=$GCC_M32_TOOLCHAIN" || true)
|
|
166
|
+
cmake -B build -DSSE=${{ matrix.sse }} $EXTRA
|
|
167
|
+
make -C build all test
|
|
168
|
+
|
|
169
|
+
test_c_windows:
|
|
170
|
+
runs-on: ${{ matrix.os }}
|
|
171
|
+
strategy:
|
|
172
|
+
matrix:
|
|
173
|
+
include:
|
|
174
|
+
- os: windows-latest
|
|
175
|
+
arch: x64
|
|
176
|
+
- os: windows-latest
|
|
177
|
+
arch: win32
|
|
178
|
+
- os: windows-11-arm
|
|
179
|
+
arch: arm64
|
|
180
|
+
steps:
|
|
181
|
+
- uses: actions/checkout@v4
|
|
182
|
+
- name: Set up Python "3.13"
|
|
183
|
+
uses: actions/setup-python@v5
|
|
184
|
+
with:
|
|
185
|
+
python-version: "3.13"
|
|
186
|
+
- name: Install MSVC
|
|
187
|
+
uses: ilammy/msvc-dev-cmd@v1
|
|
188
|
+
with:
|
|
189
|
+
arch: ${{ matrix.arch }}
|
|
190
|
+
- name: Test Windows 32 and 64
|
|
191
|
+
run: |
|
|
192
|
+
cd src/test
|
|
193
|
+
mkdir build
|
|
194
|
+
cmake -B build -G "NMake Makefiles"
|
|
195
|
+
cd build
|
|
196
|
+
nmake all test
|
|
197
|
+
|
|
198
|
+
python_no_gil:
|
|
199
|
+
runs-on: ubuntu-latest
|
|
200
|
+
env:
|
|
201
|
+
CFLAGS: "-Wconversion"
|
|
202
|
+
steps:
|
|
203
|
+
- uses: actions/checkout@v4
|
|
204
|
+
- name: No-GIL Python
|
|
205
|
+
uses: deadsnakes/action@v3.1.0
|
|
206
|
+
with:
|
|
207
|
+
python-version: "3.13"
|
|
208
|
+
nogil: true
|
|
209
|
+
|
|
210
|
+
- name: Install dependencies (testing only)
|
|
211
|
+
run: |
|
|
212
|
+
pip install -r requirements-test.txt
|
|
213
|
+
|
|
214
|
+
- name: Install package
|
|
215
|
+
run: |
|
|
216
|
+
pip install -v .
|
|
217
|
+
|
|
218
|
+
- name: Test
|
|
219
|
+
shell: bash
|
|
220
|
+
run: |
|
|
221
|
+
if [[ -f .separate_namespace ]]; then
|
|
222
|
+
python -m Cryptodome.SelfTest
|
|
223
|
+
else
|
|
224
|
+
python -m Crypto.SelfTest
|
|
225
|
+
fi
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
name: Wheels
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- '*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build_source:
|
|
10
|
+
name: Build source package
|
|
11
|
+
runs-on: [ ubuntu-latest ]
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
|
|
15
|
+
- uses: actions/setup-python@v5
|
|
16
|
+
name: Install Python
|
|
17
|
+
with:
|
|
18
|
+
python-version: '3.x'
|
|
19
|
+
|
|
20
|
+
- name: Build source package (.tar.gz)
|
|
21
|
+
run: |
|
|
22
|
+
python -m pip install setuptools
|
|
23
|
+
python setup.py sdist
|
|
24
|
+
|
|
25
|
+
- uses: actions/upload-artifact@v4
|
|
26
|
+
with:
|
|
27
|
+
name: source-${{ github.ref_name }}
|
|
28
|
+
path: ./dist/*.tar.gz
|
|
29
|
+
|
|
30
|
+
build_python3_wheels:
|
|
31
|
+
name: Build Python 3 wheels on ${{ matrix.os }}
|
|
32
|
+
runs-on: ${{ matrix.os }}
|
|
33
|
+
strategy:
|
|
34
|
+
matrix:
|
|
35
|
+
os: [ubuntu-22.04, windows-2019, macos-13, ubuntu-22.04-arm, windows-11-arm]
|
|
36
|
+
|
|
37
|
+
if: github.actor == 'Legrandin'
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
|
+
|
|
42
|
+
- name: Select architecture for MacOS
|
|
43
|
+
run: |
|
|
44
|
+
echo 'CIBW_ARCHS=x86_64 universal2' >> $GITHUB_ENV
|
|
45
|
+
if: runner.os == 'macOS'
|
|
46
|
+
|
|
47
|
+
- uses: pypa/cibuildwheel@v2.22.0
|
|
48
|
+
name: Build wheels
|
|
49
|
+
env:
|
|
50
|
+
# cibuildwheel will build wheel once and test it for each CPython version
|
|
51
|
+
# and for PyPy > 3.8.
|
|
52
|
+
CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp313t-* pp39-* pp310-*"
|
|
53
|
+
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
|
|
54
|
+
CIBW_MANYLINUX_I686_IMAGE: "manylinux2014"
|
|
55
|
+
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014"
|
|
56
|
+
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux2014"
|
|
57
|
+
CIBW_MANYLINUX_PYPY_I686_IMAGE: "manylinux2014"
|
|
58
|
+
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: "manylinux2014"
|
|
59
|
+
CIBW_ENABLE: "cpython-freethreading pypy"
|
|
60
|
+
CIBW_BEFORE_TEST_LINUX: "(ldd /bin/ls | grep -q musl && apk add gmp) || true"
|
|
61
|
+
|
|
62
|
+
# Set pycryptodome/x test command according to built package
|
|
63
|
+
CIBW_TEST_COMMAND:
|
|
64
|
+
"${{ endsWith(github.ref, 'x') == true &&
|
|
65
|
+
'python -m Cryptodome.SelfTest --skip-slow-tests' ||
|
|
66
|
+
'python -m Crypto.SelfTest --skip-slow-tests' }}"
|
|
67
|
+
|
|
68
|
+
- name: Delete manylinux1 wheels
|
|
69
|
+
if: runner.os == 'Linux'
|
|
70
|
+
run: |
|
|
71
|
+
rm -f wheelhouse/*-manylinux1_*.whl
|
|
72
|
+
|
|
73
|
+
- uses: actions/upload-artifact@v4
|
|
74
|
+
with:
|
|
75
|
+
name: wheels-python3-${{ matrix.os }}-${{ github.ref_name }}
|
|
76
|
+
overwrite: true
|
|
77
|
+
path: ./wheelhouse/*.whl
|
|
78
|
+
|
|
79
|
+
build_legacy_wheels:
|
|
80
|
+
name: Build legacy Python wheels on ${{ matrix.os }} (${{ matrix.arch }})
|
|
81
|
+
runs-on: ${{ matrix.os }}
|
|
82
|
+
strategy:
|
|
83
|
+
matrix:
|
|
84
|
+
os: [ ubuntu-22.04, windows-2019, macos-13 ]
|
|
85
|
+
arch: [ multi-arch ]
|
|
86
|
+
# Python 2 on Windows requires manual toolchain setup (per-arch) due to newer MSVC used here
|
|
87
|
+
exclude:
|
|
88
|
+
- os: windows-2019
|
|
89
|
+
arch: multi-arch
|
|
90
|
+
include:
|
|
91
|
+
- os: windows-2019
|
|
92
|
+
arch: x86
|
|
93
|
+
- os: windows-2019
|
|
94
|
+
arch: x64
|
|
95
|
+
|
|
96
|
+
if: github.actor == 'Legrandin'
|
|
97
|
+
|
|
98
|
+
steps:
|
|
99
|
+
- uses: actions/checkout@v4
|
|
100
|
+
|
|
101
|
+
- name: Install MSVC
|
|
102
|
+
if: runner.os == 'Windows'
|
|
103
|
+
uses: ilammy/msvc-dev-cmd@v1
|
|
104
|
+
with:
|
|
105
|
+
toolset: 14.0
|
|
106
|
+
arch: ${{ matrix.arch }}
|
|
107
|
+
|
|
108
|
+
- name: Set Windows build environment variables
|
|
109
|
+
if: runner.os == 'Windows'
|
|
110
|
+
run: |
|
|
111
|
+
echo "DISTUTILS_USE_SDK=1" >> $env:GITHUB_ENV
|
|
112
|
+
echo "MSSdk=1" >> $env:GITHUB_ENV
|
|
113
|
+
|
|
114
|
+
if ( '${{ matrix.arch }}' -eq 'x86' )
|
|
115
|
+
{
|
|
116
|
+
echo "CIBW_ARCHS=x86" >> $env:GITHUB_ENV
|
|
117
|
+
}
|
|
118
|
+
else
|
|
119
|
+
{
|
|
120
|
+
echo "CIBW_ARCHS=AMD64" >> $env:GITHUB_ENV
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
- uses: pypa/cibuildwheel@v1.12.0
|
|
124
|
+
name: Build wheels
|
|
125
|
+
env:
|
|
126
|
+
CIBW_BUILD: "cp27-* pp27-*"
|
|
127
|
+
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2010"
|
|
128
|
+
CIBW_MANYLINUX_I686_IMAGE: "manylinux2010"
|
|
129
|
+
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux2010"
|
|
130
|
+
CIBW_MANYLINUX_PYPY_I686_IMAGE: "manylinux2010"
|
|
131
|
+
|
|
132
|
+
# Set pycryptodome/x test command according to built package
|
|
133
|
+
CIBW_TEST_COMMAND:
|
|
134
|
+
"${{ endsWith(github.ref, 'x') == true &&
|
|
135
|
+
'python -m Cryptodome.SelfTest --skip-slow-tests' ||
|
|
136
|
+
'python -m Crypto.SelfTest --skip-slow-tests' }}"
|
|
137
|
+
|
|
138
|
+
- name: Delete manylinux1 wheels
|
|
139
|
+
if: runner.os == 'Linux'
|
|
140
|
+
run: |
|
|
141
|
+
rm -f wheelhouse/*-manylinux1_*.whl
|
|
142
|
+
|
|
143
|
+
- uses: actions/upload-artifact@v4
|
|
144
|
+
with:
|
|
145
|
+
name: wheels-legacy-${{ matrix.os }}-${{ github.ref_name }}
|
|
146
|
+
overwrite: true
|
|
147
|
+
path: ./wheelhouse/*.whl
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Simon Arneaud
|
|
2
|
+
Nevins Bartolomeo
|
|
3
|
+
Thorsten E. Behrens
|
|
4
|
+
Tim Berners-Lee
|
|
5
|
+
Frédéric Bertolus
|
|
6
|
+
Ian Bicking
|
|
7
|
+
Joris Bontje
|
|
8
|
+
Antoon Bosselaers
|
|
9
|
+
Andrea Bottoni
|
|
10
|
+
Jean-Paul Calderone
|
|
11
|
+
Sergey Chernov
|
|
12
|
+
Geremy Condra
|
|
13
|
+
Jan Dittberner
|
|
14
|
+
Andrew Eland
|
|
15
|
+
Philippe Frycia
|
|
16
|
+
Peter Gutmann
|
|
17
|
+
Hirendra Hindocha
|
|
18
|
+
Nikhil Jhingan
|
|
19
|
+
Sebastian Kayser
|
|
20
|
+
Ryan Kelly
|
|
21
|
+
Andrew M. Kuchling
|
|
22
|
+
Piers Lauder
|
|
23
|
+
Legrandin
|
|
24
|
+
M.-A. Lemburg
|
|
25
|
+
Wim Lewis
|
|
26
|
+
Darsey C. Litzenberger
|
|
27
|
+
Richard Mitchell
|
|
28
|
+
Mark Moraes
|
|
29
|
+
Lim Chee Siang
|
|
30
|
+
Bryan Olson
|
|
31
|
+
Wallace Owen
|
|
32
|
+
Colin Plumb
|
|
33
|
+
Robey Pointer
|
|
34
|
+
Lorenz Quack
|
|
35
|
+
Sebastian Ramacher
|
|
36
|
+
Jeethu Rao
|
|
37
|
+
James P. Rutledge
|
|
38
|
+
Matt Schreiner
|
|
39
|
+
Peter Simmons
|
|
40
|
+
Janne Snabb
|
|
41
|
+
Tom St. Denis
|
|
42
|
+
Anders Sundman
|
|
43
|
+
Paul Swartz
|
|
44
|
+
Fabrizio Tarizzo
|
|
45
|
+
Kevin M. Turner
|
|
46
|
+
Barry A. Warsaw
|
|
47
|
+
Eric Young
|
|
48
|
+
Hannes van Niekerk
|
|
49
|
+
Stefan Seering
|
|
50
|
+
Koki Takahashi
|
|
51
|
+
Lauro de Lima
|