Skip to content

Commit

Permalink
crypto/internal/fips140: add Name and Version
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
FiloSottile authored and gopherbot committed Dec 17, 2024
1 parent 8790372 commit b9e2ffd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/crypto/internal/fips140/fips140.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ func init() {
debug = true
}
}

func Name() string {
return "Go Cryptographic Module"
}

func Version() string {
return "v1.0"
}

0 comments on commit b9e2ffd

Please sign in to comment.