diff options
author | fang hui <hui.fang@nxp.com> | 2017-04-27 14:50:03 +0800 |
---|---|---|
committer | fang hui <hui.fang@nxp.com> | 2017-04-27 15:16:25 +0800 |
commit | 71dc860a61a936eca242c2badaad8815b352905b (patch) | |
tree | 32469833d886b05dae2ddee032a74bb8d8081a7b /lib/avb/libavb/avb_sha256.c | |
parent | 4dc1d71d0da1d07913ef91e60f54338db70caa69 (diff) | |
download | u-boot-imx-imx_v2015.04_brillo.zip u-boot-imx-imx_v2015.04_brillo.tar.gz u-boot-imx-imx_v2015.04_brillo.tar.bz2 |
MA-9530-2 [iot] Revet avb in ubootimx_v2015.04_brillo
Revert "libavb: upgrade avb"
This reverts commit 94734eeca56e8d1b9f1baedf67e16cd0397fc178.
Change-Id: I6eae3fa9579fb43fa6956c450011b230875d0a96
Diffstat (limited to 'lib/avb/libavb/avb_sha256.c')
-rw-r--r-- | lib/avb/libavb/avb_sha256.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/avb/libavb/avb_sha256.c b/lib/avb/libavb/avb_sha256.c index cdd143a..b1748eb 100644 --- a/lib/avb/libavb/avb_sha256.c +++ b/lib/avb/libavb/avb_sha256.c @@ -77,14 +77,9 @@ wv[h] = t1 + t2; \ } -static const uint32_t sha256_h0[8] = {0x6a09e667, - 0xbb67ae85, - 0x3c6ef372, - 0xa54ff53a, - 0x510e527f, - 0x9b05688c, - 0x1f83d9ab, - 0x5be0cd19}; +static const uint32_t sha256_h0[8] = {0x6a09e667, 0xbb67ae85, 0x3c6ef372, + 0xa54ff53a, 0x510e527f, 0x9b05688c, + 0x1f83d9ab, 0x5be0cd19}; static const uint32_t sha256_k[64] = { 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, @@ -121,8 +116,7 @@ void avb_sha256_init(AvbSHA256Ctx* ctx) { ctx->tot_len = 0; } -static void SHA256_transform(AvbSHA256Ctx* ctx, - const uint8_t* message, +static void SHA256_transform(AvbSHA256Ctx* ctx, const uint8_t* message, unsigned int block_nb) { uint32_t w[64]; uint32_t wv[8]; |