platform layer: address types, stdlib tls client wrapper, mbedtls tls server

This commit is contained in:
2026-07-31 23:59:39 +02:00
parent 1fa82668ec
commit 506ab8e038
10 changed files with 1723 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
//! Test fixtures embedded as a separate module so `@embedFile` paths stay
//! inside this directory (a module root may not embed files above itself).
//! See tests/fixtures/README.md — the private key is not a secret.
pub const cert_pem: [:0]const u8 = @embedFile("self_signed_cert.pem");
pub const key_pem: [:0]const u8 = @embedFile("self_signed_key.pem");
/// A well-formed private key that does not belong to `cert_pem`.
pub const mismatched_key_pem: [:0]const u8 = @embedFile("mismatched_key.pem");