1EVP_BLAKE2B512(3ossl)               OpenSSL              EVP_BLAKE2B512(3ossl)
2
3
4

NAME

6       EVP_blake2b512, EVP_blake2s256 - BLAKE2 For EVP
7

SYNOPSIS

9        #include <openssl/evp.h>
10
11        const EVP_MD *EVP_blake2b512(void);
12        const EVP_MD *EVP_blake2s256(void);
13

DESCRIPTION

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

NOTES

28       Developers should be aware of the negative performance implications of
29       calling these functions multiple times and should consider using
30       EVP_MD_fetch(3) instead.  See "Performance" in crypto(7) for further
31       information.
32
33       While the BLAKE2b and BLAKE2s algorithms supports a variable length
34       digest, this implementation outputs a digest of a fixed length (the
35       maximum length supported), which is 512-bits for BLAKE2b and 256-bits
36       for BLAKE2s.
37

RETURN VALUES

39       These functions return a EVP_MD structure that contains the
40       implementation of the message digest. See EVP_MD_meth_new(3) for
41       details of the EVP_MD structure.
42

CONFORMING TO

44       RFC 7693.
45

SEE ALSO

47       evp(7), EVP_DigestInit(3)
48
50       Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
51
52       Licensed under the Apache License 2.0 (the "License").  You may not use
53       this file except in compliance with the License.  You can obtain a copy
54       in the file LICENSE in the source distribution or at
55       <https://www.openssl.org/source/license.html>.
56
57
58
593.0.9                             2023-07-27             EVP_BLAKE2B512(3ossl)
Impressum