Steffen Jaeckel | 229bd51 | 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 | 229bd51 | 2021-07-08 15:57:33 +0200 | [diff] [blame] | 4 | #include "u-boot/sha256.h" |
5 | |||||
6 | #define INCLUDE_sha256crypt 1 | ||||
7 | |||||
8 | #define SHA256_CTX sha256_context | ||||
9 | #define SHA256_Init sha256_starts | ||||
10 | #define SHA256_Update(c, i, l) sha256_update(c, (const void *)i, l) | ||||
11 | #define SHA256_Final(b, c) sha256_finish(c, b) |