1 /* 2 * Public domain 3 * sha2.h compatibility shim 4 */ 5 6 #include "sha2_openbsd.h" 7 #include <openssl/sha.h> 8 9 /* 10 #define SHA512_CTX SHA2_CTX 11 #define SHA512_Init(ctx) SHA512Init(ctx) 12 #define SHA512_Update(ctx, buf, len) SHA512Update(ctx, (void *)buf, len) 13 #define SHA512_Final(digest, ctx) SHA512Final(digest, ctx) 14 */ 15