]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/u-boot/rsa-checksum.h
2 * Copyright (c) 2013, Andreas Oetken.
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef _RSA_CHECKSUM_H
8 #define _RSA_CHECKSUM_H
12 #include <u-boot/sha1.h>
13 #include <u-boot/sha256.h>
15 extern const uint8_t padding_sha256_rsa4096
[];
16 extern const uint8_t padding_sha256_rsa2048
[];
17 extern const uint8_t padding_sha1_rsa2048
[];
19 void sha256_calculate(const struct image_region region
[], int region_count
,
21 void sha1_calculate(const struct image_region region
[], int region_count
,