Andras Fekete
c8e1731cb7
Fix dependency issues
2023-03-31 13:21:13 -04:00
Andras Fekete
7138b66b5e
Compiler error
2023-03-31 11:22:58 -04:00
Juliusz Sosinowicz
9f41ed8c72
Add missing guards
2023-03-31 16:11:58 +02:00
David Garske
00e3dcfab5
Merge pull request #6226 from SparkiDev/asn1_move
...
Move ASN.1 APIs out to separate file: ssl_asn1.c
2023-03-30 18:22:13 -07:00
Sean Parkinson
8489095057
Move ASN.1 APIs out to separate file: ssl_asn1.c
...
Implementations of ASN.1 APIs reworked.
Added tests.
Added wolfssl_bn_set_neg for ASN.1 code.
Added wolfssl_sk_new_type() and wolfssl_sk_pop_type() to generically
handle creating and popping a stack of elements of a type.
No longer freeing pathlen field of ASN1 OBJECT in
wolfSSL_X509_EXTENSION_free(). This is happening in
wolfSSL_ASN1_OBJECT_free().
Stop wolfSSL_i2d_X509_NAME_canon from double freeing ASN.1 STRING's data
field.
Fixed up GetFormattedTime() to be better code.
Added ASN_CLASS_MASK to mask off the class part of an ASN.1 tag.
NO_ASN_TIME means no implementation to get the current time. Disable
features that won'r work without time.
2023-03-31 09:36:01 +10:00
Sean Parkinson
6bed0c5757
Merge pull request #6123 from dgarske/math_info
...
Add introspection for math build and math cleanups
2023-03-31 09:15:48 +10:00
Chris Conlon
7fae945ee6
Merge pull request #6214 from miyazakh/altname_next_reset
2023-03-30 16:58:09 -06:00
David Garske
22a5a5c45e
Add introspection for math build and math cleanups:
...
* Add introspection for math build.
* Raise build error if more than one multi-precision math library used.
* Fix ESP32 to support using any multi-precision math option.
* Refactor math headers to use `wolfmath.h`
* Refactor of the opaque math variable type `MATH_INT_T` used by crypto hardware (QuickAssist, SE050, ESP32 and STM32).
* Cleanups for building with `WOLFCRYPT_ONLY` and `NO_BIG_INT`.
* Stop forcing use of fast math by default for platforms in settings.h. Note: For users that still want to use fast math (tfm.c) they will need to add USE_FAST_MATH to their build settings.
Applies To:
```
WOLFSSL_ESPWROOM32
WOLFSSL_ESPWROOM32SE
MICROCHIP_PIC32
WOLFSSL_PICOTCP_DEMO
WOLFSSL_UTASKER
WOLFSSL_NRF5x
FREERTOS_TCP
WOLFSSL_TIRTOS
EBSNET
FREESCALE_COMMON
FREESCALE_KSDK_BM
WOLFSSL_DEOS
MICRIUM
WOLFSSL_SGX
```
2023-03-30 14:42:55 -07:00
Sean Parkinson
0210dcd98d
Merge pull request #6240 from kaleb-himes/wolfEntropy-work
...
Fix a typo in PP macro and add a ceiling to guard against implementation bugs
2023-03-30 12:33:01 +10:00
David Garske
a8ca958855
Merge pull request #6248 from JacobBarthelmeh/fips
...
visibility is dependent on macros that could be set in user_settings.h
2023-03-29 16:32:29 -07:00
David Garske
5d1a914ebd
Merge pull request #6247 from JacobBarthelmeh/config
...
check if colrm is available for options.h creation
2023-03-29 15:19:14 -07:00
Jacob Barthelmeh
951b5bc77c
visibility is dependent on macros that could be set in user_settings.h
2023-03-29 16:14:54 -06:00
JacobBarthelmeh
e1730c760c
check if colrm is available for options.h creation
2023-03-29 14:11:56 -07:00
David Garske
68d6ce647d
Merge pull request #6227 from julek-wolfssl/hwsim-retry
...
Retry hwsim tests 3 times on fail
2023-03-29 12:34:19 -07:00
David Garske
8b34ad7c4d
Merge pull request #6245 from lealem47/asyncRelease
...
Fixes for the async release
2023-03-29 12:33:57 -07:00
Lealem Amedie
8e730534d5
Free in drbg test when appropriate
2023-03-29 10:26:59 -06:00
David Garske
3841b559ec
Merge pull request #6246 from SparkiDev/siphash_asm_fix
...
siphash: fix assembly so that no register is left behind
2023-03-29 09:23:38 -07:00
Lealem Amedie
047db19956
Disable SHA512/224 & SHA512/256 on QAT
2023-03-29 10:17:06 -06:00
Lealem Amedie
65f97482f3
Missed free's in api.c
2023-03-29 10:16:29 -06:00
David Garske
6a71c7d71a
Merge pull request #6228 from SparkiDev/sp_math_dh_test_param
...
SP math: 2048-bit DH parameters
2023-03-29 08:25:54 -07:00
David Garske
689b0f803a
Merge pull request #6237 from SparkiDev/benchmark_base10
...
Benchmark: fix reporting of base10
2023-03-29 08:25:29 -07:00
Sean Parkinson
ca11b4e560
siphash: fix assembly so that no register is left behind
...
Change all assembly so that no register is used explicitly - all
variables.
2023-03-29 09:38:04 +10:00
David Garske
35111b29c1
Merge pull request #6244 from bandi13/consolidateVMdeps
...
Fix dependencies
2023-03-28 13:30:08 -07:00
Lealem Amedie
6824166cf9
Add QAT flags to logic checking for dependencies
2023-03-28 12:44:22 -06:00
Kaleb Himes
ba47562d18
Merge pull request #6238 from bandi13/fixRenewcerts.sh
...
Remove expectation for an argument to be passed
2023-03-28 11:24:51 -06:00
Andras Fekete
103f6e7520
Fix dependencies
2023-03-28 11:56:29 -04:00
JacobBarthelmeh
f1aa43dc48
Merge pull request #6230 from bandi13/zd15855
...
Fix for variable server startup time
2023-03-28 09:13:52 -06:00
JacobBarthelmeh
ba2b7af84a
Merge pull request #6241 from lealem47/strncmp
...
Fixes for sniffer with enable all
2023-03-28 09:13:11 -06:00
Andras Fekete
0a2201700d
Put the .rnd file in a local folder
2023-03-28 10:43:17 -04:00
Andras Fekete
1cf2d9ece3
Create files that the script depends on
2023-03-28 10:16:24 -04:00
Andras Fekete
610c45afb6
Don't need to store state anymore
2023-03-28 10:15:58 -04:00
Juliusz Sosinowicz
60501236cf
Add counter
2023-03-28 14:15:57 +02:00
Juliusz Sosinowicz
e73ae077dc
Retry hwsim tests 3 times on fail
2023-03-28 14:15:57 +02:00
Sean Parkinson
69199a30f9
SP math: 2048-bit DH parameters
...
Add 2048-bit DH parameters for testing when SP math with SP.
2023-03-28 09:24:56 +10:00
Lealem Amedie
591089664d
Fixes for sniffer with enable all
2023-03-27 16:37:14 -06:00
kaleb-himes
59107aeaa8
Fix a typo in PP macro and add a ceiling to guard against implementation bugs
2023-03-27 16:02:34 -06:00
Andras Fekete
1f6071df33
PR suggestions
2023-03-27 13:59:01 -04:00
Chris Conlon
496a15037b
Merge pull request #6166 from TakayukiMatsuo/tsip117
2023-03-27 11:49:18 -06:00
Andras Fekete
cadd2d9ab6
Remove expectation for an argument to be passed
...
Added in a failing return value to flush out tests/scripts that may be calling this script multiple times with various arguments
2023-03-27 13:30:12 -04:00
David Garske
85e82746c3
Merge pull request #6210 from rizlik/realloc_on_espressif
...
wolfcrypt/settings.h: use default realloc on EspressIf
2023-03-27 09:28:42 -07:00
Sean Parkinson
5f2208e71d
Benchmark: fix reporting of base10
2023-03-27 16:29:47 +10:00
David Garske
979707380c
Merge pull request #6232 from JacobBarthelmeh/release
...
prepare for release 5.6.0
v5.6.0-stable
2023-03-24 10:14:19 -07:00
JacobBarthelmeh
877e026da4
prepare for release 5.6.0
2023-03-23 21:44:18 -07:00
Andras Fekete
d57d6d2b78
Fix for variable server startup time
2023-03-23 15:03:26 -04:00
JacobBarthelmeh
e0e590f126
Merge pull request #6223 from lealem47/misc_fixes
...
Async build typos and miscellaneous fixes
2023-03-23 23:55:20 +07:00
David Garske
aeffe6cfa7
Merge pull request #6222 from JacobBarthelmeh/alerts
...
don't try to send an alert to a disconnected peer
2023-03-23 09:49:15 -07:00
David Garske
3ef7db8e1b
Merge pull request #6229 from JacobBarthelmeh/Testing
...
fix for check on ecc public key size with FIPS and compressed keys
2023-03-23 08:25:31 -07:00
JacobBarthelmeh
e9214e07cf
Merge pull request #6219 from RSmatRA/RSmatRA/zeroing-input-buffer
...
Do not ForceZero the part of the buffer that has not been used.
2023-03-23 21:13:37 +07:00
JacobBarthelmeh
a121a5c270
Merge pull request #6225 from SparkiDev/memzero_check_fixes_1
...
MemZero check fixes
2023-03-23 21:04:39 +07:00
JacobBarthelmeh
25577ab96c
fix for check on ecc public key size with FIPS and compressed keys
2023-03-23 06:58:03 -07:00