Steffen Jaeckel | 26dd993 | 2021-07-08 15:57:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* Copyright (C) 2020 Steffen Jaeckel <jaeckel-floss@eyet-services.de> */ | ||||
3 | |||||
Steffen Jaeckel | 26dd993 | 2021-07-08 15:57:33 +0200 | [diff] [blame] | 4 | #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) |