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

NAME

6       EVP_sha3_224, EVP_sha3_256, EVP_sha3_384, EVP_sha3_512, EVP_shake128,
7       EVP_shake256 - SHA-3 For EVP
8

SYNOPSIS

10        #include <openssl/evp.h>
11
12        const EVP_MD *EVP_sha3_224(void);
13        const EVP_MD *EVP_sha3_256(void);
14        const EVP_MD *EVP_sha3_384(void);
15        const EVP_MD *EVP_sha3_512(void);
16
17        const EVP_MD *EVP_shake128(void);
18        const EVP_MD *EVP_shake256(void);
19

DESCRIPTION

21       SHA-3 (Secure Hash Algorithm 3) is a family of cryptographic hash
22       functions standardized in NIST FIPS 202, first published in 2015. It is
23       based on the Keccak algorithm.
24
25       EVP_sha3_224(), EVP_sha3_256(), EVP_sha3_384(), EVP_sha3_512()
26           The SHA-3 SHA-3-224, SHA-3-256, SHA-3-384, and SHA-3-512 algorithms
27           respectively. They produce 224, 256, 384 and 512 bits of output
28           from a given input.
29
30       EVP_shake128(), EVP_shake256()
31           The SHAKE-128 and SHAKE-256 Extendable Output Functions (XOF) that
32           can generate a variable hash length.
33
34           Specifically, EVP_shake128 provides an overall security of 128
35           bits, while EVP_shake256 provides that of 256 bits.
36

NOTES

38       Developers should be aware of the negative performance implications of
39       calling these functions multiple times and should consider using
40       EVP_MD_fetch(3) instead.  See "Performance" in crypto(7) for further
41       information.
42

RETURN VALUES

44       These functions return a EVP_MD structure that contains the
45       implementation of the message digest. See EVP_MD_meth_new(3) for
46       details of the EVP_MD structure.
47

CONFORMING TO

49       NIST FIPS 202.
50

SEE ALSO

52       evp(7), EVP_DigestInit(3)
53
55       Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
56
57       Licensed under the Apache License 2.0 (the "License").  You may not use
58       this file except in compliance with the License.  You can obtain a copy
59       in the file LICENSE in the source distribution or at
60       <https://www.openssl.org/source/license.html>.
61
62
63
643.1.1                             2023-08-31               EVP_SHA3_224(3ossl)
Impressum