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

This commit is contained in:
zhibog
2022-02-22 19:56:07 +01:00
parent ea34f321ed
commit e7be9493ba
19 changed files with 682 additions and 27 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ hash_bytes :: proc "contextless" (data: []byte) -> [DIGEST_SIZE]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 :: proc(data: string, hash: []byte) {
hash_bytes_to_buffer(transmute([]byte)(data), hash);
hash_bytes_to_buffer(transmute([]byte)(data), hash)
}
// hash_bytes_to_buffer will hash the given input and write the