Commit Graph

1812 Commits (5807e9b595c6c3f7103d59b79dd4663dcdf88ed2)

Author SHA1 Message Date
JacobBarthelmeh 9ada2ac95c
Merge pull request #553 from dgarske/stsafe-a120
Example for ST-SAFE A120
2026-01-23 11:04:29 -07:00
David Garske 22e2aa3197 Fix for ECDHE 2026-01-22 22:49:08 +00:00
David Garske de26517d51 Improvements to Makefile and examples 2026-01-21 00:03:05 +00:00
David Garske 1f0076dcf9 Added tests for brainpool curves and proper macro checking 2026-01-19 19:53:46 +00:00
David Garske 407922b85f Added ECDHE 2026-01-15 20:03:41 +00:00
David Garske b03db3bad8 Simplify testing 2026-01-12 21:15:02 +00:00
David Garske d212422971 Enable small stack 2026-01-06 19:01:26 +00:00
David Garske bd0c85ebc6 Implemented all required SDK cryptographic wrappers. 2026-01-06 18:07:38 +00:00
David Garske a4072803f2 Example for ST-SAFE A120 2026-01-06 00:27:27 +00:00
David Garske 45616142ca
Merge pull request #552 from anhu/25519_rng
Curve25519 needs an RNG for blinding
2025-12-31 11:26:56 -08:00
David Garske 6ba165d1ec
Merge pull request #550 from anhu/dtls_imp_exp
Show how to do DTLS import and export
2025-12-30 13:21:13 -08:00
Anthony Hu 1c824034d6 Curve25519 needs an RNG for blinding 2025-12-30 16:05:57 -05:00
Anthony Hu e99ba1f24c Fix copy and paste errors. 2025-12-30 14:53:11 -05:00
David Garske 089f8a9244
Merge pull request #534 from sameehj/ebpf-syscall-write-trace
Add eBPF syscall-write-trace example
2025-12-30 07:55:05 -08:00
David Garske 6f4d61fa65
Merge pull request #530 from julek-wolfssl/tls13-earlydata
Add TLS 1.3 early data examples
2025-12-29 09:18:35 -08:00
Juliusz Sosinowicz 66d3f699fe Update readme 2025-12-29 12:06:41 +01:00
Juliusz Sosinowicz d52e8fafde Clean up compilation errors
- `tls/` can now build with the default build
2025-12-29 11:52:30 +01:00
sameeh.jubran 90f3a1ea9d Add eBPF examples
This commit adds two examples:

1. Add eBPF syscall-write-trace example

Includes TCP client/server demo, write() syscall eBPF tracer, Makefile, and full README detailing problem, solution, architecture, and usage.

2. eBPF: add trace wolfSSL_write() and wolfSSL_read() using eBPF uprobes.

Includes:
 - TLS client and server examples
 - eBPF programs for write/read entry and read return
 - userspace loader with perf buffer handling
 - automatic symbol lookup (no hardcoded offsets)
 - x86_64 and ARM64 register handling
 - full README with usage, architecture, and explanation

Shows how to observe TLS plaintext inside applications without modifying
wolfSSL or application code.

Signed-off-by: sameeh.jubran <sameeh@wolfssl.com>
2025-12-24 12:10:15 +02:00
Anthony Hu 9187968347 Show how to do DTLS import and export 2025-12-22 16:26:27 -05:00
JacobBarthelmeh 850b44732e
Merge pull request #540 from anhu/aes_modes_preamble
AES modes extravaganza. Makefile, README and misc. files
2025-12-18 17:48:16 -07:00
JacobBarthelmeh b8e2445c52
Merge pull request #549 from anhu/aes_modes_ofb_siv_xts
AES modes extravaganza. ofb, siv, xts
2025-12-18 17:44:44 -07:00
JacobBarthelmeh 0ecf716590
Merge pull request #547 from anhu/aes_modes_eax_ecb
AES modes extravaganza. eax and ecb
2025-12-18 17:39:22 -07:00
JacobBarthelmeh dbceabdba8
Merge pull request #546 from anhu/aes_modes_direct_keywrap
AES modes extravaganza. direct and keywrap
2025-12-18 17:35:29 -07:00
JacobBarthelmeh 153abeaaa3
Merge pull request #545 from anhu/aes_modes_cts
AES modes extravaganza. CTS
2025-12-18 17:25:27 -07:00
JacobBarthelmeh b179722658
Merge pull request #544 from anhu/aes_modes_ctr
AES modes extravaganza. CTR
2025-12-18 17:07:40 -07:00
JacobBarthelmeh eaff9c5f2c
Merge pull request #543 from anhu/aes_modes_cfb
AES modes extravaganza. CFB, CFB1, CFB8
2025-12-18 17:05:35 -07:00
JacobBarthelmeh 37da886140
Merge pull request #542 from anhu/aes_modes_ccm
AES modes extravaganza. CCM
2025-12-18 16:58:57 -07:00
JacobBarthelmeh dc54fd70a5
Merge pull request #541 from anhu/aes_modes_cbc
AES modes extravaganza. CBC
2025-12-18 16:55:08 -07:00
JacobBarthelmeh 13282ceb6b
Merge pull request #548 from anhu/aes_modes_gcm_gmac
AES modes extravaganza. gcm and gmac
2025-12-18 16:46:51 -07:00
Anthony Hu 1d0c480da4 AES modes extravaganza. ofb, siv, xts 2025-12-18 11:41:40 -05:00
Anthony Hu e6fb240e62 AES modes extravaganza. gcm and gmac 2025-12-18 11:39:27 -05:00
Anthony Hu 2de853ecfd AES modes extravaganza. eax and ecb 2025-12-18 11:37:43 -05:00
Anthony Hu 0c586be167 AES modes extravaganza. direct and keywrap 2025-12-18 11:35:32 -05:00
Anthony Hu 482ade5848 AES modes extravaganza. CTS 2025-12-18 10:55:53 -05:00
Anthony Hu a6ac31c0e9 AES modes extravaganza. CTR 2025-12-18 10:27:06 -05:00
Anthony Hu e238b6f444 AES modes extravaganza. CFB, CFB1, CFB8 2025-12-18 10:24:11 -05:00
Anthony Hu 804bbf1e22 AES modes extravaganza. CCM 2025-12-18 10:18:53 -05:00
Anthony Hu ee87548495 AES modes extravaganza. CBC 2025-12-18 10:16:18 -05:00
Anthony Hu 6d68018caa AES modes extravaganza. Makefile, README and misc. files 2025-12-18 10:03:50 -05:00
Eric Blankenhorn 1b5089b5cf
Merge pull request #537 from julek-wolfssl/gh/6061
Add session ref-counting and clean up TLS resume client
2025-12-12 09:34:13 -06:00
Juliusz Sosinowicz 3cfa8bae50 Add session ref-counting and clean up TLS resume client
- Switch to wolfSSL_get1_session() to take a reference to the session
- Explicitly null out ssl after free to avoid double-free on exit path
- Always free WOLFSSL_SESSION regardless of OPENSSL_EXTRA define
2025-12-12 16:00:12 +01:00
Juliusz Sosinowicz e0f044194b Add retry loop to complete DTLS 1.3 early data handshake 2025-12-12 15:47:56 +01:00
Daniel Pouzzner b116928c76
Merge pull request #531 from philljj/bsdkm_example
bsdkm: kernel example.
2025-12-02 16:49:27 -06:00
jordan ff0fc6ce88 bsdkm: example cleanup. 2025-11-21 16:00:20 -06:00
Juliusz Sosinowicz 0516999449 Rename udp_connect to udp_create_socket
During the resumed (second) DTLS connection, read any server data that
arrives during the handshake and print it. This adds a memset and
wolfSSL_read into recvBuf and prints when len > 0.
2025-11-21 13:55:59 +01:00
Daniel Pouzzner d2217b53fd
Merge pull request #533 from gojimmypi/pr-arduino-examples
Parameterize compile-all-examples.sh for matrix use
2025-11-17 09:31:42 -06:00
gojimmypi 799ce1c5de
Parameterize Arduino compile-all-examples.sh for matrix use 2025-11-15 15:48:10 -08:00
jordan 5f58c2c6e9 bsdkm: change enable-bsdkm to enable-freebsdkm. 2025-11-12 23:38:26 -06:00
David Garske 9f65fffd68
Merge pull request #532 from anhu/csr_version
Make sure to set the CSR version
2025-11-10 15:18:14 -08:00
Anthony Hu 7806e1bcd8 Make sure to set the CSR version 2025-11-10 14:48:07 -05:00