notboring.go 371 B

1234567891011121314
  1. //go:build !boringcrypto && !fips140v1.0
  2. // +build !boringcrypto,!fips140v1.0
  3. package noiseutil
  4. import (
  5. "github.com/flynn/noise"
  6. )
  7. // EncryptLockNeeded indicates if calls to Encrypt need a lock
  8. const EncryptLockNeeded = false
  9. // CipherAESGCM is the standard noise.CipherAESGCM when boringcrypto is not enabled
  10. var CipherAESGCM noise.CipherFunc = noise.CipherAESGCM