Skip to content

Commit 742361f

Browse files
committed
Merge branch 'movement' of https://github.com/evan-brass/swbrd into movement
2 parents 7a8c89e + c6e90cf commit 742361f

File tree

5 files changed

+36
-2
lines changed

5 files changed

+36
-2
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
dist
1+
*.wasm
22
*.pem
3-
*.so

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
relay/mbedtls.wasm: vendor/mbedtls/library/* vendor/mbedtls/include/* c-src/*
3+
/opt/wasi-sdk/bin/wasm32-wasi-clang -O3 \
4+
-Ic-src -Ivendor/mbedtls/include \
5+
-DMBEDTLS_CONFIG_FILE=\"config.h\" \
6+
-fvisibility=default \
7+
-Wl,--export-dynamic,--export=malloc,--export=free,--export=strlen \
8+
-o $@ \
9+
$(filter %.c, $^)

c-src/config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS

docs/ciphersuites.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
- Chrome's Ciphersuites:
2+
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
3+
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
4+
- TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
5+
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
6+
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
7+
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
8+
- TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
9+
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
10+
- TLS_RSA_WITH_AES_128_GCM_SHA256
11+
- TLS_RSA_WITH_AES_128_CBC_SHA
12+
- TLS_RSA_WITH_AES_256_CBC_SHA
13+
- Firefox's Ciphersuites:
14+
- TLS_AES_128_GCM_SHA256
15+
- TLS_CHACHA20_POLY1305_SHA256
16+
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
17+
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
18+
- TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
19+
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
20+
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
21+
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
22+
- Prefered Ciphersuites:
23+
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
24+
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

vendor/mbedtls

Submodule mbedtls added at 107ea89

0 commit comments

Comments
 (0)