Provide and use sha{224,384}_{update,final} functions.
authorjsing <jsing@openbsd.org>
Sun, 9 Apr 2023 15:47:41 +0000 (15:47 +0000)
committerjsing <jsing@openbsd.org>
Sun, 9 Apr 2023 15:47:41 +0000 (15:47 +0000)
commit566e116797a9f827b8cf702d29f6754ce49fcbae
tree97b977457ef22f25636cf8d211cfed6c53382218
parent29f1d1681926c112a25e89e332f9738f68763d54
Provide and use sha{224,384}_{update,final} functions.

Improve readability and consistency by providing and using functions named
for the specific hash, rather than reusing the sha256/sha512 update and
final functions.

No functional change.

ok tb@
lib/libcrypto/evp/m_sha1.c