1
0
Fork 0
forked from External/grumble

More Go 1 updates.

This commit is contained in:
Mikkel Krautz 2012-03-06 01:07:10 +01:00
parent e46a65109f
commit fee67fa856
7 changed files with 40 additions and 211 deletions

View file

@ -7,6 +7,7 @@ package cryptstate
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"errors"
"time"
@ -31,7 +32,7 @@ type CryptState struct {
RemoteLost uint32
RemoteResync uint32
cipher *aes.Cipher
cipher cipher.Block
}
func New() (cs *CryptState, err error) {