X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fu-boot%2Fsha1.h;h=283f103293628c9c25ca6764a43253718a0ee695;hb=44ab2d325b79d3ce6123495c5ce52410655a58fb;hp=b0d9ce9db9d575194a54e09ca3fe0920ac06fd82;hpb=e6ac28b60be2d670948332197862e314b7977177;p=u-boot diff --git a/include/u-boot/sha1.h b/include/u-boot/sha1.h index b0d9ce9db9..283f103293 100644 --- a/include/u-boot/sha1.h +++ b/include/u-boot/sha1.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: LGPL-2.1 */ /** * \file sha1.h * based from http://xyssl.org/code/source/sha1/ * 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. @@ -21,6 +20,9 @@ extern "C" { #define SHA1_SUM_POS -0x20 #define SHA1_SUM_LEN 20 +#define SHA1_DER_LEN 15 + +extern const uint8_t sha1_der_prefix[]; /** * \brief SHA-1 context structure