• Adam Langley's avatar
    crypto/openpgp: add support for symmetrically encrypting files. · e0cca45f
    Adam Langley authored
    This mostly adds the infrastructure for writing various forms of
    packets as well as reading them. Adding symmetric encryption support
    was simply an easy motivation.
    
    There's also one brown-paper-bag fix in here. Previously I had the
    conditional for the MDC hash check backwards: the code was checking
    that the hash was *incorrect*. This was neatly counteracted by another
    bug: it was hashing the ciphertext of the OCFB prefix, not the
    plaintext.
    
    R=bradfitz
    CC=golang-dev
    https://golang.org/cl/4564046
    e0cca45f
Name
Last commit
Last update
..
Makefile Loading commit data...
cbc.go Loading commit data...
cbc_aes_test.go Loading commit data...
cfb.go Loading commit data...
cfb_test.go Loading commit data...
cipher.go Loading commit data...
common_test.go Loading commit data...
ctr.go Loading commit data...
ctr_aes_test.go Loading commit data...
io.go Loading commit data...
ocfb.go Loading commit data...
ocfb_test.go Loading commit data...
ofb.go Loading commit data...
ofb_test.go Loading commit data...