blob: 47e45730cc0bb80d5ffc598c162f698633a57637 [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
Steffen Jaeckel26dd9932021-07-08 15:57:33 +02004#include "u-boot/sha512.h"
5
6#define INCLUDE_sha512crypt 1
7
8#define SHA512_CTX sha512_context
9#define SHA512_Init sha512_starts
10#define SHA512_Update(c, i, l) sha512_update(c, (const void *)i, l)
11#define SHA512_Final(b, c) sha512_finish(c, b)