summaryrefslogtreecommitdiff
path: root/payloads/libpayload/crypto/sha1.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:49:34 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:20:57 +0000
commit3ff7bcf10e0d07f71ece45267d31ae1f83b04701 (patch)
tree8505dff0b98bee6a50fa10a5ec1a90536ec51fec /payloads/libpayload/crypto/sha1.c
parent99e0c7ddc1004b69df65483c029ee8915650223a (diff)
downloadcoreboot-3ff7bcf10e0d07f71ece45267d31ae1f83b04701.tar.xz
payloads: Drop unneeded empty lines
Change-Id: I6faeb7c783052edc4217d2d301dbb905e1fc6a19 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44605 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'payloads/libpayload/crypto/sha1.c')
-rw-r--r--payloads/libpayload/crypto/sha1.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/payloads/libpayload/crypto/sha1.c b/payloads/libpayload/crypto/sha1.c
index fce96a3463..5f54431a82 100644
--- a/payloads/libpayload/crypto/sha1.c
+++ b/payloads/libpayload/crypto/sha1.c
@@ -115,7 +115,6 @@ SHA1Transform(u_int32_t state[5], const u_int8_t buffer[SHA1_BLOCK_LENGTH])
a = b = c = d = e = 0;
}
-
/*
* SHA1Init - Initialize new context
*/
@@ -132,7 +131,6 @@ SHA1Init(SHA1_CTX *context)
context->state[4] = 0xC3D2E1F0;
}
-
/*
* Run your data through this.
*/
@@ -155,7 +153,6 @@ SHA1Update(SHA1_CTX *context, const u_int8_t *data, size_t len)
(void)memcpy(&context->buffer[j], &data[i], len - i);
}
-
/*
* Add padding and return the message digest.
*/