small readme cleanup.

pull/466/head
jordan 2024-11-01 13:42:18 -05:00
parent dca01c7293
commit 986bd428d1
1 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Description # Description
Simple example of wolfCrypt ML-DSA signing and verifying. Simple example of wolfCrypt ML-DSA keygen, signing, and verifying.
Requires wolfSSL is built with: Requires wolfSSL is built with:
@ -32,8 +32,11 @@ parms:
-? show this help -? show this help
``` ```
Signing and verifying a test message with Category 5, and writing the keys, ## Keygen, sign, and verify
message, and signature to `*.key` and `*.bin` files:
This will generate a keypair with security category 5, then
sign and verify a test message, and write the keys, message,
and signature to `*.key` and `*.bin` files:
``` ```
./ml_dsa_test -c 5 -m "my test message" -w ./ml_dsa_test -c 5 -m "my test message" -w
info: making key info: making key
@ -43,7 +46,9 @@ info: verify message good
info: done info: done
``` ```
The supported ML-DSA parameters: ## Print Supported ML-DSA Parameters
To see the supported parameters:
``` ```
./ml_dsa_test -p ./ml_dsa_test -p