This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
CHANGELOG
426 lines (308 loc) · 13.7 KB
/
CHANGELOG
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
Changes from 20161009:
* CAESAR tweaks: acorn, cloc+silc, deoxys, ketje, morus, norx.
* New *keyak* reference implementation.
* New *jambu* naming.
* New SHA-2 implementations from Dolbeau.
* New crypto_dh/gls254prot/opt implementation.
Changes from 20160910:
* New crypto_dh/k298.
* New crypto_dh/gls254/opt implementation.
Changes from 20160806:
* Bug fixes for *keyakv2/ARM*.
* Many more compiler options.
Beware that this version will take considerably longer to run than the previous version.
Changes from 20160731:
* hs1siv{,lo}v2: faster implementations from Romain Dolbeau.
* Various AVX512 implementations: fixes from Romain Dolbeau.
* stribob192r2/neon/wbob_pineon.c: fixes.
* *poet* fast implementations: fixes.
Changes from 20160724:
* trivia0v2: faster implementation (sse4).
* hs1*v2: bug fixes and faster implementations.
* aeadaes*ocbtaglen128v1: bug fixes in dolbeau implementations.
* pi*v2: bug fixes in goptv implementations.
* *keyakv2: bug fixes in several implementations.
* simonjambu*: bug fixes.
* aarch64 PMCCNTR_EL0 support from Romain Dolbeau.
* aarch64 CNTVCT_EL0 preliminary support.
Changes from 20160715:
* New crypto_aead/*jambu*v2.
* Fixes for crypto_aead/pi*v2.
* Fixes for crypto_aead/hs1*.
* TWEAK_LOW_LATENCY for crypto_aead/norx*.
* Initial aarch64 support from Romain Dolbeau.
* Prioritize scaling_setspeed over scaling_max_freq in reports.
Changes from 20141014:
* Updated poly1305/moon.
* Updated nistp256/wbl.
* New and updated crypto_stream/*/dolbeau.
* New reduced-round picipher.
Changes from 20141010:
* Updated ed448goldilocks implementations.
* Added nistp256/mj32 implementation.
* Fixed nistp256/wbl implementation.
* Fixed chacha*/moon implementation.
* New and updated blake*/moon implementations.
Changes from 20140924:
* New crypto_aead/aezv3.
* New blake2b/moon implementation.
* New and updated chacha*/moon implementations.
* Updated ntruees* checksums.
* New and updated paeq* implementations.
* Bug fix for *keyak, and optimized lakekeyak implementations.
* Upgraded to GMP 6.0.0.
Changes from 20140910:
* Portability fixes for */gil.
* Updated kummer/avx.
* Updated ntruees*.
Changes from 20140907:
* New crypto_hash/shake256 and crypto_stream/rijn256ctr, which don't
seem to work; similarly crypto_hash/keccakc512/gil. Please test
your code in SUPERCOP before submission.
* crypto_stream/*/dolbeau fixes.
* New crypto_dh/ed448goldilocks and crypto_sign/ed448goldilocks.
* New implementations of crypto_scalarmult/kummer.
* New compiler lines.
* data-run now removes previous implementations of a primitive from
the .a file when it's integrating a faster new implementation.
Changes from 20140905:
* ppae: tweaks, but still doesn't work.
* elmd*: portability fix.
* hs1*: "a couple of small bugs" fixed.
* omd*: optimized implementations.
* scream*, iscream*: NEON implementations.
* tiaoxinv1: "aesnim" implementation.
* Many more checksums.
Changes from 20140622:
* Added gls254prot, copying the "prot" implementation from gls254.
Please don't imitate this approach---it's just a temporary
workaround for SUPERCOP not yet knowing how to separately benchmark
protected implementations.
* aes256ctr: new openssl and dolbeau implementations.
* aes256gcmv1: new cryptopp and dolbeau implementations.
* calicov8: define CRYPTO_NOOVERLAP; now compiles.
* chacha20: new dolbeau implementation.
* elmd*: clean up definitions of u32 etc. (I still see trouble with
clang compatibility on some machines; will look at this more.)
* hs1sivhiv1: new dolbeau implementation.
* joltikneq*: new vperm implementations.
* salsa20: new dolbeau implementation.
* sphincs256: protect against smlen<CRYPTO_BYTES.
Changes from 20140529:
* New crypto_sign/sphincs256 and crypto_sign/ntrumls*.
* New tiaoxinv1/table.
* Updates to aescopav1/ref, *avalanche*, stribob192r1/xmm,
aes128poetv1*, ppaev11/ref, joltikeq9696v1, kiasu*, cmcc*,
crypto_scalarmult/kummer/neon.
* Data flow from "used" (marking some primitives as subroutines used
by other implementations) to "integrate". This forces some one-time
recompilation but simplifies future updates of the subroutine list.
Changes from 20140529:
* Minor fixes to paeq, cmcc, hs1sivhiv1.
* aes128poet: Remove gf128mul at submitter's request. Add AES-NI
implementations.
* More clang options. (But only a few options per architecture: we
don't want benchmarks to run forever. People who want to do heavy
exploration of different optimization options should do it on their
own and submit asm.)
Many machines are chugging along on 20140525 now.
Changes from 20140517:
* crypto_aead: Updates to aegis, aesjambu, elmd500, enchilada, lac,
morus, ppae, raviyoyla.
* crypto_dh: Updates to gls254, kummer.
* crypto_sign: Updates to 3icp, pflash1, rainbow*, tts6440.
* Everything should work on big-endian machines now; but I still have
to test this.
Changes from 20140517:
Many, many, many crypto_aead updates.
Miguel Montes points out that SUPERCOP doesn't work on big-endian
machines with the new checksum system, so for the moment please run it
only on little-endian machines. This will be fixed in the next release.
Changes from 20140514:
* crypto_aead additions: aegis*, deoxys*, joltik*, kiasu* (with the
submitted binaries removed), lacv11, tiaoxinv1.
* Updated crypto_aead/ifeed* and crypto_aead/morus*. Also added many
checksums from earlier submissions.
* New crypto_encrypt/ntru*{401,439,593,743}*.
* Another attempt to fix pi64cipher256v1/opt*.
* Touch blake2b/blake2s implementations that needed -DSUPERCOP so
that they're recompiled.
Changes from 20140425:
* Allow crypto_aead_decrypt to use clen bytes as temporary storage,
and allow forgeries to set mlen arbitrarily.
* Add ascon*,calicov8,norx*,omdsha*,ppaev11*,stribob*,trivia* in
crypto_aead. Update pi64cipher opt* implementations.
* Declare randombytes in try.h to suppress warnings.
* Speed up crypto_verify/try.c.
* Define SUPERCOP for all compilation, not just measurements.
Changes from 20130419:
This is a major update, with an almost completely new test system that
checks memory safety and purity much more comprehensively than the old
system. Two examples:
crypto_dh ecfp256i tryfails ... crypto_dh_keypair writes after output
crypto_dh hecfp64e2i tryfails ... crypto_dh is nondeterministic
One specific issue is that previously there was an ambiguity in the API:
it wasn't clear whether the crypto_* implementation was responsible for
handling overlap ("aliasing") between inputs and outputs (e.g., someone
puts a temporary key into a buffer and then overwrites it with
ciphertext), or whether the user was responsible for avoiding overlap.
This is now generally resolved in favor of the first choice, safer for
the user. There are a few exceptions, for example to allow a memset+xor
implementation strategy for crypto_stream.
Some previous submissions fail the new tests. I modified some of these
(but not all), often (but not always) enough to pass the tests, perhaps
without changing the semantics otherwise. I've also touched most of the
ARM asm software to make it work on machines that default to Thumb 2.
Implementors are advised to carefully check the SUPERCOP versions of
their software. Directories with new or updated implementations:
crypto_core/aes128decrypt
crypto_core/aes128encrypt
crypto_core/aes256decrypt
crypto_core/aes256encrypt
crypto_core/salsa2012/armneon2
crypto_core/salsa208/armneon2
crypto_core/salsa20/armneon2
crypto_hashblocks/sha256/arm11
crypto_hash/blake2b
crypto_hash/cubehash1632
crypto_hash/cubehash512
crypto_hash/groestl256/arm11
crypto_hash/keccak/arm11
crypto_hash/round3jh256/arm11
crypto_hash/round3jh256/neon2
crypto_hash/round3jh512/neon2
crypto_hash/skein512256/neon2
crypto_stream/aes128ctr/neon
crypto_stream/chacha12/goll_gueron
crypto_stream/chacha12/krovetz
crypto_stream/chacha12/moon
crypto_stream/chacha20/goll_gueron
crypto_stream/chacha20/krovetz
crypto_stream/chacha20/moon
crypto_stream/chacha8/goll_gueron
crypto_stream/chacha8/krovetz
crypto_stream/chacha8/moon
crypto_stream/salsa2012
crypto_stream/salsa208
crypto_stream/salsa20
crypto_onetimeauth/poly1305/moon
crypto_onetimeauth/poly1305/neon2
crypto_aead (I'll say more about this on crypto-competitions)
crypto_scalarmult/curve25519
crypto_scalarmult/kummer
crypto_dh/claus/gmp
crypto_dh/claus/ntl
crypto_dh/claus/openssl
crypto_dh/ecfp256e
crypto_dh/ecfp256h
crypto_dh/ecfp256i
crypto_dh/ecfp256q
crypto_dh/ecfp256s
crypto_dh/gls254
crypto_dh/hec*
crypto_dh/kum*
crypto_dh/sclaus*
crypto_sign/donald2048
crypto_sign/ecdonaldp256
crypto_sign/ed25519
crypto_sign/pass769
crypto_sign/pass863
crypto_sign/pflash1
crypto_sign/rainbow
The new test system also produces new checksums, so the usual speedup
from running "data-do" rather than "do" doesn't apply to this upgrade:
running tests will take a while. New results will be online eventually.
All implementors, even those not listed above, are encouraged to check
whether their software is successfully compiling, passing the new tests,
and achieving the expected speeds.
SUPERCOP users with small disks should note that crypto_aead is a rather
large directory and is going to end up bigger than crypto_hash. I've
been equipping my small benchmarking machines with 32GB SD cards (or
larger USB sticks) formatted with 10485760 inodes (about what you get by
default for a 160GB disk); this should be adequate for the moment. The
big SUPERCOP redesign coming up will instead have files stored on a
central cluster, so benchmarking machines won't need much storage.
Changes from supercop-20130126:
* New crypto_sign/lattisigns512.
* New crypto_dh/gls254.
* New crypto_dh/kumfp{127,128}g.
* New crypto_dh/hecfp{127i,128bk,128fkt,128i}.
Note to implementors: All .c files in the directory are separately
compiled and linked together, so if you have an include file that isn't
supposed to be separately compiled then you have to label it as .h,
.incl, etc., not .c.
Changes from supercop-20120928:
* Data collection centralized in machineinfo/do.
* Collect "cpb" (Turbo Core) status.
* New BLAKE2 hash function.
Changes from supercop-20120908:
* New neon-vperm implementation of Groestl-256.
* New NEON implementation of Curve25519.
* Various NEON-related cleanups.
There's no reason to re-run except on ARMs with NEON.
Changes from supercop-20120812:
* New crypto_verify_8, replacing the ad-hoc crypto_verify_8
implementations in various crypto_auth implementations.
* New implementations of siphash24.
* New NEON implementations of aes128ctr, salsa20, poly1305.
Changes from supercop-20120717:
* New groestl256/neon-bitslice implementation.
* Updated crypto_stream/chacha*/krovetz implementations.
* New crypto_auth/siphash*/sandy implementations.
* New crypto_auth/pyrhash (Python randomized hash).
Changes from supercop-20120709:
* Updated implementations of groestl256 and groestl512.
* Tweaked crypto_stream/chacha*/krovetz for portability.
I've also drafted
http://bench.cr.yp.to/cpucycles/sheevaplug.html
with cycle-counting instructions for the SheevaPlug.
Changes from supercop-20120704:
* New groestl256/neon-table implementation.
* New chacha*/krovetz implementations.
* Updated clang compiler lines.
There's also documentation of the crypto_auth API, and preliminary
results (not linked anywhere yet):
http://bench.cr.yp.to/results-auth.html
http://bench.cr.yp.to/call-auth.html
Changes from supercop-20120525:
* New clang compiler lines.
* Improved portability of arm11 implementations: removed NEON FPU
declarations.
* Added siphash24 and siphash48 (under crypto_auth, which will be
joining the benchmarking web pages soon).
Changes from supercop-20120521:
* "sh data-do" (but not yet "sh do") protects against compiler bugs
that produce endless compiler error messages.
* groestl256/thumb* is now marked as armeabi/thumb architecture.
Changes from supercop-20120414:
* New Groestl implementations.
* New Keccak implementations.
This could be the last chance to provide data to NIST to help them with
the SHA-3 selection; if you're behind on benchmark runs then this is a
great moment to catch up. Thanks to everyone who has contributed!
Changes from supercop-20120329:
* Ported blake256/vect128-neon/*.s to hard-float.
* Fixed missing quotes in CRYPTO_VERSION for bblake512.
* Replaced keccak*/avr8asm with avr8asmc and avr8asmf.
* Added fugue2.
* Added many missing */architectures files.
Changes from supercop-20120316:
* Added bblake512.
* Updated crypto_dh/curve2251.
* data-init is now scheduled on core 0 if the OS supports taskset or
cpuset. This simplifies enabling cycle counters on CPUs that don't
enable them by default; current worst offender is ARM.
* More cycle counters: linux/perf_event.h, and big-endian MIPS.
* More NEON compiler options.
* Updated list in mgrostl256/designers.
Changes from supercop-20120310:
* NEON implementations of round3jh*.
* sources.new and data.new are now removed if the previous run is up
to date (i.e., sources matches sources.new).
* Cleanups in ed25519.
This isn't worth a re-run from 20120310 except on ARM platforms with
NEON (Cortex A8 etc.).
Changes from supercop-20120225:
* New groestl256/avr8asm implementation.
* More implementations of blake256 and blake512.
* Updated rhash/ref implementation.