Add missing newlines and section headers to sha.h
It isn't quite rendering correctly in the documentation generator.
Change-Id: I3b1d0447c6695df08783f301811114b72a047f27
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/79347
Auto-Submit: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/include/openssl/sha.h b/include/openssl/sha.h
index 8fe7af8..27435e5 100644
--- a/include/openssl/sha.h
+++ b/include/openssl/sha.h
@@ -26,6 +26,8 @@
// The SHA family of hash functions (SHA-1 and SHA-2).
+// SHA-1.
+
// SHA_CBLOCK is the block size of SHA-1.
#define SHA_CBLOCK 64
@@ -139,6 +141,7 @@
const uint8_t *data,
size_t num_blocks);
+
// SHA-384.
// SHA384_CBLOCK is the block size of SHA-384.
@@ -198,6 +201,7 @@
OPENSSL_EXPORT void SHA512_Transform(SHA512_CTX *sha,
const uint8_t block[SHA512_CBLOCK]);
+
// SHA-512-256
//
// See https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf section 5.3.6