Commit Graph

1402 Commits (devin/1739912915-update-examples-docs)

Author SHA1 Message Date
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
Anthony Hu 4108737d06
Merge pull request #308 from dgarske/cleanup 2022-03-25 14:03:36 -04:00
David Garske 9703627d63 Fix typo in certgen/README.md 2022-03-25 10:33:52 -07:00
gojimmypi 60c58c7c57 corrections re: https://github.com/wolfSSL/wolfssl-examples/pull/307#issuecomment-1077818201 2022-03-24 10:24:27 -07:00
Anthony Hu 67371e3413
Merge pull request #306 from dgarske/pk_tls 2022-03-24 12:40:53 -04:00
gojimmypi c325718dfc new ESP32 and tls examples using VisualGDB 2022-03-24 08:26:38 -07:00
David Garske 0cfab1d5e4 Peer review feedback. 2022-03-21 14:17:31 -07:00
David Garske df2191396e Improvements to the PK callback example to use public key. Added RSA/PSS PK support to example. 2022-03-18 11:32:32 -07:00
Kaleb Himes e7e908329c
Merge pull request #305 from embhorn/gh304
Correct use of key size in crypto/aes examples
2022-03-17 17:10:47 -05:00
JacobBarthelmeh 8fefc773a5 remove export kek example since it is an internal function 2022-03-17 10:29:36 -07:00
JacobBarthelmeh 6f11d1c5a1 add aes key update examples 2022-03-17 09:50:51 -07:00
Eric Blankenhorn 3cfda77e38 Correct use of key size in crypto/aes examples 2022-03-17 10:40:01 -05:00
David Garske 448591eed3
Merge pull request #281 from embhorn/zd13475
Note direction in SetKey for CTR and CFB example
2022-03-16 10:34:15 -07:00