nebula/noiseutil/notboring.go
Wade Simmons 6da314aa6b WIP
2025-07-24 13:56:42 -04:00

15 lines
371 B
Go

//go:build !boringcrypto && !fips140v1.0
// +build !boringcrypto,!fips140v1.0
package noiseutil
import (
"github.com/flynn/noise"
)
// EncryptLockNeeded indicates if calls to Encrypt need a lock
const EncryptLockNeeded = false
// CipherAESGCM is the standard noise.CipherAESGCM when boringcrypto is not enabled
var CipherAESGCM noise.CipherFunc = noise.CipherAESGCM