1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:17:45 +00:00

LibCrypto: Add support for BLAKE2b

This commit is contained in:
implicitfield 2023-09-16 17:01:54 +04:00 committed by Ali Mohammad Pur
parent da2c18d1f9
commit 1b3ad1c721
8 changed files with 302 additions and 2 deletions

View file

@ -0,0 +1,15 @@
/*
* Copyright (c) 2023, the SerenityOS developers
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibCrypto/Hash/BLAKE2b.h>
#include <stddef.h>
#include <stdint.h>
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
Crypto::Hash::BLAKE2b::hash(data, size);
return 0;
}