]> git.sur5r.net Git - u-boot/blobdiff - lib/rsa/rsa-checksum.c
Merge branch 'master' of git://git.denx.de/u-boot
[u-boot] / lib / rsa / rsa-checksum.c
index a9d096d455ae6e834c7546970faba39fc1b82a02..8d8b59f779a2bd7d5d9eeb413706c86b5307d9ff 100644 (file)
@@ -4,14 +4,18 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#ifndef USE_HOSTCC
 #include <common.h>
 #include <fdtdec.h>
-#include <rsa.h>
-#include <sha1.h>
-#include <sha256.h>
 #include <asm/byteorder.h>
 #include <asm/errno.h>
 #include <asm/unaligned.h>
+#else
+#include "fdt_host.h"
+#endif
+#include <u-boot/rsa.h>
+#include <u-boot/sha1.h>
+#include <u-boot/sha256.h>
 
 /* PKCS 1.5 paddings as described in the RSA PKCS#1 v2.1 standard. */