#include <openssl/rsa.h>
#endif
+#ifdef OPENSSL_FIPS
+#include <openssl/fips.h>
+#endif
+
+
static int init(EVP_MD_CTX *ctx)
{ return SHA1_Init(ctx->md_data); }
final,
NULL,
NULL,
- EVP_PKEY_RSA_method,
+ EVP_PKEY_NULL_method,
SHA_CBLOCK,
sizeof(EVP_MD *)+sizeof(SHA_CTX),
};
final256,
NULL,
NULL,
- EVP_PKEY_RSA_method,
+ EVP_PKEY_NULL_method,
SHA256_CBLOCK,
sizeof(EVP_MD *)+sizeof(SHA256_CTX),
};
final256,
NULL,
NULL,
- EVP_PKEY_RSA_method,
+ EVP_PKEY_NULL_method,
SHA256_CBLOCK,
sizeof(EVP_MD *)+sizeof(SHA256_CTX),
};
final512,
NULL,
NULL,
- EVP_PKEY_RSA_method,
+ EVP_PKEY_NULL_method,
SHA512_CBLOCK,
sizeof(EVP_MD *)+sizeof(SHA512_CTX),
};
final512,
NULL,
NULL,
- EVP_PKEY_RSA_method,
+ EVP_PKEY_NULL_method,
SHA512_CBLOCK,
sizeof(EVP_MD *)+sizeof(SHA512_CTX),
};
const EVP_MD *EVP_sha512(void)
{ return(&sha512_md); }
#endif /* ifndef OPENSSL_NO_SHA512 */
+