Restructuring of noise impl.
This commit is contained in:
parent
521e77fd54
commit
25190e4336
10 changed files with 420 additions and 128 deletions
12
src/keypair.go
Normal file
12
src/keypair.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"crypto/cipher"
|
||||
)
|
||||
|
||||
type KeyPair struct {
|
||||
recieveKey cipher.AEAD
|
||||
recieveNonce NoiseNonce
|
||||
sendKey cipher.AEAD
|
||||
sendNonce NoiseNonce
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue