Skip to content

Commit 3ea50c4

Browse files
committed
Add ML-KEM and ML-DSA OIDs
1 parent 679a302 commit 3ea50c4

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cmd/der2ascii/oid_names.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ var oidNames = []struct {
4545
{[]byte{0x2a, 0x86, 0x48, 0xce, 0x38, 0x4, 0x1}, "dsa"},
4646
{[]byte{0x2b, 0x65, 0x6e}, "x25519"},
4747
{[]byte{0x2b, 0x65, 0x6f}, "x448"},
48+
{[]byte{0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x3, 0x11}, "ml-dsa-44"},
49+
{[]byte{0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x3, 0x12}, "ml-dsa-65"},
50+
{[]byte{0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x3, 0x13}, "ml-dsa-87"},
51+
{[]byte{0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x4, 0x1}, "ml-kem-512"},
52+
{[]byte{0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x4, 0x2}, "ml-kem-768"},
53+
{[]byte{0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x4, 0x3}, "ml-kem-1024"},
4854
{[]byte{0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x1, 0x2}, "md2WithRSAEncryption"},
4955
{[]byte{0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x1, 0x3}, "md4WithRSAEncryption"},
5056
{[]byte{0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x1, 0x4}, "md5WithRSAEncryption"},

util/oid_names.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ ecPublicKey: 1.2.840.10045.2.1
3434
dsa: 1.2.840.10040.4.1
3535
x25519: 1.3.101.110
3636
x448: 1.3.101.111
37+
ml-dsa-44: 2.16.840.1.101.3.4.3.17
38+
ml-dsa-65: 2.16.840.1.101.3.4.3.18
39+
ml-dsa-87: 2.16.840.1.101.3.4.3.19
40+
ml-kem-512: 2.16.840.1.101.3.4.4.1
41+
ml-kem-768: 2.16.840.1.101.3.4.4.2
42+
ml-kem-1024: 2.16.840.1.101.3.4.4.3
3743

3844
# X.509 signature algorithm types
3945
md2WithRSAEncryption: 1.2.840.113549.1.1.2

0 commit comments

Comments
 (0)