Skip to contentSkip to conversation

crypto/qat: fix AES-XTS capabilities

PATCH Applied Adam Dybkowski 3 participants 3 messages Jun 26, 2020 – Jul 4, 2020 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto/qat: fix AES-XTS capabilities

This patch fixes the increment field of the AES-XTS cipher key size.

Fixes 7d5ef3bb32cd ("crypto/qat: support XTS")
---
 drivers/crypto/qat/qat_sym_capabilities.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/qat/qat_sym_capabilities.h +1 -1
index ff691ce35..d426d9ac2 100644
@@ -419,7 +419,7 @@
 				.key_size = {				\
 					.min = 32,			\
 					.max = 64,			\
-					.increment = 0			\
+					.increment = 32			\
 				},					\
 				.iv_size = {				\
 					.min = 16,			\
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: Dybkowski, AdamX <[email protected]>
Sent: Friday, June 26, 2020 12:24 PM
To: [email protected]; Trahe, Fiona <[email protected]>; [email protected]
Cc: Dybkowski, AdamX <[email protected]>; [email protected]
Subject: [PATCH] crypto/qat: fix AES-XTS capabilities

Quoted 7 lines

This patch fixes the increment field of the AES-XTS cipher key size.

Fixes 7d5ef3bb32cd ("crypto/qat: support XTS")