go/src
Adam Langley e308d55973 crypto: add package.
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
2011-02-01 11:02:48 -05:00
..
cmd cgo: define CGO_CFLAGS and CGO_LDFLAGS in Go files 2011-02-01 08:44:18 -05:00
lib9 lib9: update to Unicode 6.0.0 2011-01-31 12:38:54 -05:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libmach libmach: detail for darwin errors 2010-11-05 23:03:53 -04:00
pkg crypto: add package. 2011-02-01 11:02:48 -05:00
Make.ccmd build: remove intermediate yacc files in Make.ccmd 2010-12-14 12:22:40 -05:00
Make.clib build: Allow archiver to be specified in the environment with HOST_AR. 2010-12-07 15:28:26 -05:00
Make.cmd Make.cmd: remove $(OFILES) 2010-10-11 22:39:37 -04:00
Make.common build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
Make.inc remove nacl 2010-12-15 11:49:23 -05:00
Make.pkg cgo: define CGO_CFLAGS and CGO_LDFLAGS in Go files 2011-02-01 08:44:18 -05:00
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash fix build: more libcgo references 2010-12-08 14:36:45 -05:00
env.bash env.bash: more quoting in case of spaces 2010-11-05 23:04:08 -04:00
make.bash make.bash: stricter selinux test 2011-01-25 10:19:39 -05:00
quietgcc.bash build: add GOHOSTOS and GOHOSTARCH environment variables. 2010-10-08 18:52:28 +11:00
run.bash run.bash: disable doc/codelab/wiki test on windows 2011-01-31 15:58:44 +11:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash version.bash: cope with ancient Mercurial 2010-03-16 18:45:06 -07:00