2 * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
10 #include <openssl/opensslconf.h>
12 #ifndef OPENSSL_NO_BLAKE2
14 # include <openssl/obj_mac.h>
15 # include "crypto/evp.h"
16 # include "prov/blake2.h" /* diverse BLAKE2 macros */
18 static const EVP_MD blake2b_md = {
21 BLAKE2B_DIGEST_LENGTH,
31 const EVP_MD *EVP_blake2b512(void)
36 static const EVP_MD blake2s_md = {
39 BLAKE2S_DIGEST_LENGTH,
49 const EVP_MD *EVP_blake2s256(void)
54 #endif /* OPENSSL_NO_BLAKE2 */