summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/sha256-mb/sha256_mb_ctx.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-01-24 19:10:15 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-15 23:26:46 +0800
commitee689d164abb3ae6951f6c5e8c78f9212a265449 (patch)
tree8a80cf06534ecd463a44b7c0ea8dad938b29d691 /arch/x86/crypto/sha256-mb/sha256_mb_ctx.h
parent7a95cbd9a984644744dd32a0195b22bf0ef714f9 (diff)
downloadop-kernel-dev-ee689d164abb3ae6951f6c5e8c78f9212a265449.zip
op-kernel-dev-ee689d164abb3ae6951f6c5e8c78f9212a265449.tar.gz
crypto: sha256-mb - remove HASH_FIRST flag
The HASH_FIRST flag is never set. Remove it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/sha256-mb/sha256_mb_ctx.h')
-rw-r--r--arch/x86/crypto/sha256-mb/sha256_mb_ctx.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/crypto/sha256-mb/sha256_mb_ctx.h b/arch/x86/crypto/sha256-mb/sha256_mb_ctx.h
index aabb303..7c43254 100644
--- a/arch/x86/crypto/sha256-mb/sha256_mb_ctx.h
+++ b/arch/x86/crypto/sha256-mb/sha256_mb_ctx.h
@@ -57,11 +57,9 @@
#include "sha256_mb_mgr.h"
#define HASH_UPDATE 0x00
-#define HASH_FIRST 0x01
-#define HASH_LAST 0x02
-#define HASH_ENTIRE 0x03
-#define HASH_DONE 0x04
-#define HASH_FINAL 0x08
+#define HASH_LAST 0x01
+#define HASH_DONE 0x02
+#define HASH_FINAL 0x04
#define HASH_CTX_STS_IDLE 0x00
#define HASH_CTX_STS_PROCESSING 0x01
OpenPOWER on IntegriCloud