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

RETURN VALUES

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

CONFORMING TO

43       NIST FIPS 202.
44

SEE ALSO

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