writeonce/runtime/src
shoney.arickathil bd99da599d feat(tls): sans-io server handshake FSM (rv2 9 phase G2)
- wo_tls_server: the mirror of the client driver. parse ClientHello (pick
  suite, extract x25519 share, echo session id; reject no-x25519/no-1.3),
  build ServerHello, derive the role-symmetric keys, emit the encrypted
  flight (EncryptedExtensions + Certificate + a signed CertificateVerify +
  Finished), verify the client Finished, switch to application keys
- server_sign_cv signs the CertificateVerify with the phase-G1 primitives
  (RSA-PSS or ECDSA-P256 + a minimal DER SEQ{r,s} encoder); parse_client_hello
  + build helpers reuse the file's wire reader/writer
- wo_tls_server_start builds the Certificate message from a cert chain +
  private key (RSA n/d or EC scalar) + ephemeral; encrypt/decrypt over the
  application keys
- KAT: loopback — our client driver against our server driver, EC then RSA
  server identity, reaching ESTABLISHED with an app round-trip both ways.
  test_tls 123, ASan/UBSan clean

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 34d2b8f87cebe536cd2b1b33e6948251ec11684f)
2026-09-15 01:15:52 +02:00
..
.gitkeep feat(runtime): wovm VM core (Iteration 2) 2026-08-10 09:35:55 +02:00
borrow.c feat(runtime): wovm VM core (Iteration 2) 2026-08-10 09:35:55 +02:00
borrow.h feat(runtime): wovm VM core (Iteration 2) 2026-08-10 09:35:55 +02:00
builtin.c feat(tls): net.connect_tls/read_tls/write_tls builtins (rv2 9 F3c-net) 2026-09-15 01:15:31 +02:00
builtin.h feat: iterations 19 + 17 — Float/Bytes scalars (.wob v5), library kind + internal/ 2026-08-20 19:24:15 +02:00
CODE-LOGIC.md docs(runtime): CODE-LOGIC — the hand-rolled TLS 1.3 client (rv2 9) 2026-09-15 01:15:52 +02:00
cont.c feat: cross-shard actors — placement, envelopes, home-routed frees, WO-E222 (arc T6) 2026-08-20 12:06:13 +02:00
cont.h feat(runtime): wovm VM core (Iteration 2) 2026-08-10 09:35:55 +02:00
crypto.c feat(crypto): ECDSA-P256 signing, RFC 6979 nonce (rv2 9 phase G1b) 2026-09-15 01:15:52 +02:00
crypto.h feat(crypto): ECDSA-P256 signing, RFC 6979 nonce (rv2 9 phase G1b) 2026-09-15 01:15:52 +02:00
gc.c feat: iterations 19 + 17 — Float/Bytes scalars (.wob v5), library kind + internal/ 2026-08-20 19:24:15 +02:00
gc.h feat(runtime): incremental tri-color mark-sweep replaces RC (7b Phase 3a) 2026-08-19 16:52:48 +02:00
json.c feat: iterations 19 + 17 — Float/Bytes scalars (.wob v5), library kind + internal/ 2026-08-20 19:24:15 +02:00
loader.c feat(tls): net.connect_tls/read_tls/write_tls builtins (rv2 9 F3c-net) 2026-09-15 01:15:31 +02:00
loader.h feat: secondary indexes + @unique trap (iteration 9, Task 4; wob v3) 2026-08-15 12:57:32 +02:00
main.c fix(runtime): don't deref a poisoned class's NULL fmap during migration 2026-09-15 01:15:30 +02:00
obj.c feat: iterations 19 + 17 — Float/Bytes scalars (.wob v5), library kind + internal/ 2026-08-20 19:24:15 +02:00
obj.h feat: iterations 19 + 17 — Float/Bytes scalars (.wob v5), library kind + internal/ 2026-08-20 19:24:15 +02:00
park.c feat(rt2): signal.on — latched signals become Signal records for actors 2026-09-15 01:15:30 +02:00
park.h feat: arc stage 3 T7 — transparent DB actor (WO_T_DB hole closed) 2026-08-21 13:10:26 +02:00
sysio.c feat(tls): net.connect_tls/read_tls/write_tls builtins (rv2 9 F3c-net) 2026-09-15 01:15:31 +02:00
tls.c feat(tls): sans-io server handshake FSM (rv2 9 phase G2) 2026-09-15 01:15:52 +02:00
tls.h feat(tls): sans-io server handshake FSM (rv2 9 phase G2) 2026-09-15 01:15:52 +02:00
vm.c feat(tls): net.connect_tls/read_tls/write_tls builtins (rv2 9 F3c-net) 2026-09-15 01:15:31 +02:00
vm.h feat(tls): net.connect_tls/read_tls/write_tls builtins (rv2 9 F3c-net) 2026-09-15 01:15:31 +02:00
wob.h feat(tls): net.connect_tls/read_tls/write_tls builtins (rv2 9 F3c-net) 2026-09-15 01:15:31 +02:00