diff options
author | Gary R Hook <gary.hook@amd.com> | 2017-07-25 22:21:43 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-04 04:27:44 +0300 |
commit | 5060ffc97bc6fdd31595b3ecbc027b0a8df94b5c (patch) | |
tree | 229f3e3163e3e29157551cbe9b04aaf56343d953 /drivers/crypto/ccp/ccp-crypto.h | |
parent | 7f7216cfaf3f07a41fe6e88b779bdc9690c2d515 (diff) | |
download | linux-5060ffc97bc6fdd31595b3ecbc027b0a8df94b5c.tar.xz |
crypto: ccp - Add XTS-AES-256 support for CCP version 5
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-crypto.h')
-rw-r--r-- | drivers/crypto/ccp/ccp-crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/ccp-crypto.h b/drivers/crypto/ccp/ccp-crypto.h index 67c7620029e3..b9fd090c46c2 100644 --- a/drivers/crypto/ccp/ccp-crypto.h +++ b/drivers/crypto/ccp/ccp-crypto.h @@ -99,7 +99,7 @@ struct ccp_aes_ctx { struct scatterlist key_sg; unsigned int key_len; - u8 key[AES_MAX_KEY_SIZE]; + u8 key[AES_MAX_KEY_SIZE * 2]; u8 nonce[CTR_RFC3686_NONCE_SIZE]; |