]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib/sha256.c
gpio/hsdk: Depend on DM_GPIO instead of simple DM
[people/ms/u-boot.git] / lib / sha256.c
index b1085ea791759128dad36cc338bb8430d5389a32..7f5a3618d0da90686fe45eb3df5b671b2a64574d 100644 (file)
 #include <string.h>
 #endif /* USE_HOSTCC */
 #include <watchdog.h>
-#include <sha256.h>
+#include <u-boot/sha256.h>
+
+const uint8_t sha256_der_prefix[SHA256_DER_LEN] = {
+       0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86,
+       0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05,
+       0x00, 0x04, 0x20
+};
 
 /*
  * 32-bit integer manipulation macros (big endian)