Omit sha512_block_data_order() prototype when assembly is not being used.
authorjsing <jsing@openbsd.org>
Tue, 11 Apr 2023 10:26:29 +0000 (10:26 +0000)
committerjsing <jsing@openbsd.org>
Tue, 11 Apr 2023 10:26:29 +0000 (10:26 +0000)
commit802c7807e5d0fd2406e24d9356fa285320e98a0a
treedb70dcc1d027afd5543c44d9e8d353f80d375cbd
parentac509225e2dfd47049201903c92e476a606d0948
Omit sha512_block_data_order() prototype when assembly is not being used.

In the case that the pure C implementation of SHA512 is being used, the
prototype is unnecessary as the function is declared static and exists
in dependency order. Simply omit the prototype rather than using #ifndef
to toggle the static prefix.

ok tb@
lib/libcrypto/sha/sha512.c