blob: 62e7b9d5c094556b430ff39200aca1e177391d8b [file] [log] [blame]
Steffen Jaeckel229bd512021-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 Jaeckel229bd512021-07-08 15:57:33 +02004#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)