]> Cypherpunks repositories - gostls13.git/commit
crypto/cipher: add resync open to OCFB mode.
authorAdam Langley <agl@golang.org>
Thu, 3 Feb 2011 14:17:42 +0000 (09:17 -0500)
committerAdam Langley <agl@golang.org>
Thu, 3 Feb 2011 14:17:42 +0000 (09:17 -0500)
commitfc5c1f0a181dd620bfc3c48d93e6b2fcba234c7c
tree7f8a6b44048d94017c36b49145e8126e17ca6239
parent31ccf19612f0392e9d2795e32c1957e48e349db7
crypto/cipher: add resync open to OCFB mode.

OpenPGP changed its OCFB mode for more modern packets (for example, the
MDC symmetrically encrypted packet). This change adds a bool to
determine which mode is used.

R=bradfitzgo, r, rsc
CC=golang-dev
https://golang.org/cl/4126041
src/pkg/crypto/cipher/ocfb.go
src/pkg/crypto/cipher/ocfb_test.go