aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/crypto/openpgp/packet/private_key.go
AgeCommit message (Collapse)Author
2012-01-25build: remove code now in subrepositoriesRuss Cox
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5569064
2012-01-11crypto/openpgp: assorted cleanupsAdam Langley
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
2011-12-01Add a []byte argument to hash.Hash to allow an allocation to be saved.Adam Langley
This is the result of running `gofix -r hashsum` over the tree, changing the hash function implementations by hand and then fixing a couple of instances where gofix didn't catch something. The changed implementations are as simple as possible while still working: I'm not trying to optimise in this CL. R=rsc, cw, rogpeppe CC=golang-dev https://golang.org/cl/5448065
2011-11-30use new time APIRuss Cox
R=bradfitz, gri, r, dsymonds CC=golang-dev https://golang.org/cl/5390042
2011-11-23crypto/openpgp/packet: fix private key checksumAdam Langley
I misinterpreted http://tools.ietf.org/html/rfc4880#section-5.5.3 and implemented the sum of 16-bit values, rather than the 16-bit sum of 8-bit values. Thanks to Szabolcs Nagy for pointing it out. R=bradfitz, r, rsc CC=golang-dev https://golang.org/cl/5372091
2011-11-08renaming_2: gofix -r go1pkgrename src/pkg/[a-l]*Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/5358041
2011-11-01src/pkg/[a-m]*: gofix -r error -force=errorRuss Cox
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
2011-06-21crypto/openpgp: add ElGamal support.Adam Langley
R=bradfitz, r CC=golang-dev https://golang.org/cl/4639049
2011-06-10crypto/openpgp: add ability to encrypt messages.Adam Langley
R=bradfitz, r CC=golang-dev https://golang.org/cl/4581051
2011-05-20crypto/openpgp: add key generation support.Adam Langley
This change adds a function for generating new Entities and inchoate support for reserialising Entities. R=bradfitz, r, bradfitz CC=golang-dev https://golang.org/cl/4551044
2011-04-22crypto/rsa: support > 3 primes.Adam Langley
With full multi-prime support we can support version 1 PKCS#1 private keys. This means exporting all the members of rsa.PrivateKey, thus making the API a little messy. However there has already been another request to export this so it seems to be something that's needed. Over time, rsa.GenerateMultiPrimeKey will replace rsa.GenerateKey, but I need to work on the prime balance first because we're no longer generating primes which are a multiples of 8 bits. Fixes #987. R=rsc CC=golang-dev https://golang.org/cl/4378046
2011-03-16crypto/openpgp: add DSA signature support.Adam Langley
R=bradfitzgo, nsz CC=golang-dev https://golang.org/cl/4280041
2011-02-05crypto/openpgp/packet: two more packet types.Adam Langley
R=bradfitzgo, r CC=golang-dev https://golang.org/cl/4124054