Skip to content

Commit b9e2ffd

Browse files
FiloSottilegopherbot
authored andcommitted
crypto/internal/fips140: add Name and Version
Per ISO/IEC 19790:2012, Section 7.4.3.1. > A cryptographic module shall [04.12] provide the following services to > operators. > > a) Show module’s versioning information. The cryptographic module > shall [04.13] output the name or module identifier and the versioning > information that can be correlated with a validation record (e.g. > hardware, software and/or firmware versioning information)." For #69536 Change-Id: I8061f64e4ae60a4666f6abd892cb1301d6bf2452 Reviewed-on: https://go-review.googlesource.com/c/go/+/636558 Auto-Submit: Filippo Valsorda <[email protected]> Reviewed-by: Daniel McCarney <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Reviewed-by: David Chase <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 8790372 commit b9e2ffd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/crypto/internal/fips140/fips140.go

+8
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ func init() {
1919
debug = true
2020
}
2121
}
22+
23+
func Name() string {
24+
return "Go Cryptographic Module"
25+
}
26+
27+
func Version() string {
28+
return "v1.0"
29+
}

0 commit comments

Comments
 (0)