• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...