alg-sha256.h 357 B

1234567891011
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /* Copyright (C) 2020 Steffen Jaeckel <jaeckel-floss@eyet-services.de> */
  3. #include "u-boot/sha256.h"
  4. #define INCLUDE_sha256crypt 1
  5. #define SHA256_CTX sha256_context
  6. #define SHA256_Init sha256_starts
  7. #define SHA256_Update(c, i, l) sha256_update(c, (const void *)i, l)
  8. #define SHA256_Final(b, c) sha256_finish(c, b)