mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 12:17:52 +00:00
LibCrypto: Move hash constructors out of line
This commit is contained in:
parent
0fc02d4d00
commit
977af95b5b
Notes:
github-actions[bot]
2025-01-13 16:02:09 +00:00
Author: https://github.com/devgianlu
Commit: 977af95b5b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3234
9 changed files with 92 additions and 24 deletions
18
Libraries/LibCrypto/Hash/BLAKE2b.cpp
Normal file
18
Libraries/LibCrypto/Hash/BLAKE2b.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright (c) 2025, Altomani Gianluca <altomanigianluca@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibCrypto/Hash/BLAKE2b.h>
|
||||
|
||||
#include <openssl/evp.h>
|
||||
|
||||
namespace Crypto::Hash {
|
||||
|
||||
BLAKE2b::BLAKE2b(EVP_MD_CTX* context)
|
||||
: OpenSSLHashFunction(EVP_blake2b512(), context)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue