summaryrefslogtreecommitdiff
path: root/tests/ChangeLog
blob: 881cb642e9e781d8efb4075362c7235e2944e2b7 (plain)
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
2006-03-10  Brad Hards  <bradh@frogmouth.net>  (wk, patch 2006-02-18)

	* basic.c (check_one_hmac, check_hmac): New.

2006-03-07  Werner Koch  <wk@g10code.com>

	* benchmark.c (cipher_bench): Add OFB mode.

2006-01-18  Brad Hards  <bradh@frogmouth.net> (wk 2006-03-07)

	* basic.c: Added test cases for OFB and CFB modes. Fixed some
	compiler warnings for signedness. 

2005-11-12  Moritz Schulte  <moritz@g10code.com>

	* ac-data.c: Added way more test cases.

2005-09-15  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (TESTS): Added keygrip.
	* keygrip.c: New.

2005-09-19  Werner Koch  <wk@g10code.com>

	* benchmark.c (dsa_bench): New.

2005-08-19  Werner Koch  <wk@g10code.com>

	* hmac.c (main): Added all FIPS tests.

2005-08-18  Werner Koch  <wk@g10code.com>

	* hmac.c: New.

2005-04-22  Moritz Schulte  <moritz@g10code.com>

	* tsexp.c: Include <config.h> in case HAVE_CONFIG_H is defined;
	thanks to Albert Chin.
	* testapi.c: Likewise.
	* register.c: Likewise.
	* pubkey.c: Likewise.
	* prime.c: Likewise.
	* pkbench.c: Likewise.
	* keygen.c: Likewise.
	* benchmark.c: Likewise.
	* basic.c: Likewise.
	* ac-schemes.c: Likewise.
	* ac-data.c: Likewise.
	* ac.c: Likewise.

2005-04-16  Moritz Schulte  <moritz@g10code.com>

	* ac-data.c (check_run): Include new test.

2005-04-11  Moritz Schulte  <moritz@g10code.com>

	* basic.c (check_digests): Add tests for Whirlpool.

2005-03-30  Moritz Schulte  <moritz@g10code.com>

	* ac-schemes.c: New file.
	* ac-data.c: New file.
	* Makefile.am (TESTS): Added ac-schemes and ac-data.

2004-09-15  Moritz Schulte  <moritz@g10code.com>

	* pkbench.c: Include <time.h>.

2004-08-24  Moritz Schulte  <moritz@g10code.com>

	* pkbench.c (context_init): Improve generation of test data.

2004-08-23  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (TESTS): Added: pkbench.
	* pkbench.c: New file.

2004-02-25  Werner Koch  <wk@gnupg.org>

	* Makefile.am (TEST): Add benchmark.

	* benchmark.c (md_bench, cipher_bench): Allow NULL arg to to run
	tests for all algorithms.
	(main): Run all tests by default.

2004-02-03  Werner Koch  <wk@gnupg.org>

	* tsexp.c (basic): New pass to check secure memory switching.

2004-01-12  Moritz Schulte  <mo@g10code.com>

	* ac.c (check_one): Adjust to new ac API.

2003-11-22  Werner Koch  <wk@gnupg.org>

	* pubkey.c (check_keys_crypt): Fixed my last patch.

2003-11-11  Werner Koch  <wk@gnupg.org>

	* tsexp.c (basic): Add pass structure and a test for the %b
	format. 

2003-11-04  Werner Koch  <wk@gnupg.org>

	* Makefile.am (noinst_PROGRAMS): Use this so that test programs
	get always build.

	* keygen.c (check_nonce): New.
	(main): Add a basic check for the nocen function.

2003-10-31  Werner Koch  <wk@gnupg.org>

	* basic.c (check_aes128_cbc_cts_cipher): Make it a prototype

	* ac.c (check_run): Comment unused variable.

2003-10-10  Werner Koch  <wk@gnupg.org>

	* prime.c (check_primes): Generate a generator and avoid printing
	unless in verbose mode.

2003-10-07  Werner Koch  <wk@gnupg.org>

	* tsexp.c (check_sscan): New.

2003-09-04  Werner Koch  <wk@gnupg.org>

	* pubkey.c (check_keys_crypt): Fix for compatibility mode.

2003-09-02  Moritz Schulte  <mo@g10code.com>

	* Makefile.am (TESTS): Added: prime.

	* prime.c: New file.

2003-08-27  Moritz Schulte  <mo@g10code.com>

	* basic.c (check_ciphers): Added: Serpent.
	Write braces around flags.

2003-08-04  Moritz Schulte  <moritz@g10code.com>

	* benchmark.c (do_powm): Adjust for new gcry_mpi_scan interface.

2003-07-23  Moritz Schulte  <moritz@g10code.com>

	* ac.c (key_copy): New function...
	(check_one): ... use it.

2003-07-22  Moritz Schulte  <moritz@g10code.com>

	* basic.c (check_ciphers): Use gcry_cipher_map_name.

2003-07-18  Moritz Schulte  <moritz@g10code.com>

	* ac.c (check_run): Renamed to ...
	(check_one): ... this, changed calling interface.
	(check_run): New function.

	* register.c: Adjust gcry_cipher_spec_t structure.

2003-07-14  Moritz Schulte  <moritz@g10code.com>

	* register.c: Adjust cipher specification structure.

	* benchmark.c: New file.
	* testapi.c: New file.

	* Makefile.am (EXTRA_PROGRAMS): Set to: benchmark testapi.
	(check_PROGRAMS): Set to: $(TESTS).

2003-07-12  Moritz Schulte  <moritz@g10code.com>

	* ac.c, basic.c, keygen.c, register.c, sexp.c, tsexp.c: Used
	gcry_err* wrappers for libgpg symbols.

	* basic.c (check_ciphers): Added: GCRY_CIPHER_TWOFISH128.

2003-07-08  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (LIBS): Remove: -lpthread.

	* basic.c (check_one_cipher): Fix variable initialization.  Thanks
	to Simon Joseffson <jas@extundo.com>.

2003-07-07  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (TESTS): Added: register.

2003-07-05  Moritz Schulte  <moritz@g10code.com>

	* register.c (check_run): Adjusted for new gcry_cipher_register API.

2003-07-02  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (TESTS): Added: ac.
	* ac.c: New file.

2003-06-18  Werner Koch  <wk@gnupg.org>

	* basic.c (check_cbc_mac_cipher): Adjusted for new API of get_blklen
	and get_keylen.
	(check_ctr_cipher): Ditto.
	(check_one_cipher): Ditto.
	(check_one_md): Adjusted for new API of gcry_md_copy.

2003-06-18  Moritz Schulte  <moritz@g10code.com>

	* register.c: Replace old type GcryModule with newer one:
	gcry_module_t.
	Adjusted for new API.

	* Makefile.am (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@.

2003-06-15  Moritz Schulte  <moritz@g10code.com>

	* basic.c (get_keys_new): New function.
	(do_check_one_pubkey): New function ...
	(check_one_pubkey): ... use it.
	(progress_handler): New function.
	(main): Use gcry_set_progress_handler.

2003-06-14  Moritz Schulte  <moritz@g10code.com>

	* basic.c: Replaced calls to gcry_strerror with calls to
	gpg_strerror.
	(check_one_md): Adjust for new gcry_md_copy API.

	* tsexp.c: Likewise.
	* keygen.c: Likewise.

2003-06-12  Moritz Schulte  <moritz@g10code.com>

	* basic.c: Changed here and there, reorganized pubkey checks,
	added DSA and ELG keys.

2003-06-09  Moritz Schulte  <moritz@g10code.com>

	* basic.c, keygen.c, pubkey.c, register.c, tsexp.c: Changed to use
	new API.
	
2003-06-01  Moritz Schulte  <moritz@g10code.com>

	* tsexp.c (canon_len): Adjust for new gcry_sexp_canon_len API.

2003-05-26  Moritz Schulte  <moritz@g10code.com>

	* basic.c (verify_one_signature): Adjust for libgpg-error.
	(check_pubkey_sign): Likewise.
	(check_pubkey): Likewise.
	* basic.c (check_pubkey_sign): Likewise.
	* tsexp.c (canon_len): Likewise.
	(back_and_forth_one): Likewise.

2003-04-27  Moritz Schulte  <moritz@g10code.com>

	* pubkey.c: Changed the sample private key to contain the
	identifier `openpgp-rsa' instead of `rsa'.

	* basic.c (check_digests): Enabled/fixed some tests for TIGER.

2003-04-17  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (TESTS): Removed `register' for now.

2003-04-17  Moritz Schulte  <moritz@g10code.com>

	* basic.c (check_digests): Include checks for SHA512 and SHA384.

2003-04-16  Moritz Schulte  <moritz@g10code.com>

	* basic.c (check_one_md): Also test md_copy.

2003-04-07  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (TESTS): Added register.

	* register.c: New file.

2003-03-30  Simon Josefsson  <jas@extundo.com>

	* basic.c (check_one_cipher): New.  Test CTR.
	(main): Call it.
	(check_ciphers): Check CTR mode.

2003-03-26  Moritz Schulte  <moritz@g10code.com>

	* Makefile.am (TESTS): Added pubkey.

	* pubkey.c: New file.

2003-03-22  Simon Josefsson  <jas@extundo.com>

	* basic.c (check_cbc_mac_cipher): New.
	(main): Use it.

2003-03-19  Werner Koch  <wk@gnupg.org>

	* keygen.c (check_rsa_keys): Don't expect an exponent when asking
	for e=0.
	(check_generated_rsa_key): Just print exponent if EXPECTED_E is 0.

2003-03-02  Moritz Schulte  <moritz@g10code.com>

	* basic.c (check_one_cipher): Use gcry_cipher_reset() instead of
	gcry_cipher_close(), gcry_cipher_open and gcry_cipher_setkey().

2003-01-23  Werner Koch  <wk@gnupg.org>

	* keygen.c: New. 

2003-01-20  Simon Josefsson  <jas@extundo.com>

	* basic.c (check_digests): Add CRC.
	(check_one_md): Print computed and expected values on error.

2003-01-20  Werner Koch  <wk@gnupg.org>

	* basic.c (check_one_md): Kludge to check a one million "a".
	(check_digests): Add checks for SHA-256.

2003-01-20  Werner Koch  <wk@gnupg.org>

	* basic.c (check_pubkey): Check the keygrip for the sample key.

2003-01-15  Werner Koch  <wk@gnupg.org>

	* basic.c (verify_one_signature,check_pubkey_sign)
	(check_pubkey): New.
	(main): Check public key functions. Add a --debug option.

2002-11-23  Werner Koch  <wk@gnupg.org>

	* basic.c (check_digests): Add another test for MD4.  By Simon
	Josefsson.

2002-11-10  Simon Josefsson  <jas@extundo.com>

	* basic.c (check_aes128_cbc_cts_cipher): New function.
	(check_one_cipher): Add flags parameter.
	(check_ciphers): Support flags parameter.
	(main): Check CTS.

2002-11-10  Werner Koch  <wk@gnupg.org>

	* basic.c (check_one_md): New.  By Simon Josefsson.
	(check_digests): New tests for MD4.  By Simon.

2002-08-26  Werner Koch  <wk@gnupg.org>

	* basic.c (check_ciphers): Check simple DES.

2002-05-16  Werner Koch  <wk@gnupg.org>

	* tsexp.c (back_and_forth): Very minimal test of the new functions.

2002-05-14  Werner Koch  <wk@gnupg.org>

	Changed license of all files to the LGPL.

2002-05-02  Werner Koch  <wk@gnupg.org>

	* basic.c: Add option --verbose.

2002-01-11  Werner Koch  <wk@gnupg.org>

	* tsexp.c (canon_len): Fixed tests.

2001-12-18  Werner Koch  <wk@gnupg.org>

	* tsexp.c: New.

	
 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.

 This file is free software; as a special exception the author gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.

 This file is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.