Added SipHash + tests and fixed remaining semicolons in vendor/botan

This commit is contained in:
zhibog committed 2022-02-22 19:56:07 +01:00
1 parent ea34f321ed
commit e7be9493ba
19 files changed
+682 -27

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ hash_bytes_160 :: proc(data: []byte) -> [DIGEST_SIZE_160]byte {
// computed hash to the second parameter.
// It requires that the destination buffer is at least as big as the digest size
hash_string_to_buffer_160 :: proc(data: string, hash: []byte) {
hash_bytes_to_buffer_160(transmute([]byte)(data), hash);
hash_bytes_to_buffer_160(transmute([]byte)(data), hash)
}
// hash_bytes_to_buffer_160 will hash the given input and write the