Files
nebula/noiseutil/notboring.go
T
Wade Simmons 37b752bb23 WIP
2026-06-08 09:43:28 -04:00

14 lines
323 B
Go

//go:build !boringcrypto
package noiseutil
import (
"crypto/fips140"
)
// EncryptLockNeeded indicates if calls to Encrypt need a lock
var EncryptLockNeeded = fips140.Enabled()
// CipherAESGCM is the standard noise.CipherAESGCM when boringcrypto is not enabled
// var CipherAESGCM noise.CipherFunc = noise.CipherAESGCM