Commit graph

238 commits

Author SHA1 Message Date
Helder Eijs
c85a5ce235 print can be a function in Python 2.6 2018-09-29 23:37:43 +02:00
Hugo
29810b96ce Fix typos 2018-09-28 21:44:35 +02:00
Hugo
5d8b7513a7 Drop support for EOL Python 3.0-3.3 2018-09-24 11:29:20 +03:00
Helder Eijs
7f0b339c70 Drop support for Python < 2.6 2018-09-11 00:11:44 +02:00
Helder Eijs
f25c0e536c Drop mpir.dll from packaging 2018-08-10 15:15:54 +02:00
Helder Eijs
f64df6f47e Fixes ResourceWarnings and DeprecationWarnings 2018-08-09 13:55:43 +02:00
Helder Eijs
baa17ab846 Fix 2to3 bug in Python 3.7.0 on Windows
See https://bugs.python.org/issue34108
2018-08-07 16:53:12 +02:00
Helder Eijs
375270e270 In Unix, force the linker step to use CFLAGS and not CC alone 2018-07-07 23:34:11 +02:00
Helder Eijs
cfa757d930 Verify presence of posix_memalign() instead of relying on macros 2018-07-05 23:21:53 +02:00
Helder Eijs
6c941fa8a2 Add fallback to memalign() 2018-07-05 22:47:47 +02:00
Helder Eijs
518bfec8ca Correctly handle targets not supporting AESNI/PCLMULQDQ 2018-06-10 22:07:58 +02:00
Helder Eijs
1faa1e6850 Add -O3 with gcc or clang 2018-06-05 20:55:19 +02:00
Helder Eijs
42f4ba34e3 Fix removal of ghash_cmul.c when CLMUL is not available 2018-06-03 15:48:10 +02:00
Helder Eijs
e7d152ff11 Fix typos 2018-06-02 20:38:07 +02:00
Helder Eijs
2522b86c28 Speed up AES-GCM with PCLMULDQD 2018-06-02 20:17:53 +02:00
Helder Eijs
fdaf66ec2f Replace PY_LITTLE/BIG_ENDIAN with PYCRYPTO_LITTLE/BIG_ENDIAN
Also, remove dead code from AES files.
2018-05-04 10:25:48 +02:00
Helder Eijs
75c4f8359d Added Wycheproof tests for DSA 2018-04-12 14:13:12 +02:00
Helder Eijs
dcdecad5da Added Wycheproof tests for CMAC 2018-04-10 20:34:45 +02:00
Helder Eijs
5c6b906e5c Added --wycheproof-warnings parameter for tests 2018-04-10 13:19:45 +02:00
Helder Eijs
1bc01397de Add Wycheproof tests for EAX AES 2018-04-09 23:02:50 +02:00
Helder Eijs
839c8c3798 Add test vectors for SHA512/224 and /256 2018-04-05 22:00:55 +02:00
Helder Eijs
900bc73ec8 Reintroduce Crypto.__version__ 2018-03-18 14:25:08 +01:00
Helder Eijs
2d2f8bf85a Drop support for Python < 2.6 2018-03-06 08:31:01 +01:00
Helder Eijs
aa5fac10a1 Tests for addmul128() in multiply_32.c 2018-03-02 16:13:09 +01:00
Helder Eijs
8a7ce371e3 Fix compile step in Python 2.4/2.5 2018-03-01 09:01:26 +01:00
Helder Eijs
17df4041b8 Enable SSE2 with GCC for all modules if possible 2018-02-26 21:21:22 +01:00
Helder Eijs
87c2d6aedb Add MD5 code 2018-02-24 16:54:02 +01:00
Helder Eijs
4d3808047e Add SHA-1 Short tests from NIST 2018-02-23 22:23:02 +01:00
Helder Eijs
53d5175c4e Replace Crypto.Hash.SHA1 with native implementation 2018-02-21 21:44:40 +01:00
Helder Eijs
8448f5a8de Deal with a distribution where only lib/Cryptodome is available 2018-02-04 21:02:03 +01:00
Helder Eijs
701cc46e07 GH#129: pycryptodomex could only be installed with wheels 2018-02-04 20:38:20 +01:00
Helder Eijs
12599d6aa7 Different approach for building pycryptodomex 2018-02-04 10:43:58 +01:00
Helder Eijs
6ab4c2bf42 Fix for incorrect record list file with pycryptodomex 2018-01-31 23:58:28 +01:00
Helder Eijs
e8fab64d74 Do not rely on platform.machine() 2018-01-31 10:14:19 +01:00
Helder Eijs
35b921b85b Fixed output of --record parameter for pycrytodomex
The install command of setup.py accepts the optional parameter --record
to capture the list of files that get installed in the system.

This list still used the namespace Crypto even in case the distribution
is pycryptodomex (namespace Cryptodome).
2018-01-27 21:43:00 +01:00
Helder Eijs
2029a82149 Do not link Python's library to extensions 2018-01-24 23:21:42 +01:00
Helder Eijs
91e4b42a84 Factor code out of montgomery.c 2018-01-22 22:21:37 +01:00
Helder Eijs
4a9f499821 Expand modexp seed 2018-01-22 00:41:09 +01:00
Helder Eijs
222c10a081 Build configuration for multiply_32.c 2018-01-22 00:41:09 +01:00
Helder Eijs
f26b017cfc Speed up by 40% with SSE2 (x86 only) 2018-01-22 00:41:09 +01:00
Helder Eijs
7b1249e718 Add custom implementation for modexp 2018-01-22 00:41:09 +01:00
Helder Eijs
d78f3d7973 Add 128-bit mult for 32-bit systems [WIP] 2018-01-22 00:15:30 +01:00
Helder Eijs
0c851996b7 Modules can compile on Win64 again 2018-01-22 00:15:30 +01:00
Helder Eijs
64940e8c68 Add source for modular exponentiation 2018-01-22 00:15:30 +01:00
Helder Eijs
cd5545f201 PyCryptodome should not be installed as a zip file 2018-01-08 11:15:41 +01:00
Helder Eijs
2870726a95 Moving more to C
[skip ci]
2017-01-30 21:37:32 +01:00
Rodrigo Saboya
e1c510e74b Creates build dir before test file. Fixes #22 2017-01-14 21:56:30 -02:00
Legrandin
018d2a2bf1 Add module renaming to install_lib command 2016-03-07 18:48:21 +01:00
Legrandin
3153adcaa6 Prepare for new project pycryptodomex in PyPI 2016-02-20 22:23:16 +01:00
Legrandin
00a8ed0bbf Move to Cryptodome root package 2016-02-20 22:23:16 +01:00