diff options
author | Steve Cornelius <steve.cornelius@freescale.com> | 2013-08-01 20:06:05 -0700 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-20 14:28:39 -0600 |
commit | 4f9e1f5c2983895457de49d36db521f61f02ca12 (patch) | |
tree | ad662f532bbd75be02fe47bd4cb3098c9cacc4aa /drivers/crypto | |
parent | 75eeb4d8f306c8014c1a289633bc70a7b4d25219 (diff) |
MLK-9710-13 Correct size in BLOB_OVERHEAD definition
Increase the size of BLOB_OVERHEAD.
Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
(cherry picked from commit 32aced88dedf1c1c11170d125d3cc546ffefb366)
Signed-off-by: Dan Douglass <dan.douglass@freescale.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/caam/sm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/caam/sm.h b/drivers/crypto/caam/sm.h index 2f97f69120f6..51020de82edb 100644 --- a/drivers/crypto/caam/sm.h +++ b/drivers/crypto/caam/sm.h @@ -31,7 +31,8 @@ */ #define AES_BLOCK_PAD(x) ((x % 16) ? ((x >> 4) + 1) << 4 : x) -#define BLOB_OVERHEAD (16 + 8) /* BKEK + MAC tag storage in any blob */ +/* Define space required for BKEK + MAC tag storage in any blob */ +#define BLOB_OVERHEAD (32 + 16) /* Keystore maintenance functions */ void sm_init_keystore(struct device *dev); |