Debian Codegraph @

noiseutil/notboring.go

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