Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 // Copyright 2013 The Go Authors. All rights reserved. | 1 // Copyright 2014 The Go Authors. All rights reserved. |
agl1
2014/02/10 15:44:26
2014
Nick Craig-Wood
2014/02/11 09:03:56
Done.
| |
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 // ARM version of md5block.go | 5 // ARM version of md5block.go |
6 | 6 |
7 #include "../../../cmd/ld/textflag.h" | 7 #include "../../../cmd/ld/textflag.h" |
8 | 8 |
9 // SHA1 block routine. See sha1block.go for Go equivalent. | 9 // SHA1 block routine. See sha1block.go for Go equivalent. |
10 // | 10 // |
11 // There are 80 rounds of 4 types: | 11 // There are 80 rounds of 4 types: |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
208 | 208 |
209 MOVW p_end(SP), R(t0) | 209 MOVW p_end(SP), R(t0) |
210 CMP R(t0), R(data) | 210 CMP R(t0), R(data) |
211 BLO loop | 211 BLO loop |
212 | 212 |
213 // Save final SHA1 accumulator | 213 // Save final SHA1 accumulator |
214 MOVW dig+0(FP), R(t0) | 214 MOVW dig+0(FP), R(t0) |
215 MOVM.IA [R(a),R(b),R(c),R(d),R(e)], (R(t0)) | 215 MOVM.IA [R(a),R(b),R(c),R(d),R(e)], (R(t0)) |
216 | 216 |
217 RET | 217 RET |
LEFT | RIGHT |