Files
threshold/protocols/mldsa-tee/curve25519_test.go
zeekay 70c77d1818 protocols/mldsa-tee: institutional-custody FIPS 204 via TEE-gated seed reconstruction
Sibling of protocols/slhdsa-tee for the FIPS 204 (ML-DSA / pulsar)
primitive. Output is byte-identical to single-party
pulsar.SignDeterministic on the same seed-derived sk.

Same composition pattern:
  Signer { gate kms.ReleaseGate; hsmP hsm.Provider;
           appr approval.ApprovalProvider; cfg Config }

Permissionless paths (pulsar.OrchestrateV03Sign v0.3 AlgebraicAggregate)
are UNAFFECTED. This is the opt-in institutional-custody extension.

Use cases: IAM signing-as-a-service with attested release, bridge
oracles whose signing key is governed by executive approval per signature.

9 tests + 6 Config sub-tests; t.Parallel; ML-DSA is much faster than
SLH-DSA so the whole package suite runs in well under a second.
2026-06-01 12:17:52 -07:00

11 lines
265 B
Go

// SPDX-License-Identifier: BSD-3-Clause
package mldsatee
import "golang.org/x/crypto/curve25519"
// curve25519BasepointMul is a test-only helper.
func curve25519BasepointMul(priv []byte) ([]byte, error) {
return curve25519.X25519(priv, curve25519.Basepoint)
}