Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion eng/_util/cmd/updatecryptodocs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ var doc = Document{
},
{
Title: "Asymmetric encryption",
Packages: []string{"RSA", "ECDSA", "ECDH", "Ed25519", "DSA"},
Packages: []string{"RSA", "ECDSA", "ECDH", "Ed25519", "ML-DSA", "DSA"},
Description: "",
Subsections: []Section{
{
Expand Down Expand Up @@ -486,6 +486,39 @@ var doc = Document{
},
},
},
{
Title: "ML-DSA",
ColumnHeader: "Parameters",
Packages: []string{"crypto/mldsa"},
MinGoVersion: "1.27",
Description: "Operations that require random numbers (rand io.Reader) only support [rand.Reader](https://pkg.go.dev/crypto/rand#Reader). Deterministic signing is always performed by the Go cryptographic module. External-mu signing falls back to the Go cryptographic module on platforms whose backend does not implement it (currently macOS).",
Items: []Item{
{
Name: "44",
Platforms: Platforms{
Windows: PlatformStatus{MinVersion: "11 (24H2)"},
Linux: PlatformStatus{MinVersion: "3.5.0"},
MacOS: PlatformStatus{Supported: NotSupported},
},
},
{
Name: "65",
Platforms: Platforms{
Windows: PlatformStatus{MinVersion: "11 (24H2)"},
Linux: PlatformStatus{MinVersion: "3.5.0"},
MacOS: PlatformStatus{MinVersion: "26"},
},
},
{
Name: "87",
Platforms: Platforms{
Windows: PlatformStatus{MinVersion: "11 (24H2)"},
Linux: PlatformStatus{MinVersion: "3.5.0"},
MacOS: PlatformStatus{MinVersion: "26"},
},
},
},
},
{
Title: "DSA",
ColumnHeader: "Parameters",
Expand Down
23 changes: 23 additions & 0 deletions eng/doc/CrossPlatformCryptography.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ This section includes the following subsections:
- [ECDSA](#ecdsa)
- [ECDH](#ecdh)
- [Ed25519](#ed25519)
- [ML-DSA](#ml-dsa)
- [DSA](#dsa)

### RSA
Expand Down Expand Up @@ -234,6 +235,28 @@ Operations that require random numbers (rand io.Reader) only support [rand.Reade
| Ed25519ctx | ❌️ | ❌️ | ❌️ |
| Ed25519ph | ❌️ | ❌️ | ❌️ |

### ML-DSA

This section includes the following packages:

- [crypto/mldsa](https://pkg.go.dev/crypto/mldsa)

ML-DSA is available starting from the Microsoft build of Go 1.27.

Operations that require random numbers (rand io.Reader) only support [rand.Reader](https://pkg.go.dev/crypto/rand#Reader). Deterministic signing is always performed by the Go cryptographic module. External-mu signing falls back to the Go cryptographic module on platforms whose backend does not implement it (currently macOS).

| Parameters | Windows | Linux | macOS |
| ---------- | -------------- | -------------- | -------------- |
| 44 | ✔️<sup>1</sup> | ✔️<sup>2</sup> | ❌️ |
| 65 | ✔️<sup>1</sup> | ✔️<sup>2</sup> | ✔️<sup>3</sup> |
| 87 | ✔️<sup>1</sup> | ✔️<sup>2</sup> | ✔️<sup>3</sup> |

<sup>1</sup>Requires Windows 11 (24H2) or later.

<sup>2</sup>Requires OpenSSL 3.5.0 or later.

<sup>3</sup>Requires macOS 26 or later.

### DSA

| Parameters | Windows | Linux | macOS |
Expand Down
Loading
Loading