]> Cypherpunks repositories - gostls13.git/commit
crypto/openpgp: assorted cleanups
authorAdam Langley <agl@golang.org>
Wed, 11 Jan 2012 13:35:32 +0000 (08:35 -0500)
committerAdam Langley <agl@golang.org>
Wed, 11 Jan 2012 13:35:32 +0000 (08:35 -0500)
commita68494bf21ea84b114c9e1468087f28abbf4c42b
tree8b373575c31db48897a9c4483cd90bc1b011b3eb
parent0c012af11464ad1d5f2f188f6026c3b8a5483ca4
crypto/openpgp: assorted cleanups

1) Include Szabolcs Nagy's patch which adds serialisation for more
   signature subpackets.
2) Include Szabolcs Nagy's patch which adds functions for making DSA
   keys.
3) Make the random io.Reader an argument to the low-level signature
   functions rather than having them use crypto/rand.
4) Rename crypto/openpgp/error to crypto/openpgp/errors so that it
   doesn't clash with the new error type.

R=bradfitz, r
CC=golang-dev
https://golang.org/cl/5528044
20 files changed:
src/pkg/crypto/openpgp/armor/armor.go
src/pkg/crypto/openpgp/errors/Makefile [moved from src/pkg/crypto/openpgp/error/Makefile with 85% similarity]
src/pkg/crypto/openpgp/errors/errors.go [moved from src/pkg/crypto/openpgp/error/error.go with 94% similarity]
src/pkg/crypto/openpgp/keys.go
src/pkg/crypto/openpgp/packet/compressed.go
src/pkg/crypto/openpgp/packet/encrypted_key.go
src/pkg/crypto/openpgp/packet/one_pass_signature.go
src/pkg/crypto/openpgp/packet/packet.go
src/pkg/crypto/openpgp/packet/packet_test.go
src/pkg/crypto/openpgp/packet/private_key.go
src/pkg/crypto/openpgp/packet/public_key.go
src/pkg/crypto/openpgp/packet/reader.go
src/pkg/crypto/openpgp/packet/signature.go
src/pkg/crypto/openpgp/packet/symmetric_key_encrypted.go
src/pkg/crypto/openpgp/packet/symmetrically_encrypted.go
src/pkg/crypto/openpgp/packet/symmetrically_encrypted_test.go
src/pkg/crypto/openpgp/read.go
src/pkg/crypto/openpgp/read_test.go
src/pkg/crypto/openpgp/s2k/s2k.go
src/pkg/crypto/openpgp/write.go