fix test error

This commit is contained in:
tsingbx
2024-07-31 14:36:42 +08:00
parent f67b15b926
commit 8882d75132
4 changed files with 20 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
package sha512
// llgo:skipall
import (
"hash"
"unsafe"
@@ -73,6 +72,11 @@ func Sum512(data []byte) (ret [Size]byte) {
return
}
func Sum(data []byte) (ret [Size]byte) {
openssl.SHA512Bytes(data, &ret[0])
return
}
func New512_224() hash.Hash {
panic("todo: New512_224")
}