mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 21:07:36 +02:00
14 lines
351 B
Go
14 lines
351 B
Go
//go:build !boringcrypto && !fips140v1.0 && !fips140v1.26
|
|
|
|
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
|