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

RETURN VALUES

34       These functions return a EVP_MD structure that contains the
35       implementation of the message digest. See EVP_MD_meth_new(3) for
36       details of the EVP_MD structure.
37

CONFORMING TO

39       NIST FIPS 180-4.
40

SEE ALSO

42       evp(7), EVP_DigestInit(3)
43
45       Copyright 2017-2022 The OpenSSL Project Authors. All Rights Reserved.
46
47       Licensed under the Apache License 2.0 (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
543.0.5                             2022-07-05                 EVP_SHA224(3ossl)
Impressum