Go to the documentation of this file.
64 #ifndef OPENSSL_NO_SHA
69 #ifndef OPENSSL_NO_RSA
80 static int final(
EVP_MD_CTX *ctx,
unsigned char *md)
83 static const EVP_MD sha1_md=
105 #ifndef OPENSSL_NO_SHA256
115 static int update256(
EVP_MD_CTX *ctx,
const void *
data,
size_t count)
117 static int final256(
EVP_MD_CTX *ctx,
unsigned char *md)
120 static const EVP_MD sha224_md=
137 {
return(&sha224_md); }
139 static const EVP_MD sha256_md=
156 {
return(&sha256_md); }
159 #ifndef OPENSSL_NO_SHA512
165 static int update512(
EVP_MD_CTX *ctx,
const void *
data,
size_t count)
167 static int final512(
EVP_MD_CTX *ctx,
unsigned char *md)
170 static const EVP_MD sha384_md=
187 {
return(&sha384_md); }
189 static const EVP_MD sha512_md=
206 {
return(&sha512_md); }