Commit graph

11 commits

Author SHA1 Message Date
Mikkel Krautz
b871d9c092 pkg/cryptstate: remove NULL crypto mode.
It's not too sensible to have a NULL mode in the first place,
and the CryptState code expects non-0 IVs and keys.

Drop it.
2016-10-15 19:18:08 +02:00
Tim Cooper
20eba760e5 go fmt 2016-03-25 22:05:23 -03:00
Mikkel Krautz
cbe2ffea3d pkg/cryptstate: add NULL crypto mode. 2012-12-09 12:58:59 +01:00
Mikkel Krautz
edf98fa75f pkg/cryptstate: add support for XSalsa20-Poly1305 crypto mode. 2012-12-09 12:44:33 +01:00
Mikkel Krautz
33a7e1304d pkg/cryptstate: cleanups for multiple crypto modes. 2012-12-08 22:25:58 +01:00
Mikkel Krautz
d6b71c5553 grumble, pkg/cryptstate: make it possible to use CryptState as a non-pointer member. 2012-12-02 12:59:30 +01:00
Mikkel Krautz
0f058d3b76 pkg/cryptstate, pkg/cryptstate/ocb2: split OCB2 implementation out into its own package. 2012-12-01 11:42:02 +01:00
Mikkel Krautz
e15ce28618 cryptstate: s/AESBlockSize/aes.BlockSize, rename to grumble/cryptstate. 2011-05-14 18:50:07 +02:00
Mikkel Krautz
d535cbc6fa Grumble gofmt run. 2011-05-13 15:46:45 +02:00
Mikkel Krautz
0bf84fb3f3 Use new crypto API. 2010-11-20 16:11:41 +01:00
Mikkel Krautz
73ab596ae6 Throw the code out there. :) 2010-09-20 15:14:22 +02:00