diff --git a/rom/dev/tools/keys.toml b/rom/dev/tools/keys.toml index a2c7942644..901b34366d 100644 --- a/rom/dev/tools/keys.toml +++ b/rom/dev/tools/keys.toml @@ -81,9 +81,23 @@ lms_priv_keys = [ "vnd-lms-priv-key-2.pem", "vnd-lms-priv-key-3.pem", ] +mldsa_pub_keys = [ + "vnd-mldsa-pub-key-0.bin", + "vnd-mldsa-pub-key-1.bin", + "vnd-mldsa-pub-key-2.bin", + "vnd-mldsa-pub-key-3.bin", +] +mldsa_priv_keys = [ + "vnd-mldsa-priv-key-0.bin", + "vnd-mldsa-priv-key-1.bin", + "vnd-mldsa-priv-key-2.bin", + "vnd-mldsa-priv-key-3.bin", +] [owner] ecc_pub_key = "own-pub-key.pem" ecc_priv_key = "own-priv-key.pem" lms_pub_key = "own-lms-pub-key.pem" lms_priv_key = "own-lms-priv-key.pem" +mldsa_pub_key = "own-mldsa-pub-key.bin" +mldsa_priv_key = "own-mldsa-priv-key.bin" diff --git a/rom/dev/tools/mldsa_keys/own-mldsa-priv-key.bin b/rom/dev/tools/mldsa_keys/own-mldsa-priv-key.bin new file mode 100644 index 0000000000..d1d1f58ea6 Binary files /dev/null and b/rom/dev/tools/mldsa_keys/own-mldsa-priv-key.bin differ diff --git a/rom/dev/tools/mldsa_keys/own-mldsa-pub-key.bin b/rom/dev/tools/mldsa_keys/own-mldsa-pub-key.bin new file mode 100644 index 0000000000..36f6697d68 Binary files /dev/null and b/rom/dev/tools/mldsa_keys/own-mldsa-pub-key.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-0.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-0.bin new file mode 100644 index 0000000000..55ded45a6e Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-0.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-1.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-1.bin new file mode 100644 index 0000000000..239114f887 Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-1.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-2.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-2.bin new file mode 100644 index 0000000000..d6dc4a5bec Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-2.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-3.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-3.bin new file mode 100644 index 0000000000..14818ad0aa Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-priv-key-3.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-0.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-0.bin new file mode 100644 index 0000000000..af8819252e Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-0.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-1.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-1.bin new file mode 100644 index 0000000000..42c1263c58 Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-1.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-2.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-2.bin new file mode 100644 index 0000000000..9ecdf8868f Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-2.bin differ diff --git a/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-3.bin b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-3.bin new file mode 100644 index 0000000000..6ee28f2e6f Binary files /dev/null and b/rom/dev/tools/mldsa_keys/vnd-mldsa-pub-key-3.bin differ diff --git a/rom/dev/tools/scripts/gen_test_certs.sh b/rom/dev/tools/scripts/gen_test_certs.sh index 44ecf8d291..4a48e9e44c 100755 --- a/rom/dev/tools/scripts/gen_test_certs.sh +++ b/rom/dev/tools/scripts/gen_test_certs.sh @@ -15,3 +15,11 @@ done openssl ecparam -name secp384r1 -genkey -noout -out $1/own-priv-key.pem openssl ec -in $1/own-priv-key.pem -pubout -out $1/own-pub-key.pem +for value in {0..3} +do + cp tools/mldsa_keys/vnd-mldsa-pub-key-$value.bin $1/ + cp tools/mldsa_keys/vnd-mldsa-priv-key-$value.bin $1/ +done + +cp tools/mldsa_keys/own-mldsa-pub-key.bin $1/ +cp tools/mldsa_keys/own-mldsa-priv-key.bin $1/