• Adam Langley's avatar
    crypto/dsa: don't truncate input hashes. · 60f564fc
    Adam Langley authored
    Although FIPS 186-3 says that we should truncate the hashes, at least
    one other library (libgcrypt) doesn't. This means that it's impossible
    to interoperate with code using gcrypt if we enforce the truncation
    inside of crypto/dsa.
    
    This change shouldn't actually affect anything because nearly
    everybody pairs DSA with SHA1, which doesn't need to be truncated in
    either case.
    
    R=golang-dev, bradfitz, rsc
    CC=golang-dev
    https://golang.org/cl/5471043
    60f564fc
Name
Last commit
Last update
..
Makefile Loading commit data...
dsa.go Loading commit data...
dsa_test.go Loading commit data...