JacobBarthelmeh
c852347dfb
Merge pull request #6877 from gojimmypi/Espressif-cmake-update
...
Espressif Update wolfSSL component CMakeLists.txt
2023-11-06 13:43:07 -07:00
David Garske
0dde07e282
Whitespace cleanups (appease multi-test "check-source-text").
2023-11-01 15:03:12 -07:00
David Garske
33e12e3537
Support for the STM32WL55 and PKA improvements for ECC parameters. Fixes #6386 and Fixes #6396 .
2023-11-01 13:55:31 -07:00
JacobBarthelmeh
6cf75a7d42
prepare for release 5.6.4
2023-10-30 07:59:00 -06:00
gojimmypi
1a113c5429
Espressif add TLS Client/Server local user_settings.h
2023-10-22 16:59:54 +02:00
gojimmypi
8eaf09d7a0
Update Espressif TLS Client/Server CMakeLists.txt
2023-10-22 16:53:56 +02:00
gojimmypi
9fe071fe73
Espressif remove pre-existing /include/user_settings.h during compile all.
2023-10-22 16:21:06 +02:00
gojimmypi
f5d1cb5132
Update wolfSSL component CMakeLists.txt
2023-10-17 02:09:26 +02:00
JacobBarthelmeh
95137f91fa
Merge pull request #6856 from dgarske/fips_win32
...
Fixes for wolfCrypt FIPS DLL win32
2023-10-13 09:49:26 -06:00
JacobBarthelmeh
4001734421
Merge pull request #6863 from lealem47/xcode_cyassl
...
Remove cyaSSL from XCODE proj and small fix in chacha.c
2023-10-13 08:54:11 -06:00
Lealem Amedie
0d53796284
Apply the same changes to FIPS project
2023-10-12 14:07:32 -06:00
Lealem Amedie
20cab7afe3
Remove cyaSSL from XCODE proj and small fix in chacha.c
2023-10-12 13:58:43 -06:00
David Garske
c05aea7c5a
Improvements to the wolfCrypt FIPS Visual Studio project link settings to resolve ASLR (Randomized Base Address) issue on some platforms. ZD 16615
2023-10-12 12:05:14 -07:00
David Garske
3cebf35b1b
Cleanups for IDE/WIN10 user_settings.h to allow for FIPS 140-2 3389 cert. Fixed compiler warning with possible use of uninitialized data.
2023-10-12 12:04:51 -07:00
Hideki Miyazaki
f8604da8e3
change to use a cutom random generation func for PRNG
2023-10-11 06:50:26 +09:00
Hideki Miyazaki
8d5df6fec2
change to use custom random generation func
2023-10-08 16:42:36 +09:00
Anthony Hu
52a9730f56
Changes to gitignore for IAR-EWARM IDE.
2023-10-06 17:02:22 -04:00
Hideki Miyazaki
e092c57675
change sha h/w acceleration implementation
2023-09-29 16:22:16 +09:00
gojimmypi
83117ae33f
ESP32 examples: interim set_time() fixed value
2023-09-23 17:16:19 -07:00
Hideki Miyazaki
8f9c3716ed
fix ra6m4 port
2023-09-20 09:00:22 +09:00
Chris Conlon
5bc5b8a99b
Merge pull request #6768 from miyazakh/renesas_rz
...
Renesas RZN2L support
2023-09-19 14:38:03 -06:00
gojimmypi
9398fa0736
Espressif HW Improvements ( #6624 )
...
* Espressif HW Improvements
* revised AES HW/SW fallback logic for ESP32
2023-09-19 08:21:13 -07:00
Hideki Miyazaki
5e97b9fde8
addressed review comments
2023-09-15 13:22:35 +09:00
Hideki Miyazaki
1c9afb8b12
initial commit for RZN2L board Support
2023-09-13 09:22:55 +09:00
Dimitri Papadopoulos
d532833af9
Fix residual typos found by codespell
2023-09-11 11:34:28 +02:00
kaleb-himes
0fb514fa41
Remove references to WOLFSSL_SP_CACHE_RESISTANT as it is always on
2023-09-07 14:24:51 -06:00
Chris Conlon
ac90fa8d60
Merge pull request #6701 from miyazakh/fspsm
...
generalize Renesas SCE Protected port
2023-08-16 09:38:18 -06:00
JacobBarthelmeh
ec818e5dbd
Merge pull request #6682 from gojimmypi/Espressif-template
...
Add Espressif ESP-IDF template project
2023-08-15 16:37:24 -06:00
Hideki Miyazaki
0d8f68ef03
address review comments
2023-08-16 06:30:13 +09:00
JacobBarthelmeh
45bcb65dc0
Merge pull request #6659 from gojimmypi/ESP32_Info_link_change
...
updated comment links for Espressif examples
2023-08-15 14:58:06 -06:00
Hideki Miyazaki
47caa9b06d
generalize sce protect impl to fsp sm(secure module)
2023-08-13 09:23:03 +09:00
gojimmypi
a957f0e2c3
config.h not needed for Espressif example
2023-08-07 15:09:20 -07:00
gojimmypi
69eeedbac3
Add Espressif ESP-IDF template project
2023-08-07 15:03:21 -07:00
JacobBarthelmeh
7f0cfcb27d
Merge pull request #6667 from bandi13/byebyeCyaSSL
...
Byebye cya ssl
2023-08-03 15:43:01 -06:00
Chris Conlon
27a59761b9
Merge pull request #6520 from miyazakh/tsip_cryptonly
...
Support TSIP crypt only
2023-08-01 10:13:18 -06:00
Andras Fekete
ab953c3141
Update VS project files
2023-07-31 15:37:48 -04:00
Dimitri Papadopoulos
1b10fb5ca7
Fix typos(?) found by codespell
...
These typos could have been generated by some program, in which case
the program should be fixed instead. Yet the typos are inconcistent,
as if the output had been manually copied. Why is the output poorly
aligned?
Use seconds or s for seconds, consistently.
Use ops for operations, consistently. Unless you want the singular
op for operation, as the value is often < 2.
2023-07-28 10:03:27 +02:00
Dimitri Papadopoulos
52f91e4ab9
Fix residual typos found by codespell
2023-07-28 09:29:28 +02:00
Dimitri Papadopoulos
6d9c85a762
Fix typos found by codespell
2023-07-27 23:38:44 +02:00
gojimmypi
f89892a3cd
updated comment links
2023-07-27 09:44:57 -07:00
Hideki Miyazaki
02ec92a3b9
Support TSIP crypt only
...
- Aes, sha,
- rsa
MakeRsaKey, sign/verify
fix compile error when not enabled TSIP
2023-07-27 06:23:34 +09:00
Dimitri Papadopoulos
4ff99a6780
Fix tab/space inconsistencies
2023-07-24 20:10:57 +02:00
JacobBarthelmeh
1285ae7816
Merge pull request #6506 from DimitriPapadopoulos/codespell
...
Fix typos found by codespell
2023-07-24 10:34:29 -06:00
JacobBarthelmeh
b7b4be8822
Merge pull request #6610 from bigbrett/apple-universal-lib
...
Apple "universal binary framework" build script and project example
2023-07-19 15:39:24 -06:00
Brett
425cd2c6dc
added "-c" command line option to allow passing extra configure flags, removed curl and harden default options, updated documentation
2023-07-17 14:47:23 -06:00
Brett
d1db78adb2
fixed typos in README
2023-07-17 11:10:02 -06:00
Brett
707c1a44bc
added support for dist bundle
2023-07-14 12:27:10 -06:00
Brett
5d24d5114a
removed Preview Assets and disabled swiftUI preview, as it is not required and adds unused files to a make dist install
2023-07-14 12:14:19 -06:00
Daniel Pouzzner
f6f8d2eda3
add WC_DO_NOTHING macro to wolfssl/wolfcrypt/types.h, with default expansion "do {} while (0)", and globally refactor to use the macro where appropriate, annotating intended-null macros-with-args with "/* null expansion */";
...
tweak several #includes of settings.h to include types.h instead (all of these are for clarity, as types.h is indirectly included by later #includes), and add #include <wolfssl/wolfcrypt/types.h> where missing;
remove trailing semicolons from PRAGMA*() macro invocations as they are unneeded and can be harmful (inducing frivolous -Wdeclaration-after-statement etc.).
2023-07-14 09:50:01 -05:00
Brett
0d9252de9e
review: max line length changes
2023-07-13 16:30:25 -06:00
Brett
698bf7b423
fixed typo and added xcode version to overview
2023-07-13 16:24:30 -06:00
Brett
9379a8a094
added standard license headers, switched to C-style comments
2023-07-13 12:58:38 -06:00
Brett
c8209068c2
added apple univeresal binary framework build script and example
2023-07-13 12:02:12 -06:00
David Garske
e4c9a73296
Merge pull request #6587 from gojimmypi/ESP32WROOM-refactor
...
Espressif refactor WROOM32 ESP32
2023-07-10 11:46:10 -07:00
gojimmypi
57546405c0
refactor WROOM32 ESP32
2023-07-07 15:47:00 -07:00
Sean Parkinson
3af87f6f93
Moved CertManager APIs into own file
...
Split out certificate manager APIs into ssl_certman.c.
ssl.c includes ssl_certman.c
Better test coverage.
Minor fixes.
wolfSSL_X509_chain_up_ref calls XFREE with name->heap but name may be
NULL. Check for NULL first.
2023-07-07 15:08:08 -07:00
JacobBarthelmeh
7213cb3cfb
Merge pull request #6463 from dgarske/silabs_erf32
...
Updated support for Silicon Labs Simplicity Studio and the ERF32 Gecko SDK
2023-07-07 11:42:00 -06:00
David Garske
abe1bce914
Fix `silabs_ecc_export_public` to set the signing only flag. Added tests cases for import of private and public only verify in the SiLabs example.
2023-07-07 08:25:46 -07:00
Dimitri Papadopoulos
50752f5a2b
Fix typos found by codespell
2023-07-04 07:21:27 +02:00
Juliusz Sosinowicz
8ab0050801
Init windows CRL monitor
2023-07-03 14:02:51 +02:00
JacobBarthelmeh
9a4237ee88
Merge pull request #6457 from lealem47/gcc-arm-user-settings
...
Improve GCC-ARM user-settings.h FIPS configurability
2023-06-27 11:17:56 -06:00
David Garske
500b66eb36
Add API for exporting a SiLabs SE ECC key to a wolf ECC key (`silabs_ecc_export_public`). Add API for supporting export of a vault's public key. Add an ECC signature example for SiLabs.
2023-06-27 09:36:41 -07:00
David Garske
fc153ff273
Support for Silicon Labs Gecko SDK v4. Changes SE Hash to use multipart API's. Gecko SDK v3 auto-detected or manually forced using `WOLFSSL_SILABS_SE_ACCEL_3`.
2023-06-23 14:22:44 -07:00
David Garske
83dca07421
Updated support for Silicon Labs Simplicity Studio and the ERF32 Gecko SDK. Fix ECC unused functions with HW crypto like SE. ZD 15874.
2023-06-23 14:20:40 -07:00
David Garske
ea68920b8b
Merge pull request #6539 from JacobBarthelmeh/caam
...
fix for keymod with rt1170 blobs
2023-06-23 11:47:04 -07:00
JacobBarthelmeh
2d87037e4b
fix for keymod with rt1170 blobs
2023-06-23 00:50:25 -07:00
Lealem Amedie
6f2831a252
Document inline build error & fix
2023-06-22 16:48:17 -06:00
David Garske
255aa774f2
Updated Keil MDK documentation to note RTOS and TCP default dependency. Fix for inline error due to tracking code being available too broadly. Use current branch for makedistsmall.sh.
2023-06-22 16:48:17 -06:00
David Garske
a56fe30c2c
Fixes and cleanups for Keil MDK examples. Combine duplicate user_settings.h. Use SP math all by default. Disable old/deprecated algorithms. Add CMSIS RTOS timer support for TLS and benchmark.
2023-06-22 16:48:17 -06:00
JacobBarthelmeh
72536e0e10
prepare for 5.6.3
2023-06-13 14:47:06 -06:00
JacobBarthelmeh
032ac405db
prepare for release 5.6.2
2023-06-09 05:51:18 -07:00
Sean Parkinson
ed01b14356
cppcheck: fixes from scan
...
wolfssl_sce_unit_test.c:
sce_crypt_Sha_AesCbcGcm_multitest(): duplicate condition
ssl_asn1.c:
wolfSSL_i2t_ASN1_OBJECT(): done is not needed
MonthStr(): fix bounds check on i
woolfcrypt_test.c, test_main.c, wolfssl_tsip_unit_test.c, devices.c,
aes.c, des3.c:
Variable not used.
asn.c:
DecodeSubjKeyId(): sz is unsigned - check for less than zero does
nothing
kcapi_rsa.c:
KcapiRsa_Decrypt(): fix ret check by using else
KcapiRsa_Encrypt(): make same change for consistency
kcapi_hash.c:
KcapiHashFinal(): move ret into #ifdef where it is needed
stm32.c:
wc_Stm32_Hash_GetDigest(): i redeclared with different type - use ii
instead
bio.c, conf.c:
XFREE checks for NULL
Reduce scope of varialbes.
Condition same.
2023-06-07 17:27:51 +10:00
Lealem Amedie
9bb2ae4884
XCODE project: install all headers
2023-06-06 13:34:22 -06:00
Lealem Amedie
88c3d9a529
More improvements for GCC-ARM FIPS build
2023-05-31 11:23:50 -06:00
Lealem Amedie
c2e03689c0
Improve GCC-ARM user-settings.h FIPS configurability
2023-05-31 09:53:51 -06:00
JacobBarthelmeh
5604033902
Merge pull request #6453 from kaleb-himes/OE52_OE54_CHECKIN
...
Checkin STARCORE project OE52_OE54_ACVP effort
2023-05-30 14:43:25 -06:00
kaleb-himes
f51d4c4c30
Checkin STARCORE project OE52_OE54_ACVP effort
2023-05-30 10:36:01 -06:00
Chris Conlon
a474179cdf
Merge pull request #6301 from miyazakh/ra_cryptonly
...
Add Renesas SCE RSA Crypt Only support
2023-05-12 16:32:15 -06:00
Hideki Miyazaki
a2776ad35e
addressed review comments
2023-05-10 13:55:34 +09:00
Lealem Amedie
03f5ce03ff
Remove inaccurate STM32 documentation
2023-05-09 13:28:20 -06:00
David Garske
61dfbf5ef2
Fixes and improvements for building with low footprint. Fix for ASN template with RSA verify only (was missing `mp_leading_bit`). Fix to allow disabling DRBG with crypto callbacks enabled. Updated the wolfTPM user_settings.h template with low resource option.
2023-05-02 16:51:41 -07:00
Chris Conlon
81ab16b105
Merge pull request #6314 from TakayukiMatsuo/vla2
2023-04-19 08:11:40 -06:00
gojimmypi
510038022f
Various Espressif HW crypto, SHA2, AES, MP updates. ( #6287 )
...
* various Espressif HW crypto, SHA2, AES, MP updates.
* code review updates & cleanup
* clean trailing whitespace
* cleanup per code review
* removed additional unused WOLFSSL_USE_ESP32C3_CRYPT_HASH_HW
* Code review updates; pack & order WC_ESP32SHA
* clean up TAG text for Espressif ESP_LOG()
2023-04-19 06:10:22 -07:00
Anthony Hu
d59724a0f3
Instructions for GPDMA configuration
2023-04-18 16:52:57 -04:00
TakayukiMatsuo
cc747f0094
Add WOLFSSL_SP_NO_DYN_STACK macro to avoid compilation error in CC-RX compiler
2023-04-19 04:39:49 +09:00
András Fekete
f7d7e4f30a
Merge pull request #6285 from gojimmypi/Espressif_VisualGDB
...
platform-specific VisualGDB test & benchmark projects
2023-04-18 11:52:29 -04:00
Hideki Miyazaki
35f6099d7c
Add SCE RSA Crypt Only feature
...
- RSA SSA 1024/2048 Sign/verify
- RSA ES 1024/2048 Enc/Dec
- Unit test for these RSA operation
2023-04-14 06:41:24 +09:00
David Garske
e1ca478356
Added STM32G0 benchmarks.
2023-04-12 13:45:28 -07:00
JacobBarthelmeh
2c26b068b2
Merge pull request #6239 from dgarske/stm32h5
...
Support for STM32H5
2023-04-12 14:33:25 -06:00
gojimmypi
9f257af989
platform-specific VisualGDB test & benchmark projects
2023-04-11 09:41:53 +02:00
JacobBarthelmeh
e4f75afe5f
update README
2023-04-03 16:41:09 -06:00
JacobBarthelmeh
5882b8f68a
cleanup user_settings example file
2023-04-03 16:41:08 -06:00
JacobBarthelmeh
30adcd58d8
IMX6Q CAAM Port
2023-04-03 16:41:08 -06:00
Sean Parkinson
8851065848
cppcheck fixes
...
Fix checking of negative with unsigned variables.
Check digestSz for 0 in wc_SSH_KDF() so that no possibility of dividing
by zero.
Change XMEMCPY to XMEMSET in renesas_sce_util.c.
Fix test.c to free prvTmp and pubTmp on read error.
Remove unused variables.
XFREE checks for NULL so don't check before call.
Move variable declarations to reduce scope.
2023-04-03 16:59:58 +10: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
David Garske
d99514a41c
Added benchmarks for STM32H563ZI.
2023-03-30 14:42:20 -07:00
David Garske
0201662094
Support for STM32H5
2023-03-30 14:42:20 -07:00
Chris Conlon
496a15037b
Merge pull request #6166 from TakayukiMatsuo/tsip117
2023-03-27 11:49:18 -06:00
JacobBarthelmeh
877e026da4
prepare for release 5.6.0
2023-03-23 21:44:18 -07:00
JacobBarthelmeh
265a6c824f
Merge pull request #6164 from wolfSSL/gojimmypi-patch-zephyr-link
...
Update README link
2023-03-21 09:10:52 -06:00
TakayukiMatsuo
7d2a9136b6
Add support for TSIP v1.17
2023-03-21 11:28:07 +09:00
Kaleb Himes
75149f71d2
Implement peer suggestions
2023-03-16 12:59:49 -06:00
kaleb-himes
ea06d064b0
Add a base-line user_settings.h for use with FIPS 140-3 in xCode example app
2023-03-15 14:08:32 -06:00
Juliusz Sosinowicz
984d709db0
dtls 1.3: Stateless ClientHello parsing
2023-03-07 12:02:54 +01:00
gojimmypi
9363b96947
Update README link
...
fix link that's currently 404
2023-03-05 15:26:48 -08:00
Sean Parkinson
397537e691
AES-GCM: MSVC use generated assembly instead of inline
...
AES-GCM for MSVC was using inline assembly.
Add MSVC version of AES-GCM assembly and use it instead.
Removed inline assembly.
2023-02-28 14:56:29 +10:00
JacobBarthelmeh
b801a96f8c
Port to RT1170 and expand CAAM driver
2023-02-22 08:26:25 -08:00
Chris Conlon
588b694c7d
Merge pull request #5709 from TakayukiMatsuo/ccv
2023-02-17 17:02:04 -07:00
David Garske
7e582932f3
Improve documentation for STM32 PKA support.
2023-02-14 14:27:05 -08:00
gojimmypi
ed79545a27
Espressif examples run with local wolfSSL (no setup!) ( #6018 )
...
* Espressif examples run with local wolfSSL (no setup!)
* include.am Espressif local no-setup component files
* cleanup Espressif Example CMakeLists.txt, use function
* multiple wolfSSL installs is now a fatal Espressif build error
* Examples no longer need setup
* CompileAll builds local examples, not IDF_PATH ones
* Espressif compileAllExamples both local & ESP-IDF components
* add wolfssl_test_idf test project
* move VisualGDB projects to subdirectories
* move VisualGDB wolfssl_server to subdirectory
* update include.am for moved VisualGDB project files
2023-02-13 14:37:56 -08:00
TakayukiMatsuo
0c771a93dc
Improve TLS1.2 client authentication to use TSIP
2023-02-10 16:16:25 +09:00
John Bland
e9aeb1a857
Add nuttx integration ( #6043 )
2023-02-08 16:04:53 -08:00
David Garske
2d03a052e1
Fixes and cleanups for STM32:
...
* Fix for STM32 Hash peripherals (like on F437) with FIFO depth = 1.
* Cleanups for `XREALLOC` and new `WOLFSSL_NO_REALLOC` to force undef of `XREALLOC`.
* Change STM32 Cube to default to `NO_TLS_UART_TEST`.
2023-01-30 16:44:47 -08:00
gojimmypi
24f89337f6
Espressif examples default partition params: large app
2023-01-11 17:46:44 -08:00
gojimmypi
50820b64fb
update Espressif include.am, add sdkconfig.defaults
2023-01-11 12:26:19 -08:00
gojimmypi
0c263a4098
tidy up ESP32S3 detection. known-good sdkconfig defaults
2023-01-09 19:59:15 -08:00
gojimmypi
b04d6ed56b
interim ESP32-S3 changes & diagnostics
2023-01-04 15:49:35 -08:00
András Fekete
4f8edb312b
Add compilation to espressif ( #5947 )
...
* Refactor GitHub actions and add ESP tests.
* Add script for building all examples for ESP.
* Fixes for ESP-IDF v5.0
* Consolidating Espressif files into a single include.am
Co-authored-by: Andras Fekete <andras@wolfssl.com>
2023-01-03 09:50:38 -08:00
Jacob Barthelmeh
9dcc48c8f7
update copyright to 2023
2022-12-30 17:12:11 -07:00
David Garske
29c46ce867
Merge pull request #5902 from bandi13/ESP-IDF_fixes
...
Esp idf v5 fixes
2022-12-22 17:01:09 -08:00
Jacob Barthelmeh
cca63a465d
prepare for release 5.5.4
2022-12-20 14:19:59 -07:00
Andras Fekete
bc15f67d8d
Fixing indentation on preprocessor commands
2022-12-19 11:13:58 -05:00
Andras Fekete
d0f0d66b80
Add in changes to wolfssl_server
2022-12-16 11:55:53 -05:00
Andras Fekete
814ad9fc38
Better fixes
2022-12-16 11:55:28 -05:00
Andras Fekete
b9e69f1795
Fixes for wolfssl_client example
2022-12-16 10:23:09 -05:00
gojimmypi
fec7469c19
Tidy up Espressif ESP32 test and benchmark examples ( #5800 )
...
Tidy up Espressif ESP32 test and benchmark examples:
* add VisualGDB project and solution files for server and client
* "hardware in use revert to software" is now verbose level message
* Remove (void) TAG; - not needed to appease compiler
* include esp_log.h lib with defined(WOLFSSL_ESPIDF)
* large ESP32 default stack size
* check for max number of arguments assembled into array
* cleanup & comments per code review
* wolfssl_test VisualGDB updates
* Espressif wolfssl_test default stack 55,000 bytes
2022-11-30 10:01:46 -08:00
Per Allansson
0e4621a794
IDE/XCODE: include armv8-xxx in projects
2022-11-10 09:44:56 +01:00
Per Allansson
364b2ddc8f
IDE/XCODE: include dtls.c/dtls13.c/tls13.c/quic.c/kdf.c in projects
2022-11-10 09:44:01 +01:00
kaleb-himes
b052ef46ba
Add new setting per peer review feedback
2022-11-07 11:25:01 -07:00
kaleb-himes
0a97aa83b6
Update azsphere support to prevent compilation of file included inline
2022-11-07 10:36:24 -07:00
Hayden Roche
1ce5951f0d
Merge pull request #5722 from dgarske/stm32
2022-11-04 13:32:11 -07:00
Chris Conlon
dce1fc4766
Merge pull request #5703 from miyazakh/renesas_rx72n_simple
2022-11-04 11:43:08 -06:00
David Garske
f610df59a9
Whitespace cleanups.
2022-11-03 14:38:43 -07:00
JacobBarthelmeh
9b895b74bf
update for version 5.5.3
2022-11-02 13:58:37 -07:00
JacobBarthelmeh
eb52083afd
update version to 5.5.2
2022-10-28 06:25:33 -07:00
Hideki Miyazaki
e9d37b9bd1
addressed code review
2022-10-27 16:52:04 +09:00
David Garske
e26d4f84fc
Improvements for AES GCM on STM32. Cleanups for STM32 example.
2022-10-26 14:10:19 -07:00
David Garske
0c79ca1de1
Fix for STM32 PKA with `coefSign` for non 256-bit curves. Don't check point for STM PKA. ZD14928
2022-10-26 09:44:58 -07:00
kaleb-himes
c25e9d9994
FIPSv2 builds on win10 adjust for new fastmath default in settings.h
2022-10-18 10:50:01 -06:00
Hideki Miyazaki
60aac9039d
remove aesccm
2022-10-15 11:05:25 +09:00
Hideki Miyazaki
60a8f6dff9
Add simple example working on Rx72n
...
Use T4-Tiny IP stack
2022-10-15 10:01:21 +09:00
kaleb-himes
e47a213ea3
Fix settings following testing
2022-10-13 08:32:29 -04:00
Daniel Pouzzner
e05d044cf9
fix file modes.
2022-10-12 11:16:20 -05:00
Hayden Roche
80b826b510
Merge pull request #5647 from kaleb-himes/macOS-C++-proj-settings
2022-10-11 08:00:52 -07:00
kaleb-himes
1e2397aa5a
Implement peer review feedback and enhance PAA settings
2022-10-05 10:52:12 -06:00
kaleb-himes
f02fe73eb4
Correct default setting
2022-09-30 14:02:07 -06:00
Daniel Pouzzner
e9520fe131
shellcheck-guided fixes in IDE/XilinxSDK/bench.sh, IDE/XilinxSDK/combine.sh, IDE/XilinxSDK/graph.sh, and scripts/bench/bench_functions.sh.
2022-09-30 12:05:40 -05:00
Hayden Roche
5070994ae2
Merge pull request #5644 from tim-weller-wolfssl/crossworks-test-update
2022-09-30 08:00:01 -07:00
kaleb-himes
8ae08d594e
Add user_settings.h for Intel/M1 FIPSv2 macOS C++ projects
2022-09-29 16:06:08 -06:00
Jacob Barthelmeh
e971bd7315
add FreeRTOS example to include.am
2022-09-29 09:57:23 -06:00
Steffen Jaeckel
0e57e9858f
Integrate Xilinx Versal
...
* add Versal specific glue
The same structure of an "XSecure client" is used throughout the API's,
therefor define it once and re-use in all clients.
* integrate Versal AES-GCM engine
* integrate Versal SHA3-384 engine
* add versal support to tests
- There's no intermediate-hash API for Versal.
* add specific test with large AAD
Test only with `n*16 byte` wide chunks of AAD, so it gets processed in the
hardware engine.
* add specific test with misaligned AES-GCM arguments
* integrate Versal RSA engine
* disable failing RSA test-case when Xilinx Crypto is enabled
* introduce define `WOLFSSL_XILINX_CRYPT_VERSAL`
* integrate Versal TRNG engine
* allow using Versal TRNG w/o wolfcrypt DRBG
Versal TRNG already provides a HRNG mode which does the same as the
wolfcrypt DRBG implementation.
* add support for user-supplied nonce to Versal TRNG
* add `wc_XsecureErrorToString()` to map PLM error codes to messages.
* integrate Versal EcDSA engine
* update tests to work with Versal EcDSA
If deterministic K is enabled, the tests failed here since the Versal
EcDSA engine doesn't support the SECP256R1 curve yet.
* Xilinx crypto engines like aligned memory very much
Make this a default choice, not via the user configuration.
* add Xilinx-specific `WOLFSSL_MSG()` equivalent
`WOLFSSL_XIL_MSG()` does the same as `WOLFSSL_MSG()` besides waiting for
1 second before printing to stdout, since the PLM maybe prints to same and
outputs would be mixed up.
This waiting can be disabled by defining `WOLFSSL_XIL_MSG_NO_SLEEP`.
* add option to enable DPA CounterMeasures in AES-GCM crypto engine
* add "command mode" to Xilinx bare-metal example
* update Xilinx default user settings
* add script to execute benchmarks
* add scripts to create graphics
* add Vitis 2022.1 example projects
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-29 09:39:57 -06:00
Steffen Jaeckel
f4e258d196
Generic changes
...
* fix compilation warning
* adjust SHA3-384 test error-codes
The way the codes were constructed before, they were not unique.
* unify code
Instead of having `ifdef`'s in the code, define our own wrapper around
the keysource as required.
* add CMake option for help-text in wolfCrypt tests
* expose test `main()` as `wolfcrypt_test_main()`
* Don't overwrite previously set errors
* add FreeRTOS support for Xilinx demo
* move `fp_reverse` from `tfm.c` to `wolfmath.c` and rename to
`mp_reverse`.
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-09-29 09:39:57 -06:00
tim-weller-wolfssl
14b776c9a4
Adding C library support furnction to write a buffer (always to UART)
2022-09-29 10:34:16 -05:00
David Garske
2d1f22c35a
Merge pull request #5639 from Anthony-Tatowicz/master
...
Add Irq install for Aruix example
2022-09-28 06:55:56 -04:00
Jacob Barthelmeh
eb5076bb89
update changelog for release 5.5.1
2022-09-27 13:40:00 -06:00
Anthony Tatowicz
13d53b5297
Add Irq install for Aruix example
2022-09-27 12:04:27 -05:00
David Garske
55a0f6d97b
Support for RTEMS in the DEOS user_settings.h template and time. Fix for `bio.c` and `OPENSSL_EXTRA` which needs `XATOI`. Fix for SP math ECC with 384-bit and 521-bit curves enabled.
2022-09-25 10:41:05 -07:00
David Garske
606f58a851
Spelling and whitespace cleanups.
2022-09-23 13:58:58 -07:00
David Garske
b42631c721
Fix for ESP32 wolfcrypt_test entry point.
2022-09-23 13:58:49 -07:00
Hayden Roche
d212974d5e
Clean up some FIPS versioning logic in configure.ac and WIN10 user_settings.h.
...
configure.ac: Get rid of v5-RC8, v5-RC9, v5-RC10, v5-RC11, v5-ready, and v5-dev.
v5-ready is now just ready and v5-dev just dev.
IDE/WIN10/user_settings.h: Make the FIPS blocks define HAVE_FIPS. Change WCv5.0
block to WCv5.0-RC12. Change FIPS Ready block to use HAVE_FIPS_VERSION_MINOR 3
instead of HAVE_FIPS_VERSION_MINOR 2.
2022-09-19 15:26:06 -07:00
Chris Conlon
e6bd6a94a0
Merge pull request #5521 from TakayukiMatsuo/clientverify
2022-09-16 16:55:38 -06:00
JacobBarthelmeh
c6f6086b15
Merge pull request #5576 from julek-wolfssl/dtls-windows
...
Fix build errors and warnings for MSVC with DTLS 1.3
2022-09-16 11:11:46 -06:00
TakayukiMatsuo
c7de58ebaf
Add code to fallback to S/W if TSIP cannot handle
2022-09-15 11:16:37 +09:00
Juliusz Sosinowicz
17df33cef8
Fix TLS 1.3 testsuite for wolfssl64.sln solution
2022-09-14 11:39:27 +02:00
Juliusz Sosinowicz
112fc540bb
Fix build errors and warnings for MSVC with DTLS 1.3
2022-09-13 10:13:44 +02:00
tim-weller-wolfssl
ba12d72e7a
Remove FIPS preprocessor defines from Windows build command-line options (values specified via user_settings.h)
2022-09-12 15:54:36 -05:00
David Garske
ac1a0293e2
Merge pull request #5565 from tmael/workbench_doc
...
Improve Workbench docs
2022-09-07 13:41:37 -07:00
David Garske
9c88d8ac2c
Merge pull request #5547 from JacobBarthelmeh/mcux
...
Port to RT685 with FreeRTOS
2022-09-07 12:54:54 -07:00
Tesfa Mael
0f0aae72c2
Improve Workbench docs
2022-09-07 09:58:23 -07:00
Jacob Barthelmeh
22bad7b06b
fix spelling
2022-09-07 09:57:34 -06:00
Tim Weller
1d9d8bdefb
Removed sp_c64.c due to reliance on 128-bit type, replaced with sp_x86_64.c and _asm.asm.
2022-08-31 07:15:05 -07:00
Tim Weller
71b1aca373
Merge branch 'master' into update-ide-win10-build
2022-08-31 06:32:20 -07:00
Jacob Barthelmeh
d75ce08d75
update readme for release 5.5.0
2022-08-30 09:31:28 -06:00
Tim Weller
69d60f5099
Merge branch 'master' into update-ide-win10-build
2022-08-29 09:13:51 -07:00
JacobBarthelmeh
1bf441de4d
add MCUXpresso IDE projects
2022-08-26 10:51:10 -07:00
Marco Oliverio
cfbd061625
add initial support for ConnectionID DTLS extension
2022-08-23 16:58:24 +02:00
Tim Weller
f98d8c5024
Update Windows 10 Visual Studio FIPS build file to include single-precision (sp) files to resolve missing symbols during link
2022-08-22 08:40:45 -07:00
Sean Parkinson
e32cfb79e5
Merge pull request #5419 from dgarske/aurix
...
Support for Infineon AURIX IDE and minor compiler warnings.
2022-08-04 08:01:57 +10:00
David Garske
53e0483e47
Support for Infineon AURIX IDE. Fixes for Aurix compiler warnings.
2022-08-02 16:53:47 -07:00
TakayukiMatsuo
3c51d872ea
Fix build error and update manuals
2022-08-02 16:45:37 +09:00
TakayukiMatsuo
5a0afc512e
Fix memory leak in ECDHE with TSIP
2022-07-25 19:43:32 +09:00
gojimmypi
9da0ff0f31
Merge branch 'master' of https://github.com/wolfSSL/wolfssl into ESP32_HW_Update_PR
2022-07-21 08:21:17 +02:00
gojimmypi
58aec606c6
wolfSSL license, not wolfSSH
2022-07-21 08:12:54 +02:00
gojimmypi
6937062b9a
wolfSSL license, not wolfSSH
2022-07-21 08:09:19 +02:00
Daniel Pouzzner
542c53f3ac
snip out errant "#/" strings added to various text files by copyright boilerplate update in 8eaa85e412
.
2022-07-20 18:23:28 -05:00
Jacob Barthelmeh
8eaa85e412
update copyright year to 2022
2022-07-19 10:44:31 -06:00
Chris Conlon
c63abe398f
Merge pull request #5321 from miyazakh/tsip_add_usecase
2022-07-18 09:35:43 -06:00
Hideki Miyazaki
15725400a7
addressed review comments 5
2022-07-15 13:46:30 +09:00
Chris Conlon
350ff552c4
Merge pull request #5351 from kojo1/renesas-csp
2022-07-14 16:10:34 -06:00
Hideki Miyazaki
fd885d89eb
Added multi thread use case
...
Improve not to use forward declaration struct definition
- include ssl.h rather than forward declaration struct to resolve struct name
- to include ssl.h, it needs to avoid cyclic reference for crypt structure. therefore, Sha and Aes definitions are moved to another header file
2022-07-14 17:25:21 +09:00
Takashi Kojo
69bf0345c4
Renesas cs+ project. Remove depreciated algorithms
2022-07-13 10:24:44 +09:00
Uriah-wolfSSL
a4e452ec6a
New file for adding needed configuration options to enable DTLS including DTLS version 1.3. This is an example file to be used for testing, eval, demos, etc.
2022-07-12 15:53:21 -05:00
Uriah-wolfSSL
357ace8408
* Updated README.txt w/ how to use user_settings_dtls.h.
...
* Added dtls13.c to build project files.
* Added user_settiings.dtls.h to include.am.
2022-07-12 15:53:21 -05:00
JacobBarthelmeh
86662bca2f
update library version to 5.4.0
2022-07-08 16:04:26 -07:00
gojimmypi
8bb6ff8dbb
Espressif HW acceleration update & cleanup
2022-07-06 09:30:49 -07:00
Eric Blankenhorn
394f36a0d7
Fix typos and bad macro names
2022-07-05 10:31:11 -05:00
David Garske
bd75e1d6a4
Merge pull request #5307 from kareem-wolfssl/miscfixes2
...
Fix a couple of STM32 bugs, and add some missing mutex frees.
2022-07-01 09:46:22 -07:00
Kareem
7555cd0685
Fix a couple of STM32 bugs, and add some missing mutex frees.
2022-06-30 16:11:16 -07:00
Chris Conlon
867a1f7afa
Merge pull request #5289 from TakayukiMatsuo/tls13
2022-06-30 15:49:53 -06:00
TakayukiMatsuo
ba19737627
Add support for TLS1.3
2022-06-30 23:00:05 +09:00
John Safranek
e56394a2ab
ESP-IDF Build Cleanup
...
1. Update the list of files to leave out of the build. They are ones
that are included into ssl.c automatically.
2022-06-28 15:38:58 -07:00
kaleb-himes
9d11e9092f
Add necessary includes for cross-builds
2022-06-27 13:50:27 -06:00
Chris Conlon
9e1ecf3fb5
Merge pull request #5194 from TakayukiMatsuo/heaphint
2022-06-21 16:39:07 -06:00
Chris Conlon
bd536d3c9d
Merge pull request #5229 from miyazakh/sce_example_update
2022-06-21 16:33:54 -06:00
David Garske
92fcea39db
Fix for DES3 with STM32 and `STM32_CRYPTO_AES_ONLY` (broken in #5223 ) . Add U5 PKA support and benchmarks. Fix MD5 with `OPENSSL_EXTRA` and `HAVE_MD5_CUST_API`.
2022-06-17 11:50:29 -07:00
David Garske
9c5821569f
For STM32 hashing to wait for hash done on block size + 1 word. Updated the STM32U5 benchmarks. Added note about new GCM_TABLE_4BIT.
2022-06-17 09:07:45 -07:00
Hideki Miyazaki
fe8169c830
Add multi thread use case for RA6M4
...
fix devId conflict while using multi threads
update README
Fix TSIP examples bcause of updating user context
2022-06-17 07:44:12 +09:00
Marco Oliverio
d8ac35579c
dtls13: add autotools, cmake build options and vstudio paths
2022-06-15 10:46:42 -07:00
Anthony Hu
22eee3206d
Fixups from review by dgarske
2022-06-14 11:13:28 -04:00
Anthony Hu
4d4ee3b2db
Support psk ciphersuites in benchmarks.
...
Also fixed some small errors during shutdown in benchmarks.
Tested with:
./configure --enable-psk CFLAGS=-DWOLFSSL_STATIC_PSK
make all check
./examples/benchmark/tls_bench
2022-06-13 13:33:51 -04:00
gojimmypi
f35eb20954
Add note regarding ESP-IDF Version
2022-06-12 12:39:04 -07:00
David Garske
9fb1143eba
Merge pull request #5218 from gojimmypi/PR_zepher_legacy_link
...
add link to new location for old zephyr references
2022-06-07 16:40:14 -07:00
gojimmypi
047ed8ef61
minor change for commit author update
2022-06-06 16:47:40 -07:00
gojimmypi
8e69b1fa0e
add include.am
2022-06-06 13:10:37 -07:00
David Garske
86312be79e
Merge pull request #5210 from kaleb-himes/new-azsphere-rev3
...
New azsphere example for CI testing
2022-06-06 10:00:43 -07:00
gojimmypi
927ee21752
add link to new location for old references
2022-06-06 08:39:40 -07:00
David Garske
802e3127c0
Merge pull request #5145 from JacobBarthelmeh/caam
...
CAAM support with QNX i.MX8, add AES-CTR crypto callback
2022-06-03 15:24:10 -07:00
kaleb-himes
873b2169f9
Add readme to include.am
2022-06-03 13:33:12 -06:00
kaleb-himes
30d836dc90
Implement peer review feedback
2022-06-03 11:34:02 -06:00
kaleb-himes
55f3b7c277
New azsphere example for CI testing
2022-06-03 08:04:50 -06:00
TakayukiMatsuo
13135e72db
Add a global variable for heap-hint, mainly in case heap info cannot be referenced by TSIP
2022-06-01 10:24:03 +09:00
Chris Conlon
da91578bc7
Merge pull request #5180 from miyazakh/tsipv_up
2022-05-31 09:41:47 -06:00
Hideki Miyazaki
a5fa98e5f0
addressed code review
...
update Copyright year
2022-05-26 08:50:02 +09:00
David Garske
e8d779ab78
Merge pull request #5077 from gojimmypi/ESP8266_Development
...
Add ESP-IDF WOLFSSL_ESP8266 setting for ESP8266 devices
2022-05-25 12:46:10 -07:00
Hideki Miyazaki
0d59d36a80
update TSIP VER to 1.15 for RX65N and RX72N
...
fix -140 error when enabling -O2
fix no_crypto_hash
2022-05-25 18:31:23 +09:00
Chris Conlon
063e757f6b
Merge pull request #5121 from miyazakh/sce_example_update2
2022-05-09 14:15:13 -06:00
Hideki Miyazaki
75d90aaf2f
update key data and add fixes
...
Fix Aes gcm memory curruption
- fix delta size calculation
- add logging SEGGER printf for RA6M4
- update client example
Added test cases
- Fixed aes buffer overflow
- Fixed usable
- Fixed sce - no-sce use case
- Add logging SEGGER printf for RA6M4
2022-05-07 10:43:43 +09:00
David Garske
bc877dab2a
Changes to support v5.3.0 cube pack for ST.
2022-05-06 15:49:11 -07:00
Jacob Barthelmeh
29401334d3
prepare for release 5.3.0
2022-05-02 17:08:38 -06:00
JacobBarthelmeh
ea8e9ee699
Merge pull request #5063 from kaleb-himes/ZD13349
...
Ensure supported curves and curve size(s) WIN FIPS
2022-04-28 11:50:19 -06:00
Kaleb Himes
9970b68e45
Add HAVE_TLS_EXTENSIONS
2022-04-28 09:10:13 -06:00
gojimmypi
83f4f9e5ef
Espressif notes for user_settings.h preference
2022-04-27 08:41:33 -07:00
Kaleb Himes
11bdb8550e
Correction
2022-04-27 08:33:56 -06:00
JacobBarthelmeh
c0d7f3b2e6
add support for i.MX8 with QNX CAAM
2022-04-27 02:27:05 -07:00
John Safranek
7436a41bc7
Merge pull request #5046 from SparkiDev/cppcheck_fixes_8
...
cppcheck: fixes
2022-04-26 10:37:42 -07:00
Sean Parkinson
20e5e654a3
cppcheck: fixes
...
CBIORecv/Send are only assigned once.
IOCB_ReadCtx/WriteCtx only assigned once.
BuildMessage checks output and input wiht sizeOnly every call - state
machine doesn't cache these.
Renamed alias_tbl variables to something unique.
Other cppcheck fixes.
Also reworked pem_read_bio_key().
2022-04-26 09:26:41 +10:00
kaleb-himes
696c5eed25
Ensure supported curves and curve size(s) WIN FIPS
2022-04-19 16:16:15 -06:00
Chris Conlon
567ae7ca55
Merge pull request #5061 from miyazakh/sce_keydata_update
2022-04-18 09:14:34 -06:00
Hideki Miyazaki
6e70cdf3b5
Update key data for sce example
2022-04-17 14:29:44 +09:00
Hideki Miyazaki
2fbe030e5e
update tsip version to 1.15
2022-04-14 06:42:11 +09:00
TakayukiMatsuo
830db63bcf
Update certificate signature data for TSIP in response to /certs update
2022-04-12 02:55:58 +09:00
Andrew Hutchings
50bc20e340
Fix include.am for MSP430
2022-04-08 16:26:48 +01:00
Andrew Hutchings
997feecd6e
Remove unused header from MSP430 example
2022-04-08 15:42:38 +01:00
Andrew Hutchings
676fe19e2f
Fixes to the MSP430 example
...
* Fix include.am missing line
* Fix macros
* Add "static" keyword where needed
* Make compatible with MSP430 GCC
* Add MSP430 GCC Makefile
* Fix watchdog issue with GCC, also fixes IAR when large data model is
used
* Fix comment style
* Fix typo in RNG (makes it ever so slightly more random)
* Add example output to README
2022-04-08 15:08:55 +01:00
Andrew Hutchings
be742cabda
Add missing include.am
2022-04-07 15:39:32 +01:00
Andrew Hutchings
2663f5abaf
Add IAR MSP430 example
...
A basic MSP430 example for IAR IDE.
2022-04-07 11:07:27 +01:00
David Garske
366f159fbb
Merge pull request #4991 from gojimmypi/patch-2
...
Overhaul Espressif ESP-IDF wolfSSL setup_win.bat
2022-03-30 06:56:49 -07:00
gojimmypi
409a0acb88
fine tuning on wolfcrypt\test\test_paths.h
2022-03-29 16:07:10 -07:00
gojimmypi
d72d28ac60
copy errors are now only warnings
2022-03-29 15:39:09 -07:00
gojimmypi
d287863a35
Update setup_win.bat
...
more copy error checking. remove trailing whitespace.
2022-03-29 12:52:50 -07:00