11 #include <openssl/evp.h>
13 const EVP_MD *EVP_blake2b512(void);
14 const EVP_MD *EVP_blake2s256(void);
18 BLAKE2 is an improved version of BLAKE, which was submitted to the NIST SHA-3
19 algorithm competition. The BLAKE2s and BLAKE2b algorithms are described in
24 =item EVP_blake2s256()
26 The BLAKE2s algorithm that produces a 256-bit output from a given input.
28 =item EVP_blake2b512()
30 The BLAKE2b algorithm that produces a 512-bit output from a given input.
36 These functions return a B<EVP_MD> structure that contains the
37 implementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
38 details of the B<EVP_MD> structure.
46 While the BLAKE2b and BLAKE2s algorithms supports a variable length digest,
47 this implementation outputs a digest of a fixed length (the maximum length
48 supported), which is 512-bits for BLAKE2b and 256-bits for BLAKE2s.
57 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
59 Licensed under the OpenSSL license (the "License"). You may not use
60 this file except in compliance with the License. You can obtain a copy
61 in the file LICENSE in the source distribution or at
62 L<https://www.openssl.org/source/license.html>.