1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:21:21 -06:00
go/src/pkg/crypto
Russ Cox 2715956f13 build: add build comments to core packages
The go/build package already recognizes
system-specific file names like

        mycode_darwin.go
        mycode_darwin_386.go
        mycode_386.s

However, it is also common to write files that
apply to multiple architectures, so a recent CL added
to go/build the ability to process comments
listing a set of conditions for building.  For example:

        // +build darwin freebsd openbsd/386

says that this file should be compiled only on
OS X, FreeBSD, or 32-bit x86 OpenBSD systems.

These conventions are not yet documented
(hence this long CL description).

This CL adds build comments to the multi-system
files in the core library, a step toward making it
possible to use go/build to build them.

With this change go/build can handle crypto/rand,
exec, net, path/filepath, os/user, and time.

os and syscall need additional adjustments.

R=golang-dev, r, gri, r, gustavo
CC=golang-dev
https://golang.org/cl/5011046
2011-09-15 16:48:57 -04:00
..
aes crypto: replace "crypto/block" with "crypto/cipher" in comments 2011-06-27 09:16:42 -04:00
blowfish crypto: replace "crypto/block" with "crypto/cipher" in comments 2011-06-27 09:16:42 -04:00
cast5 os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
cipher crypto/openpgp: add support for symmetrically encrypting files. 2011-06-01 15:23:22 -04:00
des crypto/des: cleanups 2011-04-05 15:40:48 -04:00
dsa os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
ecdsa crypto/ecdsa, crypto/rsa: use io.ReadFull to read from random source. 2011-04-05 17:11:31 -04:00
elliptic pkg: spelling tweaks, A-H 2011-05-18 13:14:56 -04:00
hmac pkg: spelling tweaks, A-H 2011-05-18 13:14:56 -04:00
md4 src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
md5 src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
ocsp time: make Weekday a method. 2011-09-12 11:47:55 -07:00
openpgp go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
rand build: add build comments to core packages 2011-09-15 16:48:57 -04:00
rc4 src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
ripemd160 src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
rsa os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
sha1 src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
sha256 src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
sha512 src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
subtle pkg: spelling tweaks, A-H 2011-05-18 13:14:56 -04:00
tls crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
twofish crypto: replace "crypto/block" with "crypto/cipher" in comments 2011-06-27 09:16:42 -04:00
x509 cleanup: gofmt -s -w src misc 2011-09-06 16:04:55 -07:00
xtea crypto: replace "crypto/block" with "crypto/cipher" in comments 2011-06-27 09:16:42 -04:00
crypto.go src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
Makefile crypto: add package. 2011-02-01 11:02:48 -05:00