summaryrefslogtreecommitdiff
path: root/src/pkg/crypto
AgeCommit message (Collapse)AuthorFilesLines
2009-10-08more lgtm files from gofmtRuss Cox6-41/+39
R=gri OCL=35485 CL=35488
2009-10-06gofmt on crypto, debugRuss Cox28-659/+510
R=gri DELTA=2560 (127 added, 177 deleted, 2256 changed) OCL=35388 CL=35395
2009-09-29Add crypto/rc4.Adam Langley3-0/+136
RC4 is a common stream cipher. This adds a pure-go C implementation. R=r APPROVED=r DELTA=139 (138 added, 0 deleted, 1 changed) OCL=35056 CL=35092
2009-09-17unused importsRuss Cox7-10/+1
R=r OCL=34731 CL=34731
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike8-16/+16
R=rsc DELTA=152 (6 added, 0 deleted, 146 changed) OCL=34695 CL=34701
2009-09-15more "declared and not used".Russ Cox9-17/+17
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-08-20naming cleanup.Russ Cox8-16/+16
gzip.GzipInflater -> gzip.Inflater gzip.NewGzipInflater -> gzip.NewInflater zlib.NewZlibInflater -> zlib.NewInflater io.ByteReader deleted in favor of bytes.Buffer io.NewByteReader -> bytes.NewBuffer R=r DELTA=52 (3 added, 0 deleted, 49 changed) OCL=33589 CL=33592
2009-08-12convert non-low-level non-google pkg codeRuss Cox32-372/+35
to whole-package compilation. R=r OCL=33070 CL=33101
2009-06-29io.StringBytes -> strings.BytesRuss Cox9-22/+30
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-25Change os.Error convention:Russ Cox2-3/+16
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox2-4/+4
remove io.ErrEOF. rename io.FullRead to io.ReadFull, to match ReadAtLeast and ReadAll. remove io.FullReader, because it is now unused. R=r DELTA=295 (88 added, 105 deleted, 102 changed) OCL=30544 CL=30588
2009-06-09mv src/lib to src/pkgRob Pike35-0/+4843
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102