e21d41adeb
Historically, sha.h included both SHA-1 and SHA-2 functions. But SHA-1 functions mostly shouldn't be used now, and it's useful to be able to audit at the level of header names in some contexts. Therefore move SHA-2 things into a new sha2.h. In order not to break everything, sha.h now includes sha2.h so no changes are needed in existing callers. Change-Id: I68d5e991f58a1c74ca377ba017caaff356acc870 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/80327 Commit-Queue: David Benjamin <davidben@google.com> Auto-Submit: Adam Langley <agl@google.com> Reviewed-by: David Benjamin <davidben@google.com>