1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:21:21 -06:00
go/src/pkg/crypto
Adam Langley 1d546005af crypto/cipher: fix CFB mode.
a073d65e6f8c had a couple of bugs in the CFB mode that I missed in code review:
        1) The loop condition wasn't updated from the old version.
        2) It wasn't safe when src and dst aliased.

Fixes #6950.

R=golang-dev, hanwen
CC=golang-dev
https://golang.org/cl/42110043
2013-12-15 12:55:59 -05:00
..
aes all: change textflags from numbers to symbols. 2013-08-12 10:25:36 -07:00
cipher crypto/cipher: fix CFB mode. 2013-12-15 12:55:59 -05:00
des crypto/des: faster permutation. 2013-07-31 22:06:48 +02:00
dsa build: remove dead code 2013-03-22 17:28:22 -04:00
ecdsa all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00
elliptic crypto/elliptic: add constant-time, P-256 implementation. 2013-06-27 13:31:05 -04:00
hmac crypto/hmac: add Equal function. 2012-10-11 15:28:02 -04:00
md5 all: change textflags from numbers to symbols. 2013-08-12 10:25:36 -07:00
rand crypto/rand: support generation of 2-5 bit primes, also document the error return for Prime 2013-12-09 23:25:49 -05:00
rc4 crypto/rc4: fix type errors in pure Go implementation 2013-12-12 14:32:31 -05:00
rsa crypto/rsa: remove obsolete TODO. 2013-07-16 19:34:21 -04:00
sha1 crypto/sha1: Optimise FUNC1 with alternate formulation 2013-12-12 11:26:36 -08:00
sha256 crypto/sha256: block implementation in amd64 assembly 2013-12-11 11:41:30 -05:00
sha512 crypto/sha512: update comment for the Sum512 function. 2013-06-27 20:51:46 +10:00
subtle crypto/rsa: check for minimal PKCS#1 v1.5 padding. 2013-05-15 10:27:34 -04:00
tls crypto/tls: advertise support for RSA+SHA1 in TLS 1.2 handshake. 2013-10-21 16:35:09 -04:00
x509 crypto/x509: fix typo in comment. 2013-12-11 17:27:29 -05:00
crypto.go crypto: include hash number in panic message. 2013-08-05 14:23:32 -04:00