Convert CONFIG_SAMSUNG_ONENAND to Kconfig
[platform/kernel/u-boot.git] / include / u-boot / sha1.h
index 2634a29..09fee59 100644 (file)
@@ -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.
@@ -31,7 +30,7 @@ extern const uint8_t sha1_der_prefix[];
 typedef struct
 {
     unsigned long total[2];    /*!< number of bytes processed  */
-    unsigned long state[5];    /*!< intermediate digest state  */
+    uint32_t state[5];         /*!< intermediate digest state  */
     unsigned char buffer[64];  /*!< data block being processed */
 }
 sha1_context;