diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2016-05-05 11:40:42 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-05 19:16:50 -0700 |
commit | 8321eed87bfe9388b12cfb4656498aefafc11a71 (patch) | |
tree | 451f600da72e6ea902fb572573188f33b3780e98 | |
parent | 9b815745fa3329481de7dbed6adcb4106bbb9a78 (diff) | |
download | chrome-ec-8321eed87bfe9388b12cfb4656498aefafc11a71.tar.gz |
common: Drop unused data structure
SHA256_digestinfo[] is never used but declared static and const.
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
BRANCH=none
BUG=none
TEST=compile tested
Change-Id: I0bcf419bf63fac3e6eadd9efad10fc05b7be9158
Reviewed-on: https://chromium-review.googlesource.com/342484
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | common/sha256.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/sha256.c b/common/sha256.c index e8f9f185b3..7e74a7f963 100644 --- a/common/sha256.c +++ b/common/sha256.c @@ -104,14 +104,6 @@ static const uint32_t sha256_k[64] = { 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2}; -#define SHA256_DIGESTINFO_LEN 19 - -static const uint8_t SHA256_digestinfo[] = { - 0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, - 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, - 0x00, 0x04, 0x20 -}; - void SHA256_init(struct sha256_ctx *ctx) { int i; |