• Adam Langley's avatar
    crypto: add package. · e308d559
    Adam Langley authored
    The crypto package is added as a common place to store identifiers for
    hash functions. At the moment, the rsa package has an enumeration of
    hash functions and knowledge of their digest lengths. This is an
    unfortunate coupling and other high level crypto packages tend to need
    to duplicate this enumeration and knowledge (i.e. openpgp).
    
    crypto pulls this code out into a common location.
    
    It would also make sense to add similar support for ciphers to crypto,
    but the problem there isn't as acute that isn't done in this change.
    
    R=bradfitzgo, r, rsc
    CC=golang-dev
    https://golang.org/cl/4080046
    e308d559
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...