Implement SHA256_{Update,Transform,Final}() directly in sha256.c.
authorjsing <jsing@openbsd.org>
Sat, 27 May 2023 18:39:03 +0000 (18:39 +0000)
committerjsing <jsing@openbsd.org>
Sat, 27 May 2023 18:39:03 +0000 (18:39 +0000)
commit73c48ca30eb702c5d9d477fcc013e71a4a2c5d18
tree1fdebb85c353f88662990ec3b45f7f77a85a0e31
parent5c37d65133eb6befb48c053ca9b6488786306217
Implement SHA256_{Update,Transform,Final}() directly in sha256.c.

m32_common.h is a typical OpenSSL macro horror show - copy the update,
transform and final functions from md32_common.h, manually expanding the
macros for SHA256. This will allow for further clean up to occur.

No change in generated assembly.

ok beck@ tb@
lib/libcrypto/sha/sha256.c