Descriptioncrypto/sha256, crypto/sha512: fix argument size in assembly
The function takes 32 bytes of arguments: 8 for the *block
and then 3*8 for the slice.
The 24 is not causing a bug (today at least) because the
final word is the cap of the slice, which the assembly
does not use.
Identified by 'go vet std'.
Patch Set 1 #Patch Set 2 : diff -r 712f6b41d382 https://code.google.com/p/go/ #Patch Set 3 : diff -r 712f6b41d382 https://code.google.com/p/go/ #Patch Set 4 : diff -r b10044024a6d https://code.google.com/p/go/ #
MessagesTotal messages: 3
|