File: fipsutil_other.go

package info (click to toggle)
golang-github-smallstep-crypto 0.63.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,800 kB
  • sloc: sh: 66; makefile: 50
file content (19 lines) | stat: -rw-r--r-- 394 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//go:build !go1.24

package fipsutil

// Enabled reports whether the cryptography libraries are operating in FIPS
// 140-3 mode.
//
// On Go < 1.24 it will always return false.
func Enabled() bool {
	return false
}

// Only reports whether the cryptography libraries are operating in FIPS 140-3
// "only" mode.
//
// On Go < 1.24 it will always return false.
func Only() bool {
	return false
}