blob: 8179e5e6c7ef7d0b3b1fc2f475aea8ff7ee7ffb2 [file] [log] [blame]
Sergio Gonzalez Monroy99214ce2017-11-26 15:25:43 +00001From f8184af94214f1c76c0ffda45b9de9243aea287c Mon Sep 17 00:00:00 2001
2From: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
3Date: Tue, 17 Oct 2017 20:05:59 +0100
4Subject: [PATCH] crypto/qat: align capabilities
5
6Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
7---
8 drivers/crypto/qat/qat_crypto_capabilities.h | 28 ++++++++++++++--------------
9 1 file changed, 14 insertions(+), 14 deletions(-)
10
11diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h
12index d8d3fa1..00f8056 100644
13--- a/drivers/crypto/qat/qat_crypto_capabilities.h
14+++ b/drivers/crypto/qat/qat_crypto_capabilities.h
15@@ -48,9 +48,9 @@
16 .increment = 1 \
17 }, \
18 .digest_size = { \
19- .min = 20, \
20+ .min = 12, \
21 .max = 20, \
22- .increment = 0 \
23+ .increment = 1 \
24 }, \
25 .iv_size = { 0 } \
26 }, } \
27@@ -69,9 +69,9 @@
28 .increment = 1 \
29 }, \
30 .digest_size = { \
31- .min = 28, \
32+ .min = 14, \
33 .max = 28, \
34- .increment = 0 \
35+ .increment = 1 \
36 }, \
37 .iv_size = { 0 } \
38 }, } \
39@@ -90,9 +90,9 @@
40 .increment = 1 \
41 }, \
42 .digest_size = { \
43- .min = 32, \
44+ .min = 16, \
45 .max = 32, \
46- .increment = 0 \
47+ .increment = 1 \
48 }, \
49 .iv_size = { 0 } \
50 }, } \
51@@ -111,9 +111,9 @@
52 .increment = 1 \
53 }, \
54 .digest_size = { \
55- .min = 48, \
56+ .min = 24, \
57 .max = 48, \
58- .increment = 0 \
59+ .increment = 1 \
60 }, \
61 .iv_size = { 0 } \
62 }, } \
63@@ -132,9 +132,9 @@
64 .increment = 1 \
65 }, \
66 .digest_size = { \
67- .min = 64, \
68+ .min = 32, \
69 .max = 64, \
70- .increment = 0 \
71+ .increment = 1 \
72 }, \
73 .iv_size = { 0 } \
74 }, } \
75@@ -153,9 +153,9 @@
76 .increment = 1 \
77 }, \
78 .digest_size = { \
79- .min = 16, \
80+ .min = 12, \
81 .max = 16, \
82- .increment = 0 \
83+ .increment = 1 \
84 }, \
85 .iv_size = { 0 } \
86 }, } \
87@@ -174,9 +174,9 @@
88 .increment = 0 \
89 }, \
90 .digest_size = { \
91- .min = 16, \
92+ .min = 12, \
93 .max = 16, \
94- .increment = 0 \
95+ .increment = 1 \
96 }, \
97 .aad_size = { 0 }, \
98 .iv_size = { 0 } \
99--
1002.9.5
101