toddouska
|
bd871280d7
|
Merge pull request #3497 from elms/erf32/se_acceleration
ERF32: HW acceleration
|
2020-12-14 15:43:15 -08:00 |
|
toddouska
|
56e2c0e268
|
Merge pull request #3534 from douzzer/linuxkm-cryptonly
--enable-linuxkm --enable-cryptonly
|
2020-12-14 15:14:54 -08:00 |
|
David Garske
|
428c6b4301
|
Merge pull request #3523 from SparkiDev/pkcs11_fixes_2
Pkcs11 fixes 2
|
2020-12-14 14:09:26 -08:00 |
|
Tesfa Mael
|
4ee5ae0115
|
Fix Cryptocell ecc build err
|
2020-12-11 15:12:42 -08:00 |
|
Daniel Pouzzner
|
2804cb2521
|
wolfcrypt/test/test.c: more smallstack refactoring in aes_test().
|
2020-12-11 14:17:25 -06:00 |
|
Daniel Pouzzner
|
0b42f3ae72
|
wolfcrypt/src/dsa.c: disable MSVC warning C4127 (compiler bug) as in wolfcrypt/src/tfm.c and src/internal.c.
|
2020-12-11 14:16:44 -06:00 |
|
Daniel Pouzzner
|
f2e1595eef
|
wolfcrypt/src/dsa.c: use do{}while(0) with break, rather than goto, for top level flow control in wc_DsaSign() and wc_DsaVerify() smallstack refactor.
|
2020-12-11 14:16:44 -06:00 |
|
Daniel Pouzzner
|
53c6d33695
|
test.c:aes_test(): add WOLFSSL_SMALL_STACK codepaths for WOLFSSL_AESNI test.
|
2020-12-11 14:16:44 -06:00 |
|
Daniel Pouzzner
|
1c0df61247
|
wolfssl/test.h and wolfcrypt/test/test.c: add STACK_SIZE_CHECKPOINT_WITH_MAX_CHECK(), recognize macro WOLFSSL_TEST_MAX_RELATIVE_STACK_BYTES, and add to wolfcrypt_test() runtime settability of relative cumulative stack depth assert threshold using "-s stacksize".
|
2020-12-11 14:16:44 -06:00 |
|
Daniel Pouzzner
|
2ed75402b8
|
wc_DsaSign(): removal several redundant mp_clear()s preceded by mp_forcezero()s.
|
2020-12-11 14:16:44 -06:00 |
|
Daniel Pouzzner
|
bfff28ab28
|
ecc.c: fix mp_init_multi() vs mp_clear() dynamics in wc_ecc_verify_hash_ex() and mp_sqrtmod_prime().
|
2020-12-11 14:16:44 -06:00 |
|
Daniel Pouzzner
|
525382fb13
|
test.c:pkcs7authenveloped_run_vectors(): small stack refactor, and reenable for WOLFSSL_LINUXKM.
|
2020-12-11 14:16:44 -06:00 |
|
Daniel Pouzzner
|
f73fc23282
|
ecc.c: add smallstack codepaths to ecc_mul2add().
|
2020-12-11 14:16:44 -06:00 |
|
David Garske
|
cb8c6608f3
|
Merge pull request #3558 from douzzer/fix-mp_mod_2d-sub-byte-clearing
fix mp_mod_2d() for DIGIT_BIT != sizeof(mp_digit)*8
|
2020-12-11 08:43:51 -08:00 |
|
Elms
|
40087f1fd0
|
SiLabs: AES return code fixup and comment cleanup
|
2020-12-10 22:56:11 -08:00 |
|
Sean Parkinson
|
3e8e7aa17f
|
Merge pull request #3550 from douzzer/sp-math-all-sp-word-typo
sp_int.c: fix typos in _sp_mul_4() and _sp_sqr_4().
|
2020-12-11 16:16:48 +10:00 |
|
Daniel Pouzzner
|
ef1284165f
|
wolfcrypt/src/integer.c: fix sub-byte clearing step of mp_mod_2d() to work when DIGIT_BIT != sizeof(mp_digit)*8.
|
2020-12-10 23:50:30 -06:00 |
|
Sean Parkinson
|
a075540343
|
Merge pull request #3552 from tmael/shiftNeg
Check shift value
|
2020-12-11 10:19:27 +10:00 |
|
Tesfa Mael
|
9042843e42
|
Fix shift and clear digits
|
2020-12-10 16:13:30 -08:00 |
|
toddouska
|
2c652151ac
|
Merge pull request #3510 from SparkiDev/sp_modinv_nct
SP modinv: add non-constant time modinv
|
2020-12-10 16:06:12 -08:00 |
|
Daniel Pouzzner
|
f277339528
|
add explicit casts to XMALLOC()s, even for (void *), to avoid warnings in C++ and MSVC/MSVS builds, and to avoid false positives on simple text searches.
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
f47cdfcaed
|
wolfcrypt/test/test.c: fix skipped initialization warned by LLVM11 scan-build.
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
741098c108
|
sp_int.c, srp.c: fixes for 5 deadcode.DeadStores found by LLVM11 scan-build.
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
f49e9bf954
|
dsa.c, srp.c, wolfcrypt/test/test.c: smallstack refactors: wc_DsaExportKeyRaw(), wc_DsaSign(), wc_SrpSetKey(), ecc_test_cdh_vectors(), ecc_test_custom_curves().
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
1fc2c7714c
|
hmac.c: include wc_port.h rather than settings.h, to pick up WOLFSSL_LINUXKM namespace tweaks.
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
f7bf0a78fb
|
test.c:ecc_test_curve_size(): use a macro, not a static const size_t, for size of exportBuf, to make MS Visual Studio happy.
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
89e6b1eebc
|
wc_ecc_mulmod_ex(): be more careful freeing temp key.
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
e6b587772f
|
fix pointer type clash in wolfSSL_BN_mod_word(); restore accidentally removed WOLFSSL_KEY_GEN gate in dsa_test().
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
cbc190f13c
|
wolfcrypt/src/ecc.c: smallstack refactors of wc_ecc_mulmod_ex() and mp_sqrtmod_prime().
|
2020-12-10 14:16:21 -06:00 |
|
Daniel Pouzzner
|
ad2cb67047
|
wolfcrypt/test/test.c: _SMALL_STACK refactors of dsa_test(), srp_test(), openssl_pkey1_test(), and ecc_test_curve_size(); add missing FIPS gates.
|
2020-12-10 14:16:20 -06:00 |
|
Daniel Pouzzner
|
5286cb1a46
|
optimize domain check in wolfcrypt/src/integer.c and wolfcrypt/src/tfm.c.
|
2020-12-10 14:16:20 -06:00 |
|
toddouska
|
b93109cf1c
|
Merge pull request #3540 from SparkiDev/int_toradix_fix
MP integer: fix map string for toradix and read_radix
|
2020-12-10 12:01:45 -08:00 |
|
toddouska
|
cd3b91a8fe
|
Merge pull request #3536 from SparkiDev/arm64_rev
ByteReverseWord32 AARCH64: Use proper instruction - REV32
|
2020-12-10 11:59:00 -08:00 |
|
Elms
|
9ba78eb825
|
SiLabs: Clarify comments and fix sig buffer size
|
2020-12-10 10:45:55 -08:00 |
|
Tesfa Mael
|
4bd49d2b28
|
Update with a proper check
|
2020-12-09 17:05:56 -08:00 |
|
Elms
|
93fc37f87b
|
SiLabs: add cleanup and address PR comments
|
2020-12-09 16:28:39 -08:00 |
|
Sean Parkinson
|
2862a9ce56
|
SP modinv: add non-constant time modinv
Can only be used in ECC verify - sign operation must be constant time.
Not used for small code.
|
2020-12-10 09:24:22 +10:00 |
|
Tesfa Mael
|
44903ff8ae
|
Check shift value
|
2020-12-09 15:04:28 -08:00 |
|
Chris Conlon
|
21625ab0c2
|
Merge pull request #3533 from JacobBarthelmeh/PKCS7
fix for PKCS7 decompress
|
2020-12-09 14:00:42 -07:00 |
|
Elms
|
586a75302b
|
SiLabs: extra check on importing key to se_key buffer
|
2020-12-09 12:54:24 -08:00 |
|
Daniel Pouzzner
|
2de261c2de
|
sp_int.c: fix typos in _sp_mul_4() and _sp_sqr_4().
|
2020-12-09 12:10:46 -06:00 |
|
toddouska
|
f31b41fcca
|
Merge pull request #3495 from haydenroche5/httpd
Add OpenSSL compatibility functions for latest version of Apache httpd
|
2020-12-09 09:55:13 -08:00 |
|
toddouska
|
b7aa0ebf57
|
Merge pull request #3458 from julek-wolfssl/EVP_Cipher-api
EVP_Cipher should return length written.
|
2020-12-09 09:52:44 -08:00 |
|
toddouska
|
367f28b917
|
Merge pull request #3443 from SparkiDev/tls13_psk_no_dhe
TLS 1.3: PSK only
|
2020-12-09 09:45:34 -08:00 |
|
toddouska
|
6c62899ea8
|
Merge pull request #3535 from SparkiDev/sp_fixes_4
SP: change implicit casting downs to be explicit
|
2020-12-09 09:25:57 -08:00 |
|
toddouska
|
0b78137dfa
|
Merge pull request #3537 from SparkiDev/sp_int_configs
SP math all: fixes for configurations that don't specify size
|
2020-12-09 09:16:46 -08:00 |
|
Sean Parkinson
|
d34b0072a2
|
ARM: identify ARM CPU for Thumb and Cortex
Better detailed check of CPU architecture for 32-bit byte reversal asm
|
2020-12-09 08:54:18 +10:00 |
|
Elms
|
ef4db5b808
|
SiLabs: simplify init
|
2020-12-08 13:16:13 -08:00 |
|
Elms
|
620fe2da14
|
SiLabs: Fix tests and wc_ecc_import_private_key
|
2020-12-08 12:22:35 -08:00 |
|
Jacob Barthelmeh
|
bc50b7b836
|
fix order of arguments with PKCS7 decompression
|
2020-12-08 23:11:59 +07:00 |
|