diff --git a/crypto/fipsmodule/sha/sha256.c b/crypto/fipsmodule/sha/sha256.c index c187c4a18..afa0aa363 100644 --- a/crypto/fipsmodule/sha/sha256.c +++ b/crypto/fipsmodule/sha/sha256.c @@ -161,6 +161,7 @@ int SHA256_Final(uint8_t out[SHA256_DIGEST_LENGTH], SHA256_CTX *c) { // TODO(davidben): Add an assert and fix code to match them up. return sha256_final_impl(out, c); } + int SHA224_Final(uint8_t out[SHA224_DIGEST_LENGTH], SHA256_CTX *ctx) { // SHA224_Init sets |ctx->md_len| to |SHA224_DIGEST_LENGTH|, so this has a // smaller output.