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

NAME

6       EVP_sha224, EVP_sha256, EVP_sha512_224, EVP_sha512_256, EVP_sha384,
7       EVP_sha512 - SHA-2 For EVP
8

SYNOPSIS

10        #include <openssl/evp.h>
11
12        const EVP_MD *EVP_sha224(void);
13        const EVP_MD *EVP_sha256(void);
14        const EVP_MD *EVP_sha512_224(void);
15        const EVP_MD *EVP_sha512_256(void);
16        const EVP_MD *EVP_sha384(void);
17        const EVP_MD *EVP_sha512(void);
18

DESCRIPTION

20       SHA-2 (Secure Hash Algorithm 2) is a family of cryptographic hash
21       functions standardized in NIST FIPS 180-4, first published in 2001.
22
23       EVP_sha224(), EVP_sha256(), EVP_sha512_224, EVP_sha512_256,
24       EVP_sha384(), EVP_sha512()
25           The SHA-2 SHA-224, SHA-256, SHA-512/224, SHA512/256, SHA-384 and
26           SHA-512 algorithms, which generate 224, 256, 224, 256, 384 and 512
27           bits respectively of output from a given input.
28
29           The two algorithms: SHA-512/224 and SHA512/256 are truncated forms
30           of the SHA-512 algorithm. They are distinct from SHA-224 and
31           SHA-256 even though their outputs are of the same size.
32

NOTES

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

RETURN VALUES

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

CONFORMING TO

45       NIST FIPS 180-4.
46

SEE ALSO

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