Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(282)

Side by Side Diff: src/pkg/crypto/md5/md5block.go

Issue 156115: code review 156115: gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg (Closed)
Patch Set: code review 156115: gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg Created 15 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/crypto/md5/md5.go ('k') | src/pkg/crypto/rsa/pkcs1v15.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // MD5 block step. 5 // MD5 block step.
6 // In its own file so that a faster assembly or C version 6 // In its own file so that a faster assembly or C version
7 // can be substituted easily. 7 // can be substituted easily.
8 8
9 package md5 9 package md5
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 a = a<<s | a>>(32-s); 157 a = a<<s | a>>(32-s);
158 a += b; 158 a += b;
159 a, b, c, d = d, a, b, c; 159 a, b, c, d = d, a, b, c;
160 } 160 }
161 161
162 a += aa; 162 a += aa;
163 b += bb; 163 b += bb;
164 c += cc; 164 c += cc;
165 d += dd; 165 d += dd;
166 166
167 » » p = p[_Chunk:len(p)]; 167 » » p = p[_Chunk:];
168 n += _Chunk; 168 n += _Chunk;
169 } 169 }
170 170
171 dig.s[0] = a; 171 dig.s[0] = a;
172 dig.s[1] = b; 172 dig.s[1] = b;
173 dig.s[2] = c; 173 dig.s[2] = c;
174 dig.s[3] = d; 174 dig.s[3] = d;
175 return n; 175 return n;
176 } 176 }
OLDNEW
« no previous file with comments | « src/pkg/crypto/md5/md5.go ('k') | src/pkg/crypto/rsa/pkcs1v15.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b