Source file src/crypto/internal/fips140test/cast_fips140v2.0_test.go
1 // Copyright 2024 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !fips140v1.0 6 7 package fipstest 8 9 import "crypto/internal/fips140/mldsa" 10 11 func fips140v2Conditionals() { 12 // ML-DSA sign and verify PCT 13 kMLDSA := mldsa.GenerateKey44() 14 // ML-DSA-44 15 mldsa.SignDeterministic(kMLDSA, make([]byte, 32), "") 16 } 17