forked from cryptodev-linux/cryptodev-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
265 lines (138 loc) · 6.61 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
Version 1.12 (released 2021-02-09)
* Fix compilation issues against Linux kernel 5.9 and 5.11
Version 1.11 (released 2020-7-28)
* Fix Module loading with Linux kernel <= 5.0
* Fix compilation issues against Linux kernel >= 5.5
* Fix compilation issues against Linux kernel >= 5.8
* enable support for TLS1.1 - AES128-SHA1 and AES256-SHA1
* fix cipher-aead-strp dts buffer alignment issue
* remove VLA usage from authenc.c
Version 1.10 (released 2018-12-20)
* Fix compilation issues against Linux kernel >= 4.11 and gcc >= 5
* Add CIOCCPHASH ioctl
* Fix tests build for OpenSSL 1.1
* Convert to new AEAD kernel crypto interface
* A variety of bug fixes
Version 1.9 (released 2017-04-22)
* fix benchmarks linking
* fix Makefile to allow parallel make with -j option
* use Linux kernel conventions for Makefile variables
* for consistency, use $(...) instead of ${...} in makefiles
* fix clean-up on error path for crypto_create_session
* remove code duplication in cryptodev_hash_init
* add separate target for building tests
* fix destination for staged installs
* add install target for tests
* fix comment typo
* avoid calls to kmalloc on hotpaths
* avoid redundant checks in cryptodev_hash_deinit
* Fix test compile time warnings
* Support skcipher in addition to ablkcipher API
* Adjust to recent user page API changes
* Adjust to another change in the user page API
* fix issues with install target
* setting KERNEL_DIR is not necessary to build tests
* fix ignored SIGALRM signals on some platforms
* fix incorrect return code in case of error from openssl_cioccrypt
* remove not used local variables
* fix warnings of "implicit declaration of function" in async_speed
* rename header file to clarify purpose
* use buf_align macro to reduce code duplication
* avoid implicit conversion between signed and unsigned char
* do more strict code checking to avoid maintenance issues
* adjust to API changes in kernel >=4.10
* zc: Use the power of #elif
* Fix ablkcipher algorithms usage in v4.8+ kernels
Version 1.8 (released 2015-11-28)
* Fixed compilation against linux-3.19.
* Tests: cixed arg passing to CC in implicit rule.
* Fix tag printing in cipher-gcm test by Fridolin Pokorny.
* Fix compilation against linux 4.3 by Gustavo Zacarias.
Version 1.7 (released 2015-02-07)
* Added support for composite AEAD keys by Cristian Stoica.
* Added support for sysctl to modify verbosity by Nikolaos Tsakalakis.
* Several bugfixes by Cristian Stoica.
* When a driver requires aligned data but unaligned are provided, then
zero copy is disabled to prevent driver failing to encrypt.
* Compatibility to kernel version 3.13 and above by Cosmin Paraschiv.
* Various checkpatch.pl fixes.
* Introduced ddebug, dinfo, dwarning and derr macros wrapping dprintk.
* Improved support for cross-compiling.
* Hmac_comp test has become more picky when checking results.
* Fixed allocated resource cleanup in error case, patch by Cristian Stoica.
* Buffer size allocation fixup for AEAD modes by Nikos Mavrogiannopoulos.
* Support for composite AEAD keys added by Cristian Stoica.
* Fixed tag and dsl_len calculation for AEAD ciphers, patch by Cristian Stoica.
* Documentation updates by Nikos Mavrogiannopoulos.
Version 1.6 (released 2013-03-20)
* Added modules_install target in Makefile
* Added SHA224. Patch by Yashpal Dutta.
* Asynchronous operations will not be scheduled if zero copy is disabled.
* Asynchronous operations are disabled by default, unless -DENABLE_ASYNC
is enabled on Makefile.
Version 1.5 (released 2012-08-04)
* Fixes in AEAD support. Patches by Jaren Johnston.
* Simplifications in memory locking. Patch by Phil Sutter.
* Allow empty plaintext and authenticated data in AEAD ciphers.
Patch by Jaren Johnston.
Version 1.4 (released 2012-03-15)
* Correctly report hw accelerated ciphers.
Version 1.3 (released 2012-02-29)
* Return EBADMSG instead of ECANCELED on tag verification failure in
authenc modes.
* COP_FLAG_RESET can be combined with COP_FLAG_UPDATE for efficiency.
* Added more test cases.
* Automatically set public permissions for the device
Version 1.2 (released 2012-02-24)
* In kernels that do not distinguish between hw accelerated ciphers or
not set the SIOP_FLAG_KERNEL_DRIVER_ONLY flag based on driver name.
* camelia was renamed to camellia.
* Added COP_FLAG_RESET to allow resetting the state in multi-update.
* Corrected issue in ARM processors with mv_cesa.
Version 1.1 (released 2012-02-20)
* Fixed alignment issue in speed.c
* Defined HASH_MAX_LEN in cryptodev.h
* CIOCGSESSINFO ioctl() sets the SIOP_FLAG_KERNEL_DRIVER_ONLY flag if the
driver is only available through kernel driver (and is not just software
cipher).
* Added new encryption ioctl, CIOCAUTHCRYPT, which combines authentication
and encryption. Operates in AEAD, TLS and SRTP modes (the API might change
in later versions).
Version 1.0 (released 2011-04-12)
* Several fixes in the included examples. Based on patches by Vladimir
Zapolskiy.
Version 0.9 (released 2011-02-11)
* Added additional test tools:
- sha_speed does performance testing of SHA1 and SHA256
- hashcrypt_speed additionally encrypts with AES128 and AES256
* Allow updating the IV in userspace via the COP_FLAG_WRITE_IV flag.
* Export the alignmask in an OCF compatible way.
* Fix for kernel crash on passing incorrect session ID.
* Added CIOCGSESSINFO to export additional information for each session.
Version 0.8 (released 2010-11-06)
* Made cryptodev aware of alignment constraints.
* Added support for CRYPTO_AES_ECB.
* Added asynchronous operation support using
CIOCASYNCCRYPT, CIOCASYNCFETCH ioctls and poll().
Version 0.7 (released 2010-10-08)
* Added COP_FLAG_FINAL to make multi-update more efficient.
* Added CRIOGET_NOT_NEEDED definition to allow users of the API to
distinguish from the bare OpenBSD API that requires the CRIOGET.
Version 0.6 (released 2010-09-16)
* multi-update support for hash calculation using the new flag
COP_FLAG_UPDATE.
* Relicensed under GPLv2.
* Added AES-CTR.
* Corrected fallback to non-zero copy when referenced pages were
not writable.
Version 0.5 (released 2010-07-06)
* Corrected issue with zero copy on multiple pages.
* Fallback to normal operation if user pages cannot be mapped.
Version 0.4 (released 2010-07-03)
* Internal engine supports operations with zero copy from user space.
Version 0.3 (released 2010-06-19)
* Corrected bug when initializing unsupported algorithms.
Version 0.2 (released 2010-06-18)
* Added compat_ioctl() to allow working on systems where userspace is 32bits
and kernel is operating in 64bit mode (Phil Sutter)
* Added several sanity checks to input.