Skip to content

Commit 864bedd

Browse files
committed
Run the C# pq client/server pair under mono
1 parent dd38beb commit 864bedd

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

CSharp/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,29 @@ wolfSSL Server and Client using PQC algorithms (ML-KEM / ML-DSA).
1010

1111
### Build Options
1212

13-
The following build options need to be added.
14-
15-
#### for `wolfssl` Project
13+
`wrapper/CSharp/user_settings.h` already enables these, so a wolfSSL built
14+
against it needs nothing added:
1615

1716
```
1817
HAVE_MLKEM
19-
WOLFSSL_WC_MLKEM
2018
WOLFSSL_HAVE_MLKEM
2119
WOLFSSL_DTLS_CH_FRAG
22-
HAVE_DILITHIUM
23-
WOLFSSL_WC_DILITHIUM
20+
WOLFSSL_HAVE_MLDSA
2421
WOLFSSL_SHAKE128
2522
WOLFSSL_SHAKE256
2623
```
2724

28-
#### for `wolfSSL_CSharp` Project
25+
On Linux that is:
2926

30-
```
31-
HAVE_MLKEM
32-
HAVE_MLDSA
27+
```sh
28+
cd wolfssl
29+
./configure --enable-usersettings CPPFLAGS=-I$PWD/wrapper/CSharp
30+
make && sudo make install
3331
```
3432

35-
If you want to execute `wolfCrypt-Test` Project as well, add these options to `wolfCrypt-Test` Project.
33+
The Visual Studio `wolfssl` project needs the same defines added to it.
34+
The `wolfSSL_CSharp` project needs none: the wrapper compiles the ML-KEM and
35+
ML-DSA bindings unconditionally.
3636

3737
### wolfSSL-TLS-pq-Server
3838

0 commit comments

Comments
 (0)