Commit Graph

1364 Commits (a22540563fb52f1acff6d6b97b71dd74c635b43c)

Author SHA1 Message Date
David Garske 6b24ea805f
Merge pull request #326 from anhu/dilm
Add a script for generating dilithium cert chains.
2022-07-19 10:41:09 -07:00
Anthony Hu fd7ad770c2 Add a script for generating dilithium cert chains. 2022-07-19 13:14:37 -04:00
David Garske 5d3b12b3fe
Merge pull request #325 from julek-wolfssl/dtls13-examples
wolfSSL_send_hrr_cookie is only available with WOLFSSL_SEND_HRR_COOKIE
2022-07-06 07:38:42 -07:00
Juliusz Sosinowicz 2d5c409540 wolfSSL_send_hrr_cookie is only available with WOLFSSL_SEND_HRR_COOKIE 2022-07-06 10:07:34 +02:00
John Safranek ee05a30a67
Merge pull request #323 from julek-wolfssl/dtls13-examples
DTLS 1.3 client and server examples
2022-07-05 10:50:33 -07:00
David Garske 2b52c38fa1 Switch to new name `wolfDTLS_SetChGoodCb` 2022-07-01 12:09:54 -07:00
Juliusz Sosinowicz 6b3baa887b Address code review 2022-07-01 17:59:39 +02:00
Juliusz Sosinowicz ccd205db81 dtls: use USE_DTLS12 to compile some DTLS 1.3 examples to use DTLS 1.2 2022-06-30 17:00:12 +02:00
Juliusz Sosinowicz 656762d313 dtls: Refactor handshake timeout logic and simplify newConn 2022-06-30 16:29:43 +02:00
Juliusz Sosinowicz 88cf4e3e5e Move common definitions to dtls-common.h 2022-06-28 12:19:43 +02:00
Juliusz Sosinowicz 109e07ae4d Ignore compilation errors with server-dtls13-event.c 2022-06-28 12:19:13 +02:00
Juliusz Sosinowicz e10507b31c Revert default CFLAGS 2022-06-28 12:17:55 +02:00
David Garske 7ff4964ff8
Merge pull request #324 from JacobBarthelmeh/fixes
fix for key init before free
2022-06-24 14:11:56 -07:00
Jacob Barthelmeh ce1f96fe9a use NULL instead of 0 for heap hint 2022-06-24 15:11:15 -06:00
Jacob Barthelmeh a6540c6690 fix for key init before free 2022-06-24 15:07:32 -06:00
Juliusz Sosinowicz c7898d3195 DTLS 1.3 client and server examples
- Basic client
- Basic single-thread single-connection server
- Basic single-thread multiple-connection server using libevent

Compile wolfSSL with `./configure --enable-dtls --enable-dtls13 --enable-hrrcookie`.
Statelessness of server-dtls13-event tested by sending packets found in `dtls/bin-msgs` (`cat dtls/bin-msgs/CH1.bin | nc -u 127.0.0.1 11111 > /dev/null`)
2022-06-24 13:11:09 +02:00
Juliusz Sosinowicz 3235a2d475 Init DTLS 1.3 examples 2022-06-22 20:53:26 +02:00
Chris Conlon ef893b5607 Android: bump git submodule versions for sample app compatibility 2022-06-15 16:04:59 -06:00
Chris Conlon 5f5d97698c Android: add wolfCrypt test and benchmark + SP math to sample app 2022-06-15 16:03:37 -06:00
David Garske 04f1599273
Merge pull request #321 from gojimmypi/old_master_check
whitespace & project cleanup
2022-06-13 09:55:20 -07:00
gojimmypi 9b4de3591b whitespace & project cleanup 2022-06-03 16:29:12 -07:00
Juliusz Sosinowicz 18130fb268
Merge pull request #224 from dgarske/ocsp_nonblock 2022-06-01 20:15:18 +02:00
David Garske 6e65dba8ce Fixes from peer review. Thanks 2022-06-01 09:47:14 -07:00
David Garske 345b90e5f0 Patches to make callback non-blocking (from Juliusz). 2022-05-27 16:11:35 -07:00
David Garske b6e89d67ca Peer review fixes. 2022-05-27 16:08:02 -07:00
David Garske 18aa6c8a71 OCSP non-blocking example using Certificate Manager. 2022-05-25 10:54:08 -07:00
JacobBarthelmeh 60ed3b93fd
Merge pull request #316 from cconlon/androidUpdate
Update Android Studio example projects
2022-05-24 16:40:46 -06:00
David Garske 788202c293
Merge pull request #317 from JacobBarthelmeh/fixes
fix for printing out common name in example
2022-05-24 12:53:09 -07:00
Jacob Barthelmeh e456ad945a fix for printing out common name in example 2022-05-24 13:50:23 -06:00
Chris Conlon feb6477a5a update README.md for Android examples 2022-05-23 15:25:48 -06:00
Chris Conlon b09a5b8f1a Android: update wolfcryptjni-ndk-gradle, wolfCrypt JNI to v1.3.0-stable, wolfSSL to v5.3.0-stable 2022-05-23 15:23:41 -06:00
Chris Conlon be12343732 Android: update README.md 2022-05-23 15:23:38 -06:00
Chris Conlon 0481fd1f52 Android: update wolfssljni-ndk-gradle, wolfSSL JNI to v1.9.0-stable, wolfSSL to v5.3.0-stable 2022-05-23 15:11:23 -06:00
David Garske 901f0dd66a
Merge pull request #314 from SparkiDev/rsa-kg
Add RSA key generation example
2022-05-12 15:45:55 -07:00
Sean Parkinson cbe8214bd8 Add RSA key generation example 2022-05-11 11:41:27 +10:00
JacobBarthelmeh e7d48beb81
Merge pull request #313 from dgarske/cryptocb
Various improvements to crypto callback examples
2022-04-25 17:23:46 -06:00
David Garske b2c0ca21da Various improvements to crypto callbacks. 2022-04-22 15:59:45 -07:00
David Garske abb0380d6d
Merge pull request #312 from JacobBarthelmeh/caam
fix ccm example and add printout
2022-04-08 14:29:05 -07:00
Jacob Barthelmeh ffd01dc2ed fix ccm example and add printout 2022-04-08 14:55:54 -06:00
David Garske 0b539dc4e0
Merge pull request #301 from JacobBarthelmeh/caam
add seco examples
2022-04-06 16:43:03 -07:00
JacobBarthelmeh 07fe3d305b fix typo and remove magic number 2022-04-05 14:58:36 -07:00
Anthony Hu 58b1070d0c
Merge pull request #311 from dgarske/csr_cryptocb 2022-04-05 15:53:18 -04:00
David Garske b9b157d9ef Fix for crypto callback not returning `CRYPTOCB_UNAVAILABLE`, which caused an invalid hash to be used for CSR signing. ZD 13949. 2022-04-05 12:50:34 -07:00
JacobBarthelmeh f82abd8c62
add initial native lwip example (#303)
Co-authored-by: David Garske <david@wolfssl.com>
2022-04-05 11:08:15 -04:00
David Garske a10c30d27b
Merge pull request #307 from gojimmypi/PR_squash
new ESP32 and tls examples using VisualGDB
2022-04-04 12:53:26 -07:00
David Garske c7c38aea6f
Merge pull request #310 from anhu/stm32_project
Add the post-quantum TLS 1.3 STM32CubeIDE example project
2022-04-04 12:50:51 -07:00
Anthony Hu 17ed483f41 Add the post-quantum TLS 1.3 STM32CubeIDE example project 2022-04-04 13:30:16 -04:00
gojimmypi 073cbc77a6 remove additional files not needed 2022-03-25 13:04:14 -07:00
David Garske da6e5dee6b
Merge pull request #309 from anhu/too_much
Get rid of some garbage prefixed to output.
2022-03-25 11:32:54 -07:00
Anthony Hu 9e4fd5270b Get rid of some garbage prefixed to output. 2022-03-25 14:13:57 -04:00