boringssl/crypto/fipsmodule/sha
David Benjamin 387b07b78d Rename 'md' output parameter to 'out' and add bounds.
We usually name output parameters 'out'. (Someone made a C++ templating
change in Chromium which messed up const-ness, saw the compile error,
and thought it was in MD5_Final.) Also tag the parameters with the
sizes.

Sadly, there's a bit of goofiness around SHA224_Final/SHA256_Final and
SHA384_Final/SHA512_Final, but they're just documentation anyway.
(Though it does touch on the mess that is sha->md_len which would be
nice to clear through somehow.)

Change-Id: I1918b7eecfe13f13b217d01d4414ac2358802354
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/35484
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2019-04-08 18:19:01 +00:00
..
asm Remove XOP code from sha512-x86_64.pl. 2018-12-04 01:10:32 +00:00
internal.h Fix undefined pointer casts in SHA-512 code. 2019-01-22 23:18:36 +00:00
sha1-altivec.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
sha1.c Rename 'md' output parameter to 'out' and add bounds. 2019-04-08 18:19:01 +00:00
sha256.c Rename 'md' output parameter to 'out' and add bounds. 2019-04-08 18:19:01 +00:00
sha512.c Rename 'md' output parameter to 'out' and add bounds. 2019-04-08 18:19:01 +00:00
sha_test.cc Fix undefined pointer casts in SHA-512 code. 2019-01-22 23:18:36 +00:00