examples: add most docstrings

This commit is contained in:
Michael McLoughlin
2018-12-27 23:09:44 -08:00
parent 9f5277bf8e
commit 2ffc7d7fd5
18 changed files with 43 additions and 23 deletions

View File

@@ -10,6 +10,7 @@ import (
func main() {
TEXT("block", "func(h *[5]uint32, m []byte)")
Doc("block SHA-1 hashes the 64-byte message m into the running state h.")
h := Mem{Base: Load(Param("h"), GP64v())}
m := Mem{Base: Load(Param("m").Base(), GP64v())}

View File

@@ -2,4 +2,5 @@
package sha1
// block SHA-1 hashes the 64-byte message m into the running state h.
func block(h *[5]uint32, m []byte)