1EVP_BLAKE2B512(3) OpenSSL EVP_BLAKE2B512(3)
2
3
4
6 EVP_blake2b512, EVP_blake2s256 - BLAKE2 For EVP
7
9 #include <openssl/evp.h>
10
11 const EVP_MD *EVP_blake2b512(void);
12 const EVP_MD *EVP_blake2s256(void);
13
15 BLAKE2 is an improved version of BLAKE, which was submitted to the NIST
16 SHA-3 algorithm competition. The BLAKE2s and BLAKE2b algorithms are
17 described in RFC 7693.
18
19 EVP_blake2s256()
20 The BLAKE2s algorithm that produces a 256-bit output from a given
21 input.
22
23 EVP_blake2b512()
24 The BLAKE2b algorithm that produces a 512-bit output from a given
25 input.
26
28 These functions return a EVP_MD structure that contains the
29 implementation of the symmetric cipher. See EVP_MD_meth_new(3) for
30 details of the EVP_MD structure.
31
33 RFC 7693.
34
36 While the BLAKE2b and BLAKE2s algorithms supports a variable length
37 digest, this implementation outputs a digest of a fixed length (the
38 maximum length supported), which is 512-bits for BLAKE2b and 256-bits
39 for BLAKE2s.
40
42 evp(7), EVP_DigestInit(3)
43
45 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
46
47 Licensed under the OpenSSL license (the "License"). You may not use
48 this file except in compliance with the License. You can obtain a copy
49 in the file LICENSE in the source distribution or at
50 <https://www.openssl.org/source/license.html>.
51
52
53
541.1.1 2018-09-11 EVP_BLAKE2B512(3)