Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629605 > unrolled thread

[PATCH 3/9] crypto: ixp4xx - Use IPAD/OPAD constant

Started byCorentin Labbe <clabbe.montjoie@gmail.com>
First post2017-04-24 16:20 +0200
Last post2017-04-24 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/9] crypto: ixp4xx - Use IPAD/OPAD constant Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-04-24 16:20 +0200

#1629605 — [PATCH 3/9] crypto: ixp4xx - Use IPAD/OPAD constant

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2017-04-24 16:20 +0200
Subject[PATCH 3/9] crypto: ixp4xx - Use IPAD/OPAD constant
Message-ID<tzN0l-83T-1@gated-at.bofh.it>
This patch simply replace all occurrence of HMAC IPAD/OPAD value by their
define.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 drivers/crypto/ixp4xx_crypto.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/crypto/ixp4xx_crypto.c b/drivers/crypto/ixp4xx_crypto.c
index 771dd26..3b7680c 100644
--- a/drivers/crypto/ixp4xx_crypto.c
+++ b/drivers/crypto/ixp4xx_crypto.c
@@ -90,8 +90,6 @@
 #define CTL_FLAG_PERFORM_AEAD	0x0008
 #define CTL_FLAG_MASK		0x000f
 
-#define HMAC_IPAD_VALUE   0x36
-#define HMAC_OPAD_VALUE   0x5C
 #define HMAC_PAD_BLOCKLEN SHA1_BLOCK_SIZE
 
 #define MD5_DIGEST_SIZE   16
-- 
2.10.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web