diff --git a/crypto/fipsmodule/sha/internal.h b/crypto/fipsmodule/sha/internal.h index 4c630a5d5c0..caeac4a976f 100644 --- a/crypto/fipsmodule/sha/internal.h +++ b/crypto/fipsmodule/sha/internal.h @@ -130,7 +130,7 @@ OPENSSL_EXPORT uint8_t *SHAKE256(const uint8_t *data, const size_t in_len, // success and 0 on failure. Calls SHA3_Init under the hood. OPENSSL_EXPORT int SHAKE_Init(KECCAK1600_CTX *ctx, size_t block_size); -// SHAKE_Init writes |len| bytes of finalized digest to |md|, returns 1 on +// SHAKE_Final writes |len| bytes of finalized digest to |md|, returns 1 on // success and 0 on failure. Calls SHA3_Final under the hood. OPENSSL_EXPORT int SHAKE_Final(uint8_t *md, KECCAK1600_CTX *ctx, size_t len);