openssl: test: stop using deprecated SHA512_* functions

Complete the work from I91959eef65793f1092536f7e4c027839ce6cdf52 to
switch the test cases over to the OpenSSL 3 supported functions.

Tested: This was done in two steps to show that the conversion is
identical.  Test cases pass with conversion.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia2abc82f0b1282a52925a0eb9a2246d05f9b30cf
1 file changed