From e308d5597327cdc76872a7ccfd8a79b8a4b71232 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Tue, 1 Feb 2011 11:02:48 -0500 Subject: 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 --- src/pkg/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pkg/Makefile') diff --git a/src/pkg/Makefile b/src/pkg/Makefile index 619e8aa261..6ba6951afc 100644 --- a/src/pkg/Makefile +++ b/src/pkg/Makefile @@ -28,6 +28,7 @@ DIRS=\ container/list\ container/ring\ container/vector\ + crypto\ crypto/aes\ crypto/block\ crypto/blowfish\ @@ -154,6 +155,7 @@ DIRS+=\ endif NOTEST=\ + crypto\ debug/proc\ exp/draw/x11\ go/ast\ -- cgit v1.3-5-g9baa