This commit is contained in:
Wade Simmons
2026-04-27 14:18:17 -04:00
parent 2d5d86f24d
commit 08ee2ab35f
2 changed files with 0 additions and 16 deletions

View File

@@ -23,11 +23,6 @@ func NewNebulaCipherState(s *noise.CipherState) *NebulaCipherState {
return &NebulaCipherState{c: x.(cipher.AEAD)}
}
type cipherAEADDanger interface {
EncryptDanger(out, ad, plaintext []byte, n uint64, nb []byte) ([]byte, error)
DecryptDanger(out, ad, plaintext []byte, n uint64, nb []byte) ([]byte, error)
}
// EncryptDanger encrypts and authenticates a given payload.
//
// out is a destination slice to hold the output of the EncryptDanger operation.