]> Cypherpunks repositories - gostls13.git/commit
Added XTEA block cipher package to src/pkg/crypto
authorAdrian O'Grady <elpollouk@gmail.com>
Wed, 9 Dec 2009 08:06:20 +0000 (00:06 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 9 Dec 2009 08:06:20 +0000 (00:06 -0800)
commit6ebfd1eff28fbc84a0857298e4ecee9d4c7570a1
treed8576812aeac29feffe485994aa2d5f78d307b11
parent0400a7f8b1e6ce821f38fed9e4bc729620f7f4ce
Added XTEA block cipher package to src/pkg/crypto

This is an adaption of the code from http://en.wikipedia.org/wiki/XTEA. The package also implements the block.Cipher
interface so that it can be used with the various block modes.

R=rsc
https://golang.org/cl/157152
src/pkg/Makefile
src/pkg/crypto/xtea/Makefile [new file with mode: 0644]
src/pkg/crypto/xtea/block.go [new file with mode: 0644]
src/pkg/crypto/xtea/cipher.go [new file with mode: 0644]
src/pkg/crypto/xtea/xtea_test.go [new file with mode: 0644]