blob: 93b6109faeffab3ddf2685efc40065deb7dca29a [file] [log] [blame]
Steffen Jaeckel26dd9932021-07-08 15:57:33 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/* Copyright (C) 2020 Steffen Jaeckel <jaeckel-floss@eyet-services.de> */
3
4#ifndef USE_HOSTCC
5#include "common.h"
6#else
7#include <string.h>
8#endif
9
10#include "u-boot/sha512.h"
11
12#define INCLUDE_sha512crypt 1
13
14#define SHA512_CTX sha512_context
15#define SHA512_Init sha512_starts
16#define SHA512_Update(c, i, l) sha512_update(c, (const void *)i, l)
17#define SHA512_Final(b, c) sha512_finish(c, b)