File: sha2.h

package info (click to toggle)
openbgpd 7.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,868 kB
  • sloc: ansic: 45,814; sh: 11,429; yacc: 4,528; makefile: 300
file content (11 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Public domain
 * sha2.h compatibility shim
 */

#include "sha2_openbsd.h"

#define SHA512_CTX SHA2_CTX
#define SHA512_Init(ctx) SHA512Init(ctx)
#define SHA512_Update(ctx, buf, len) SHA512Update(ctx, (void *)buf, len)
#define SHA512_Final(digest, ctx) SHA512Final(digest, ctx)