projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm: dts: imx8mq-evk: add phy-reset-gpios for fec1
[oweals/u-boot.git]
/
lib
/
sha1.c
diff --git
a/lib/sha1.c
b/lib/sha1.c
index 72c5dea14f092cdb2ce72e260fe3ac67d30dc2b7..8154e1e1350026c07271e08d6ef2864cc29e0fd6 100644
(file)
--- a/
lib/sha1.c
+++ b/
lib/sha1.c
@@
-1,11
+1,10
@@
+// SPDX-License-Identifier: LGPL-2.1
/*
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
* based on:
* FIPS-180-1 compliant SHA-1 implementation
*
* Copyright (C) 2003-2006 Christophe Devine
/*
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
* based on:
* FIPS-180-1 compliant SHA-1 implementation
*
* Copyright (C) 2003-2006 Christophe Devine
- *
- * SPDX-License-Identifier: LGPL-2.1
*/
/*
* The SHA-1 standard was published by NIST in 1993.
*/
/*
* The SHA-1 standard was published by NIST in 1993.
@@
-26,6
+25,11
@@
#include <watchdog.h>
#include <u-boot/sha1.h>
#include <watchdog.h>
#include <u-boot/sha1.h>
+const uint8_t sha1_der_prefix[SHA1_DER_LEN] = {
+ 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e,
+ 0x03, 0x02, 0x1a, 0x05, 0x00, 0x04, 0x14
+};
+
/*
* 32-bit integer manipulation macros (big endian)
*/
/*
* 32-bit integer manipulation macros (big endian)
*/