notboring.go 342 B

1234567891011121314
  1. //go:build !boringcrypto
  2. // +build !boringcrypto
  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