David Garske
|
904241cba4
|
Fix to only init the RNG once for nRF51/nRF52x.
|
2020-07-31 11:56:32 -07:00 |
|
David Garske
|
9160a126e4
|
Fixes for running wolfCrypt test/benchmark with SECP256R1 disabled. Improved detection of ECC key generation size.
|
2020-07-28 11:43:48 -07:00 |
|
David Garske
|
13eab0aeab
|
Also check for NRF52_SERIES, since NRF52 is only for NRF52832_XXAA.
|
2020-07-27 15:26:55 -07:00 |
|
David Garske
|
99f72faedb
|
Fix for nRF5x AES GCM so key is set. Fixes GMAC test. Don't force enable wolf memory and no ASN time for WOLFSSL_NRF5x.
|
2020-07-27 14:30:41 -07:00 |
|
David Garske
|
8417e0b725
|
Fixes for building against latest nRF52 SDK. Allow nRF5x AES GCM to be enabled (uses software, but ECB is accelerated). Fix in wolfCrypt test for building AES GSM only with NO_AES_DECRYPT.
|
2020-07-24 15:46:17 -07:00 |
|
toddouska
|
ab7535c3f6
|
Merge pull request #3135 from SparkiDev/fp_set_bit
fp_set_bit: return error when bit offset is too large
|
2020-07-22 16:40:17 -07:00 |
|
toddouska
|
ea21d56463
|
Merge pull request #3127 from SparkiDev/mp_sub_d
mp_sub_d (integer.c): return error when digit is too big
|
2020-07-22 16:38:37 -07:00 |
|
Sean Parkinson
|
056ee0987c
|
Merge pull request #3146 from dgarske/sp_nonblock
ECC non-blocking support
|
2020-07-22 08:36:21 +10:00 |
|
David Garske
|
9268ae1397
|
Fix line length issues. Add debug msg in test to show number of non-blocking iterations.
```
$ ./configure --enable-ecc=nonblock --enable-sp=yes,nonblock CFLAGS="-DWOLFSSL_PUBLIC_MP" --enable-debug && make
$ ./wolfcrypt/test/testwolfcrypt
...
ECC non-block sign: 18063 times
ECC non-block verify: 35759 times
ECC test passed!
```
|
2020-07-21 10:41:25 -07:00 |
|
toddouska
|
61d81dd878
|
Merge pull request #3123 from SparkiDev/mp_rshb
rshb check range of n
|
2020-07-20 13:08:45 -07:00 |
|
Sean Parkinson
|
52d363390a
|
rshb check range of n
|
2020-07-20 11:12:35 +10:00 |
|
David Garske
|
90ee12f51a
|
Added test case for ECC non-blocking. ./configure --enable-ecc=nonblock --enable-sp=yes,nonblock CFLAGS="-DWOLFSSL_PUBLIC_MP" && make.
|
2020-07-17 15:13:50 -07:00 |
|
David Garske
|
547144bc9c
|
Adds ECC non-blocking sign/verify support when used with SP math. New --enable-sp=nonblock and --enable-ecc=nonblock options. Example ./configure --enable-ecc=nonblock --enable-sp=yes,nonblock.
|
2020-07-17 15:13:50 -07:00 |
|
Sean Parkinson
|
0336fdb98d
|
Fix SP math for small builds
|
2020-07-17 12:00:14 +10:00 |
|
toddouska
|
50f228af0a
|
Merge pull request #3125 from SparkiDev/mp_leading_bit
Change mp_leading_bit (integer.c) to not to require a copy
|
2020-07-16 11:05:09 -07:00 |
|
toddouska
|
859a1eebe4
|
Merge pull request #3124 from SparkiDev/sp_add_d
Fix sp_add_d
|
2020-07-16 10:56:28 -07:00 |
|
Sean Parkinson
|
eb7a01342f
|
fp_set_bit: return error when bit offset is too large
If the bit to set is beyond the predefined maximum size then return an
error.
Same for fp_is_bit_set().
|
2020-07-16 12:34:31 +10:00 |
|
toddouska
|
fbe0c8cba7
|
Merge pull request #3122 from JacobBarthelmeh/Compatibility-Layer
fix X509 multiple OU's and refactor
|
2020-07-15 15:06:22 -07:00 |
|
Sean Parkinson
|
e754076c37
|
Change mp_leading_bit (integer.c) to not to require a copy
|
2020-07-15 09:20:15 +10:00 |
|
Sean Parkinson
|
ddad95d52c
|
mp_sub_d (integer.c): return error when digit is too big
Code can't handle subtracting a number (an mp_digit) larger than
DIGIT_BIT. Now returns an error rather than giving wrong result.
|
2020-07-15 09:18:35 +10:00 |
|
Sean Parkinson
|
51e49dbfac
|
Fix sp_add_d
|
2020-07-15 09:15:04 +10:00 |
|
toddouska
|
1caa6f860b
|
Merge pull request #3088 from kaleb-himes/ZD10539
Change Hash union to wc_Hmac_Hash
|
2020-07-14 11:23:30 -07:00 |
|
toddouska
|
2dcf4c1696
|
Merge pull request #3087 from SparkiDev/sp_math_mod
Fix div implementation in SP int
|
2020-07-14 11:19:15 -07:00 |
|
Jacob Barthelmeh
|
173b9833fc
|
fixes for edge build cases and static memory
|
2020-07-14 09:07:23 -06:00 |
|
Jacob Barthelmeh
|
63c8f7d1b1
|
x509 small build and memory free
|
2020-07-13 15:51:27 -06:00 |
|
Chris Conlon
|
a77085960e
|
Merge pull request #3103 from TakayukiMatsuo/master
Supprted TSIP v1.09 for target board GR-ROSE
|
2020-07-13 14:35:07 -06:00 |
|
Jacob Barthelmeh
|
d880d59974
|
fix for init of renegotiation and fix for compiler warnings
|
2020-07-13 00:31:40 -06:00 |
|
Jacob Barthelmeh
|
eec5f4a109
|
set initial NID value and account for null character on string
|
2020-07-12 19:54:50 -06:00 |
|
TakayukiMatsuo
|
af1b532758
|
Applied review comments to the code
|
2020-07-11 17:17:33 +09:00 |
|
Jacob Barthelmeh
|
2aaeb2a2df
|
fix X509 multiple OU's and refactor
|
2020-07-10 17:12:20 -06:00 |
|
toddouska
|
a90d6b2a5e
|
Merge pull request #3039 from tmael/cov-fix2
Coverity fix in wolfSSL 4.4.0 - part 2
|
2020-07-10 13:06:22 -07:00 |
|
kaleb-himes
|
64c0d53a2d
|
Use portable friendly XVALIDATE_DATE in ssl.c and add wc_ to default
|
2020-07-10 09:43:24 -06:00 |
|
TakayukiMatsuo
|
942226dc5a
|
Merge branch 'master' of https://github.com/wolfSSL/wolfssl to get updated ocsp tests
|
2020-07-09 07:47:54 +09:00 |
|
Tesfa Mael
|
890500c1b1
|
Fix Coverity
|
2020-07-08 08:20:43 -07:00 |
|
Guido Vranken
|
7f66671449
|
In wc_PKCS12_PBKDF_ex, break out of outer loop on error
|
2020-07-08 01:38:02 +02:00 |
|
Guido Vranken
|
43e1eee55d
|
Return MEMORY_E from wc_scrypt if allocation fails
|
2020-07-08 01:04:37 +02:00 |
|
toddouska
|
c8dcd59565
|
Merge pull request #3082 from JacobBarthelmeh/Testing
restrict the cert version allowed
|
2020-07-07 15:37:01 -07:00 |
|
toddouska
|
301e5c03b9
|
Merge pull request #3097 from SparkiDev/sp_int_mul_of
Fix SP int size of result checks
|
2020-07-06 11:17:01 -07:00 |
|
toddouska
|
b8314a70f9
|
Merge pull request #3089 from kaleb-himes/ZD10539_LICENSING
Add or later verbage to LICENSING and sync header license versions
|
2020-07-06 11:11:11 -07:00 |
|
toddouska
|
514254e294
|
Merge pull request #3069 from SparkiDev/gnu-stack
Add section to asm files to avoid exe stack
|
2020-07-06 11:08:24 -07:00 |
|
TakayukiMatsuo
|
9554e54e8f
|
Resolved conflict
|
2020-07-06 10:58:58 +09:00 |
|
Sean Parkinson
|
1af2e5cf02
|
Fix div implementation in SP int
|
2020-07-06 08:52:44 +10:00 |
|
TakayukiMatsuo
|
464cd49e45
|
Supprted TSIP v1.09 for target board GR-ROSE
|
2020-07-04 23:40:10 +09:00 |
|
Sean Parkinson
|
0e79943a5c
|
Fix SP int size of result checks
sp_lshb: Only put values in extra word id necessary
|
2020-07-03 09:12:27 +10:00 |
|
kaleb-himes
|
970391319b
|
Add or later verbage to LICENSING and sync header license versions
|
2020-06-30 12:13:13 -06:00 |
|
Sean Parkinson
|
4e584595f0
|
Fix normalization in all SP C divs
|
2020-06-30 08:32:42 +10:00 |
|
David Garske
|
7a2384deaf
|
Merge pull request #3071 from kojo1/user-mutex
User defined mutex
|
2020-06-28 21:45:30 -07:00 |
|
Sean Parkinson
|
a10500e5a7
|
Merge pull request #3079 from tmael/sp_mod
Correct SP mod calculation
|
2020-06-26 08:38:07 +10:00 |
|
Sean Parkinson
|
f6d26b4e81
|
Merge pull request #3072 from kaleb-himes/SANITY_CHECKS
ed25519 and ed448 check sigLen against expected
|
2020-06-26 08:31:55 +10:00 |
|
Jacob Barthelmeh
|
0c7b851bd3
|
restrict the cert version allowed
|
2020-06-25 15:45:18 -06:00 |
|