go/src/pkg/crypto
Adam Langley 475d86b6d9 crypto/rc4: add simple amd64 asm implementation.
(Although it's still half the speed of OpenSSL.)

benchmark           old ns/op    new ns/op    delta
BenchmarkRC4_128         1409          398  -71.75%
BenchmarkRC4_1K         10920         2898  -73.46%
BenchmarkRC4_8K        131323        23083  -82.42%

benchmark            old MB/s     new MB/s  speedup
BenchmarkRC4_128        90.83       321.43    3.54x
BenchmarkRC4_1K         93.77       353.28    3.77x
BenchmarkRC4_8K         61.65       350.73    5.69x

R=rsc, remyoudompheng
CC=golang-dev, jgrahamc
https://golang.org/cl/7234055
2013-01-30 11:01:19 -05:00
..
aes crypto/aes: speed up using AES-NI on amd64 2012-09-27 01:54:10 +08:00
cipher crypto/cipher: don't persist errors in StreamWriter. 2013-01-21 11:22:08 -05:00
des crypto/des: add an example to demonstrate EDE2 operation. 2012-12-22 10:50:11 -05:00
dsa
ecdsa crypto/elliptic: explicitly handle P+P, ∞+P and P+∞ 2012-08-03 15:42:14 -04:00
elliptic crypto/elliptic: explicitly handle P+P, ∞+P and P+∞ 2012-08-03 15:42:14 -04:00
hmac crypto/hmac: add Equal function. 2012-10-11 15:28:02 -04:00
md5 crypto/md5: speed up aligned writes and test/bench unaligned writes 2012-11-18 02:23:34 +08:00
rand crypto/rsa: ensure that RSA keys use the full number of bits. 2012-12-28 19:11:37 -05:00
rc4 crypto/rc4: add simple amd64 asm implementation. 2013-01-30 11:01:19 -05:00
rsa src: Use bytes.Equal instead of bytes.Compare where possible. 2013-01-07 10:03:49 +11:00
sha1 crypto/sha1: Make sha-1 do block mixup in place 2012-11-07 13:41:02 +11:00
sha256 crypto: use better hash benchmarks 2012-11-01 16:21:18 -04:00
sha512 crypto: use better hash benchmarks 2012-11-01 16:21:18 -04:00
subtle
tls crypto/tls: allow the server to enforce its ciphersuite preferences. 2013-01-22 10:10:38 -05:00
x509 all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
crypto.go