Debian Codegraph @

tests/ChangeLog-2011

raw
1 2011-12-01 Werner Koch <[email protected]>
2
3 NB: ChangeLog files are no longer manually maintained. Starting
4 on December 1st, 2011 we put change information only in the GIT
5 commit log, and generate a top-level ChangeLog file from logs at
6 "make dist". See doc/HACKING for details.
7
8 2011-11-11 Jim Meyering <[email protected]>
9
10 tests: avoid write-beyond-end-of-heap buffer
11 * basic.c (check_bulk_cipher_modes): Allocate one more byte in
12 each of the two test buffers. Otherwise, running
13 "env -i MALLOC_CHECK_=3 ./basic" would abort.
14
15 2011-09-15 Werner Koch <[email protected]>
16
17 * register.c: Remove.
18
19 * ac-data.c, ac-schemes.c, ac.c: Remove.
20
21 2011-06-13 Werner Koch <[email protected]>
22
23 * basic.c (check_pubkey_sign): Run PKCS1 tests only for RSA.
24 (check_pubkey_crypt): Ditto.
25
26 * pkcs1v2-pss.h, pkcs1v2-oaep.h, pkcs1v2-v15s.h, pkcs1v2-v15c.h: New.
27 * pkcs1v2.c: (check_pss, check_v15crypt): New.
28 (check_pss, check_pss): Factor test vector tables out.
29
30 2011-06-10 Werner Koch <[email protected]>
31
32 * basic.c (check_pubkey_crypt): Run OAEP tests only for RSA.
33
34 2011-06-09 Werner Koch <[email protected]>
35
36 * pkcs1v2.c: New.
37 * Makefile.am (TESTS): Add pkcs1v2.
38
39 * basic.c (check_pubkey_sign): Add a test using random-override.
40 (check_pubkey_crypt): Ditto. Print ALGO in verbose mode.
41 (check_pubkey_grip): Silence unused parameter warning.
42
43 2011-06-03 Werner Koch <[email protected]>
44
45 * basic.c (main): Add option --die.
46
47 2011-05-27 Daiki Ueno <[email protected]>
48
49 * basic.c (check_pubkey_crypt): Add test data with invalid padding.
50
51 2011-05-24 Daiki Ueno <[email protected]>
52
53 * basic.c (do_check_one_pubkey): Add new arg ALGO to tell which PK
54 algorithm is used for check_pubkey_sign, check_pubkey_crypt,
55 check_pubkey_grip.
56 (check_pubkey_sign): Add new arg ALGO; skip test data if it does
57 not match ALGO.
58 (check_pubkey_crypt): Add new arg ALGO.
59 (check_pubkey_grip): Ditto.
60
61 2011-05-18 Daiki Ueno <[email protected]>
62
63 * basic.c (check_pubkey_crypt): Remove unused "unpad" flag.
64
65 2011-05-11 Daiki Ueno <[email protected]>
66
67 * basic.c (check_pubkey_sign): Add an OAEP flag parsing test case.
68 (check_pubkey_crypt): New.
69 (do_check_one_pubkey): Call it.
70 (check_one_pubkey): Free SKEY and PKEY.
71
72 2011-04-11 Werner Koch <[email protected]>
73
74 * basic.c (mismatch): New.
75 (check_ctr_cipher): Remove length error code checks. Add
76 truncation and streaming checks.
77
78 2011-04-04 Werner Koch <[email protected]>
79
80 * keygrip.c (main): Add option --repetitions.
81 (check): Make use of it.
82
83 2011-03-28 Werner Koch <[email protected]>
84
85 * random.c (readn): Remove used var P.
86
87 2011-02-21 Werner Koch <[email protected]>
88
89 * version.c (main): Do a verbatim check of the version string.
90 * basic.c (main): Ditto. But die on mismatch.
91
92 * benchmark.c (md_bench): Allow for the --alignment option.
93 (main): Allow alignments between 1 and 16.
94
95 2011-02-16 Werner Koch <[email protected]>
96
97 * benchmark.c (main): Add option --disable-hwf.
98
99 * basic.c (DIM): New.
100 (check_bulk_cipher_modes): New.
101 (main): Run new test.
102
103 2011-02-15 Werner Koch <[email protected]>
104
105 * benchmark.c: Add option --cipher-with-keysetup.
106 (cipher_bench): Implement this option.
107
108 2011-02-14 Werner Koch <[email protected]>
109
110 * benchmark.c: Add option --alignment.
111
112 2011-02-01 Werner Koch <[email protected]>
113
114 * curves.c: New.
115
116 2011-01-04 Werner Koch <[email protected]>
117
118 * Makefile.am (LDADD): Fix typo in last change. Reported by
119 Andrey Jivsov.
120
121 2010-07-19 Werner Koch <[email protected]>
122
123 * Makefile.am (LDADD): Add GPG_ERROR_LIBS to help a new wannabe ld.
124
125 2010-06-10 Werner Koch <[email protected]>
126
127 * t-mpi-bit.c (mpi2bitstr_nlz): Handle case for LENGTH==0.
128
129 2010-04-12 Brad Hards <[email protected]> (wk)
130
131 * basic.c (check_cbc_mac_cipher): Print more info.
132 (main): Factor some code out to ...
133 (check_cipher_modes): .. new.
134
135 2010-04-06 Brad Hards <[email protected]> (wk)
136
137 * aeswrap.c, hmac.c, basic.c: Typo fixes.
138
139 2010-03-26 Werner Koch <[email protected]>
140
141 * basic.c (check_digests): Add tests for TIGER1 and TIGER2 from
142 the NESSIE project.
143
144 2010-01-21 Werner Koch <[email protected]>
145
146 * benchmark.c [_GCRYPT_IN_LIBGCRYPT]: Include libcompat.h.
147 (start_timer, stop_timer) [__MINGW32CE__]: Use GetThreadTimes.
148 * Makefile.am (LDADD): Add libcompat.
149
150 2009-12-10 Werner Koch <[email protected]>
151
152 * basic.c (check_ctr_cipher): Add some return code checks.
153
154 * benchmark.c (cipher_bench): Merge Stream with ECB column.
155
156 2009-12-09 Werner Koch <[email protected]>
157
158 * aeswrap.c: New.
159
160 2009-07-09 Werner Koch <[email protected]>
161
162 * benchmark.c (progress_cb): New.
163 (main): Add option --progress.
164
165 2009-06-08 Werner Koch <[email protected]>
166
167 * benchmark.c (cipher_bench): Center labels. Suggested by Brad Hards.
168
169 2009-02-16 Werner Koch <[email protected]>
170
171 * fipsdrv.c (print_buffer): Remove parens from initializer for
172 better portability. Reported by Dan Fandrich.
173
174 2009-02-13 Werner Koch <[email protected]>
175
176 * rsacvt.c (compute_missing): Fix dqm1 computation. Take care of
177 openpgp flag.
178 (main): Add option --openpgp.
179
180 2009-02-11 Werner Koch <[email protected]>
181
182 * rsacvt.c: New.
183
184 2009-01-22 Werner Koch <[email protected]>
185
186 * cavs_tests.sh: Pass option -D to driver if required.
187
188 * fipsdrv.c (run_dsa_sign): Use hash of the data.
189 (dsa_gen_with_seed): New.
190 (run_dsa_pqg_gen): Add args SEED and SEEDLEN and use them.
191 (main): Optically take a seed for dsa-pgq-gen.
192 (standalone_mode): New.
193 (main): Add option --standalone.
194 (print_dsa_domain_parameters): Implement standalone mode.
195
196 2009-01-21 Werner Koch <[email protected]>
197
198 * fipsdrv.c (run_dsa_verify): Use gcry_mpi_scan again.
199 (run_rsa_derive): Also print N.
200
201 * fipsdrv.c (run_dsa_verify): Use hash of the data.
202
203 * pubkey.c (get_dsa_key_fips186_with_seed_new): New.
204 (check_run): Call it.
205
206 2008-12-11 Werner Koch <[email protected]>
207
208 * fipsdrv.c (run_rsa_derive): New.
209 (main): Add mode rsa-derive.
210
211 2008-12-10 Werner Koch <[email protected]>
212
213 * basic.c (main): Check for error after running self-test in
214 non-fips mode.
215
216 * pubkey.c (get_dsa_key_with_domain_new): New.
217 (get_dsa_key_fips186_with_domain_new): New.
218 (check_run): Call them.
219
220 2008-12-08 Werner Koch <[email protected]>
221
222 * fipsdrv.c [W32]: Include fcntl.h.
223
224 2008-12-05 Werner Koch <[email protected]>
225
226 * pubkey.c (get_dsa_key_new): Add arg transient_key.
227 (check_run): Use it.
228
229 2008-12-03 Werner Koch <[email protected]>
230
231 * fipsdrv.c (run_dsa_pqg_gen): Facor code out into ..
232 (print_dsa_domain_parameters, dsa_gen): .. these two new functions.
233 (print_sexp, read_sexp_from_file): New.
234 (run_dsa_sign): New.
235 (run_dsa_verify): New.
236
237 2008-12-02 Werner Koch <[email protected]>
238
239 * fipsdrv.c: All standalone build.
240
241 * mpitests.c (mpi_powm): New.
242
243 2008-11-28 Werner Koch <[email protected]>
244
245 * fips186-dsa.c: New.
246
247 * fipsdrv.c (print_mpi_line, print_data_line): New.
248 (run_dsa_pqg_gen): New.
249 (usage): Add mode dsa-pqg-gen.
250
251 2008-11-25 Werner Koch <[email protected]>
252
253 * pubkey.c (get_dsa_key_new): New.
254
255 2008-11-24 Werner Koch <[email protected]>
256
257 * tsexp.c (basic): Add test for format character S.
258
259 * pubkey.c (check_x931_derived_key): New.
260 (get_keys_x931_new): New.
261 (check_run): Check X9.31 generated RSA key.
262
263 2008-11-07 Werner Koch <[email protected]>
264
265 * fipsdrv.c (run_cipher_mct_loop, get_current_iv): New.
266 (read_textline, read_hexline, skip_to_empty_line): New.
267 (main): New option --mct-server.
268 * cavs_driver.pl: Update from upstream and adjust to new fipsdrv.
269
270 2008-11-05 Werner Koch <[email protected]>
271
272 * fipsdrv.c (run_encrypt_decrypt): Disable weak key detection.
273
274 2008-10-31 Werner Koch <[email protected]>
275
276 * fipsdrv.c (run_rsa_sign): Buffer needs to be larger for SHA512.
277
278 2008-10-27 Werner Koch <[email protected]>
279
280 * fipsdrv.c (run_encrypt_decrypt): Make IV_BUFFER optional.
281 (main): Ditto.
282 * cavs_driver.pl: Remove the --no-fips flags.
283 (libgcrypt_encdec($$$$$)): Make IV optional.
284 (libgcrypt_state_cipher($$$$$)): Ditto.
285
286 2008-10-24 Werner Koch <[email protected]>
287
288 * benchmark.c (md_bench): Do not test MD5 in fips mode.
289 * basic.c (check_digests, check_hmac): Ditto.
290
291 2008-10-06 Werner Koch <[email protected]>
292
293 * cavs_driver.pl: New version from upstream.
294 (libgcrypt_rsa_verify($$$$)): Pass pkcs1.
295 (libgcrypt_rsa_sign($$$)): Pass pkcs1 and hash algo.
296
297 * fipsdrv.c (run_rsa_sign): Hash data in pkcs1 mode.
298 (run_rsa_verify): Ditto.
299 (read_key_file): Rename to read_private_key_file. Factor public
300 key code out to..
301 (read_public_key_file): .. new.
302
303 2008-10-02 Werner Koch <[email protected]>
304
305 * fipsdrv.c (print_buffer): Add base64 printing code.
306 (base64_decode, read_key_file, parse_tag, read_sig_file): New.
307 (run_rsa_gen, run_rsa_sign): New.
308 (main): Add modes rsa-gen, rsa-sign and rsa-verify.
309
310
311 2008-09-29 Werner Koch <[email protected]>
312
313 * fipsdrv.c: Merge code from fipsrngdrv.c
314 * fipsrngdrv.c: Remove.
315
316 2008-09-26 Werner Koch <[email protected]>
317
318 * Makefile.am: Distribute cavs_driver.pl.
319 * cavs_tests.sh: New.
320 * fipsdrv.c: New.
321
322 2008-09-18 Werner Koch <[email protected]>
323
324 * benchmark.c (main): Do not disable secure memory in FIPS mode.
325
326 2008-09-18 Werner Koch <[email protected]>
327
328 * basic.c (main): Do not disable secure memory in FIPS mode.
329
330 2008-09-16 Werner Koch <[email protected]>
331
332 * fipsrngdrv.c (main): Bail out on write error. Implement verbose
333 option.
334 (main): Use flag to disable dup block checks.
335
336 2008-09-15 Werner Koch <[email protected]>
337
338 * fipsrngdrv.c: New.
339
340 2008-09-09 Werner Koch <[email protected]>
341
342 * basic.c (main): New option --selftest.
343
344 2008-08-29 Werner Koch <[email protected]>
345
346 * keygrip.c: Update to also check ECDSA.
347
348 2008-08-28 Werner Koch <[email protected]>
349
350 * rsa-16k.key: New sample key.
351
352 2008-08-27 Werner Koch <[email protected]>
353
354 * pkbench.c (read_file): New.
355 (process_key_pair_file): Replace mmap by read_file.
356 (main): Add a --fips option.
357 * Makefile.am (EXTRA_DIST): Remove.
358 (EXTRA_PROGRAMS): Add pkbench.
359
360 * basic.c (main): Extended FIPS self-test test.
361
362 2008-08-26 Werner Koch <[email protected]>
363
364 * basic.c (get_keys_new): Use transient-key flag.
365 * benchmark.c (main): First check options then do the libgcrypt
366 initialization.
367 (rsa_bench): Use transient-key flag if not in fips mode.
368
369 2008-08-20 Werner Koch <[email protected]>
370
371 * t-mpi-bit.c (test_lshift): New.
372 (mpi2bitstr_nlz, lshiftbitstring): New.
373 (main): Run test.
374
375 2008-08-18 Werner Koch <[email protected]>
376
377 * basic.c (main): Add option --fips.
378
379 2008-08-15 Werner Koch <[email protected]>
380
381 * register.c (main): Check for fips mode.
382 (check_run): Take care of fips mode.
383
384 * basic.c (check_cbc_mac_cipher, check_ciphers, check_digests)
385 (check_hmac, check_pubkey): Do not test unavalaible algorithms in
386 fips mode.
387 (main): Check for fips mode.
388
389 2008-04-22 Werner Koch <[email protected]>
390
391 * basic.c (check_one_cipher): Also check in-place encryption.
392
393 2008-03-17 Werner Koch <[email protected]>
394
395 * benchmark.c (main): Add option --cipher-repetition.
396 (cipher_bench): Use it.
397
398 2008-03-12 Werner Koch <[email protected]>
399
400 * benchmark.c (rsa_bench): Add arg NO_BLINDING.
401 (main): Add option --no-blinding.
402
403 2007-12-05 Werner Koch <[email protected]>
404
405 * pubkey.c (sample_private_key_1_1,sample_private_key_1_2): New.
406 (get_keys_sample): Add arg SECRET_VARIANT.
407 (check_run): Check all variants. Also check gcry_pk_testkey.
408 (check_keys_crypt): Add DECRYPT_FAIL_CODE.
409 (check_keys): Ditto.
410
411 2007-11-30 Werner Koch <[email protected]>
412
413 * benchmark.c (main): Add optione --verbose and reworked the
414 option parsing.
415 (random_bench): Dump random stats.
416
417 2007-10-31 Werner Koch <[email protected]>
418
419 * benchmark.c (start_timer, stop_timer, elapsed_time) [W32]: Fixed.
420
421 2007-06-20 Werner Koch <[email protected]>
422
423 * benchmark.c (rsa_bench): New.
424 (main): New command "rsa".
425
426 2007-05-03 Werner Koch <[email protected]>
427
428 * Makefile.am (EXTRA_DIST): Do not build pkbench.c
429
430 2007-05-02 David Shaw <[email protected]>
431
432 * basic.c (check_ciphers): Add Camellia.
433
434 2007-04-30 David Shaw <[email protected]>
435
436 * basic.c (check_ciphers): #if out ciphers we don't have. Add
437 test for GCRY_CIPHER_RFC2268_40.
438
439 2007-04-30 Werner Koch <[email protected]>
440
441 * version.c: New.
442 * Makefile.am (TESTS): Add version.
443
444 2007-04-30 Marcus Brinkmann <[email protected]>
445
446 * benchmark.c (ecc_bench): Release KEY_SPEC.
447
448 2007-04-28 Marcus Brinkmann <[email protected]>
449
450 * ac-data.c (check_run): Don't give redundant GCRY_AC_FLAG_DEALLOC
451 in addition to GCRY_AC_FLAG_COPY. Don't release LABEL1 or MPI0,
452 as those are donated to libgcrypt, but do release MPI0 and MPI2.
453
454 2007-04-12 Marcus Brinkmann <[email protected]>
455
456 * ac-schemes.c (scheme_spec): Revert last change.
457
458 * ac-schemes.c (scheme_spec): Remove const qualifier from member M.
459 (es_check): Remove const qualifier from C and M2.
460
461 2007-03-28 Werner Koch <[email protected]>
462
463 * pkbench.c (generate_key): Support named curves.
464
465 * benchmark.c (dsa_bench): New args ITERATIONS and PRINT_HEADER.
466 (main): Call dsa and ecc benchs.
467 (show_sexp): New.
468
469 * Makefile.am (TESTS): Move pkbench to EXTRA_PROGRAMS.
470
471 2007-03-22 Werner Koch <[email protected]>
472
473 * benchmark.c (die): New.
474 (ecc_bench): New.
475
476 * pkbench.c (main): Reworked to provide proper option handling.
477
478 2007-03-13 Werner Koch <[email protected]>
479
480 * mpitests.c: Reformatted to GNU standards.
481 (main): Add options --verbose and --debug for future use.
482
483 2007-03-13 Werner Dittmann <[email protected]> (wk)
484
485 * mpitests.c: New.
486
487 2007-02-23 Werner Koch <[email protected]>
488
489 * Makefile.am (TEST): Run benchmark as last.
490
491 * ac-data.c (check_sexp_conversion): Print label only in verbose
492 mode.
493
494 * pubkey.c (main): Run test just 2 times instead of 10.
495 (get_elg_key_new): New.
496 (check_run): Also run tests with Elgamal keys.
497 (check_keys): New arg NBITS_DATA.
498 (get_elg_key_new): Use only 400 for the 512 bit Elgamal test.
499
500 * random.c: New.
501
502 2007-02-22 Werner Koch <[email protected]>
503
504 * basic.c (check_pubkey_sign): Also try signing using an OID.
505
506 * Makefile.am (TESTS) [W32]: Removed pkbench for now.
507 * pkbench.c (benchmark): Fixed for W32.
508
509 2007-02-21 Werner Koch <[email protected]>
510
511 * hmac.c (check_one_mac): Make pointer args const.
512 * basic.c (check_one_md): Ditto.
513 (check_one_hmac): Ditto.
514
515 * keygen.c (progress_cb): Filter out line feeds.
516 * basic.c (progress_handler): Ditto.
517
518 2006-12-18 Werner Koch <[email protected]>
519
520 * Makefile.am (AM_CFLAGS, AM_CPPFLAGS): Splitted and merged with
521 Moritz' changes.
522 (INCLUDES): Removed.
523
524 * keygen.c (progress_handler): New.
525 (main): Use it in verbose mode.
526
527 2006-11-05 Moritz Schulte <[email protected]>
528
529 * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the
530 new gcrypt.h is used, not the one installed in the system.
531
532 2006-10-17 Werner Koch <[email protected]>
533
534 * keygen.c (check_rsa_keys): Also create an 1536 bit DSA key.
535
536 2006-08-03 Werner Koch <[email protected]>
537
538 * t-mpi-bit.c: New.
539
540 2006-07-06 Werner Koch <[email protected]>
541
542 * benchmark.c (main): New option --use-random-daemon. New command
543 strongrandom.
544 (random_bench): New arg VERY_STRONG.
545
546 2006-03-14 Werner Koch <[email protected]>
547
548 * benchmark.c (main): Allow for seed file argument to random bench.
549
550 * basic.c (main): Use progress handler only in verbose mode.
551 (main): Speed up test key generation.
552 * ac-data.c (check_sexp_conversion, check_run): Take care of VERBOSE.
553 * ac.c (main): Ditto.
554 * pubkey.c (main): Ditto.
555 * pkbench.c (main): Ditto.
556 * keygen.c (main): Ditto.
557 (check_rsa_keys): Print key only in verbose mode.
558
559 2006-03-10 Brad Hards <[email protected]> (wk, patch 2006-02-18)
560
561 * basic.c (check_one_hmac, check_hmac): New.
562
563 2006-03-07 Werner Koch <[email protected]>
564
565 * benchmark.c (cipher_bench): Add OFB mode.
566
567 2006-01-18 Brad Hards <[email protected]> (wk 2006-03-07)
568
569 * basic.c: Added test cases for OFB and CFB modes. Fixed some
570 compiler warnings for signedness.
571
572 2005-11-12 Moritz Schulte <[email protected]>
573
574 * ac-data.c: Added way more test cases.
575
576 2005-09-15 Moritz Schulte <[email protected]>
577
578 * Makefile.am (TESTS): Added keygrip.
579 * keygrip.c: New.
580
581 2005-09-19 Werner Koch <[email protected]>
582
583 * benchmark.c (dsa_bench): New.
584
585 2005-08-19 Werner Koch <[email protected]>
586
587 * hmac.c (main): Added all FIPS tests.
588
589 2005-08-18 Werner Koch <[email protected]>
590
591 * hmac.c: New.
592
593 2005-04-22 Moritz Schulte <[email protected]>
594
595 * tsexp.c: Include <config.h> in case HAVE_CONFIG_H is defined;
596 thanks to Albert Chin.
597 * testapi.c: Likewise.
598 * register.c: Likewise.
599 * pubkey.c: Likewise.
600 * prime.c: Likewise.
601 * pkbench.c: Likewise.
602 * keygen.c: Likewise.
603 * benchmark.c: Likewise.
604 * basic.c: Likewise.
605 * ac-schemes.c: Likewise.
606 * ac-data.c: Likewise.
607 * ac.c: Likewise.
608
609 2005-04-16 Moritz Schulte <[email protected]>
610
611 * ac-data.c (check_run): Include new test.
612
613 2005-04-11 Moritz Schulte <[email protected]>
614
615 * basic.c (check_digests): Add tests for Whirlpool.
616
617 2005-03-30 Moritz Schulte <[email protected]>
618
619 * ac-schemes.c: New file.
620 * ac-data.c: New file.
621 * Makefile.am (TESTS): Added ac-schemes and ac-data.
622
623 2004-09-15 Moritz Schulte <[email protected]>
624
625 * pkbench.c: Include <time.h>.
626
627 2004-08-24 Moritz Schulte <[email protected]>
628
629 * pkbench.c (context_init): Improve generation of test data.
630
631 2004-08-23 Moritz Schulte <[email protected]>
632
633 * Makefile.am (TESTS): Added: pkbench.
634 * pkbench.c: New file.
635
636 2004-02-25 Werner Koch <[email protected]>
637
638 * Makefile.am (TEST): Add benchmark.
639
640 * benchmark.c (md_bench, cipher_bench): Allow NULL arg to to run
641 tests for all algorithms.
642 (main): Run all tests by default.
643
644 2004-02-03 Werner Koch <[email protected]>
645
646 * tsexp.c (basic): New pass to check secure memory switching.
647
648 2004-01-12 Moritz Schulte <[email protected]>
649
650 * ac.c (check_one): Adjust to new ac API.
651
652 2003-11-22 Werner Koch <[email protected]>
653
654 * pubkey.c (check_keys_crypt): Fixed my last patch.
655
656 2003-11-11 Werner Koch <[email protected]>
657
658 * tsexp.c (basic): Add pass structure and a test for the %b
659 format.
660
661 2003-11-04 Werner Koch <[email protected]>
662
663 * Makefile.am (noinst_PROGRAMS): Use this so that test programs
664 get always build.
665
666 * keygen.c (check_nonce): New.
667 (main): Add a basic check for the nocen function.
668
669 2003-10-31 Werner Koch <[email protected]>
670
671 * basic.c (check_aes128_cbc_cts_cipher): Make it a prototype
672
673 * ac.c (check_run): Comment unused variable.
674
675 2003-10-10 Werner Koch <[email protected]>
676
677 * prime.c (check_primes): Generate a generator and avoid printing
678 unless in verbose mode.
679
680 2003-10-07 Werner Koch <[email protected]>
681
682 * tsexp.c (check_sscan): New.
683
684 2003-09-04 Werner Koch <[email protected]>
685
686 * pubkey.c (check_keys_crypt): Fix for compatibility mode.
687
688 2003-09-02 Moritz Schulte <[email protected]>
689
690 * Makefile.am (TESTS): Added: prime.
691
692 * prime.c: New file.
693
694 2003-08-27 Moritz Schulte <[email protected]>
695
696 * basic.c (check_ciphers): Added: Serpent.
697 Write braces around flags.
698
699 2003-08-04 Moritz Schulte <[email protected]>
700
701 * benchmark.c (do_powm): Adjust for new gcry_mpi_scan interface.
702
703 2003-07-23 Moritz Schulte <[email protected]>
704
705 * ac.c (key_copy): New function...
706 (check_one): ... use it.
707
708 2003-07-22 Moritz Schulte <[email protected]>
709
710 * basic.c (check_ciphers): Use gcry_cipher_map_name.
711
712 2003-07-18 Moritz Schulte <[email protected]>
713
714 * ac.c (check_run): Renamed to ...
715 (check_one): ... this, changed calling interface.
716 (check_run): New function.
717
718 * register.c: Adjust gcry_cipher_spec_t structure.
719
720 2003-07-14 Moritz Schulte <[email protected]>
721
722 * register.c: Adjust cipher specification structure.
723
724 * benchmark.c: New file.
725 * testapi.c: New file.
726
727 * Makefile.am (EXTRA_PROGRAMS): Set to: benchmark testapi.
728 (check_PROGRAMS): Set to: $(TESTS).
729
730 2003-07-12 Moritz Schulte <[email protected]>
731
732 * ac.c, basic.c, keygen.c, register.c, sexp.c, tsexp.c: Used
733 gcry_err* wrappers for libgpg symbols.
734
735 * basic.c (check_ciphers): Added: GCRY_CIPHER_TWOFISH128.
736
737 2003-07-08 Moritz Schulte <[email protected]>
738
739 * Makefile.am (LIBS): Remove: -lpthread.
740
741 * basic.c (check_one_cipher): Fix variable initialization. Thanks
742 to Simon Joseffson <[email protected]>.
743
744 2003-07-07 Moritz Schulte <[email protected]>
745
746 * Makefile.am (TESTS): Added: register.
747
748 2003-07-05 Moritz Schulte <[email protected]>
749
750 * register.c (check_run): Adjusted for new gcry_cipher_register API.
751
752 2003-07-02 Moritz Schulte <[email protected]>
753
754 * Makefile.am (TESTS): Added: ac.
755 * ac.c: New file.
756
757 2003-06-18 Werner Koch <[email protected]>
758
759 * basic.c (check_cbc_mac_cipher): Adjusted for new API of get_blklen
760 and get_keylen.
761 (check_ctr_cipher): Ditto.
762 (check_one_cipher): Ditto.
763 (check_one_md): Adjusted for new API of gcry_md_copy.
764
765 2003-06-18 Moritz Schulte <[email protected]>
766
767 * register.c: Replace old type GcryModule with newer one:
768 gcry_module_t.
769 Adjusted for new API.
770
771 * Makefile.am (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@.
772
773 2003-06-15 Moritz Schulte <[email protected]>
774
775 * basic.c (get_keys_new): New function.
776 (do_check_one_pubkey): New function ...
777 (check_one_pubkey): ... use it.
778 (progress_handler): New function.
779 (main): Use gcry_set_progress_handler.
780
781 2003-06-14 Moritz Schulte <[email protected]>
782
783 * basic.c: Replaced calls to gcry_strerror with calls to
784 gpg_strerror.
785 (check_one_md): Adjust for new gcry_md_copy API.
786
787 * tsexp.c: Likewise.
788 * keygen.c: Likewise.
789
790 2003-06-12 Moritz Schulte <[email protected]>
791
792 * basic.c: Changed here and there, reorganized pubkey checks,
793 added DSA and ELG keys.
794
795 2003-06-09 Moritz Schulte <[email protected]>
796
797 * basic.c, keygen.c, pubkey.c, register.c, tsexp.c: Changed to use
798 new API.
799
800 2003-06-01 Moritz Schulte <[email protected]>
801
802 * tsexp.c (canon_len): Adjust for new gcry_sexp_canon_len API.
803
804 2003-05-26 Moritz Schulte <[email protected]>
805
806 * basic.c (verify_one_signature): Adjust for libgpg-error.
807 (check_pubkey_sign): Likewise.
808 (check_pubkey): Likewise.
809 * basic.c (check_pubkey_sign): Likewise.
810 * tsexp.c (canon_len): Likewise.
811 (back_and_forth_one): Likewise.
812
813 2003-04-27 Moritz Schulte <[email protected]>
814
815 * pubkey.c: Changed the sample private key to contain the
816 identifier `openpgp-rsa' instead of `rsa'.
817
818 * basic.c (check_digests): Enabled/fixed some tests for TIGER.
819
820 2003-04-17 Moritz Schulte <[email protected]>
821
822 * Makefile.am (TESTS): Removed `register' for now.
823
824 2003-04-17 Moritz Schulte <[email protected]>
825
826 * basic.c (check_digests): Include checks for SHA512 and SHA384.
827
828 2003-04-16 Moritz Schulte <[email protected]>
829
830 * basic.c (check_one_md): Also test md_copy.
831
832 2003-04-07 Moritz Schulte <[email protected]>
833
834 * Makefile.am (TESTS): Added register.
835
836 * register.c: New file.
837
838 2003-03-30 Simon Josefsson <[email protected]>
839
840 * basic.c (check_one_cipher): New. Test CTR.
841 (main): Call it.
842 (check_ciphers): Check CTR mode.
843
844 2003-03-26 Moritz Schulte <[email protected]>
845
846 * Makefile.am (TESTS): Added pubkey.
847
848 * pubkey.c: New file.
849
850 2003-03-22 Simon Josefsson <[email protected]>
851
852 * basic.c (check_cbc_mac_cipher): New.
853 (main): Use it.
854
855 2003-03-19 Werner Koch <[email protected]>
856
857 * keygen.c (check_rsa_keys): Don't expect an exponent when asking
858 for e=0.
859 (check_generated_rsa_key): Just print exponent if EXPECTED_E is 0.
860
861 2003-03-02 Moritz Schulte <[email protected]>
862
863 * basic.c (check_one_cipher): Use gcry_cipher_reset() instead of
864 gcry_cipher_close(), gcry_cipher_open and gcry_cipher_setkey().
865
866 2003-01-23 Werner Koch <[email protected]>
867
868 * keygen.c: New.
869
870 2003-01-20 Simon Josefsson <[email protected]>
871
872 * basic.c (check_digests): Add CRC.
873 (check_one_md): Print computed and expected values on error.
874
875 2003-01-20 Werner Koch <[email protected]>
876
877 * basic.c (check_one_md): Kludge to check a one million "a".
878 (check_digests): Add checks for SHA-256.
879
880 2003-01-20 Werner Koch <[email protected]>
881
882 * basic.c (check_pubkey): Check the keygrip for the sample key.
883
884 2003-01-15 Werner Koch <[email protected]>
885
886 * basic.c (verify_one_signature,check_pubkey_sign)
887 (check_pubkey): New.
888 (main): Check public key functions. Add a --debug option.
889
890 2002-11-23 Werner Koch <[email protected]>
891
892 * basic.c (check_digests): Add another test for MD4. By Simon
893 Josefsson.
894
895 2002-11-10 Simon Josefsson <[email protected]>
896
897 * basic.c (check_aes128_cbc_cts_cipher): New function.
898 (check_one_cipher): Add flags parameter.
899 (check_ciphers): Support flags parameter.
900 (main): Check CTS.
901
902 2002-11-10 Werner Koch <[email protected]>
903
904 * basic.c (check_one_md): New. By Simon Josefsson.
905 (check_digests): New tests for MD4. By Simon.
906
907 2002-08-26 Werner Koch <[email protected]>
908
909 * basic.c (check_ciphers): Check simple DES.
910
911 2002-05-16 Werner Koch <[email protected]>
912
913 * tsexp.c (back_and_forth): Very minimal test of the new functions.
914
915 2002-05-14 Werner Koch <[email protected]>
916
917 Changed license of all files to the LGPL.
918
919 2002-05-02 Werner Koch <[email protected]>
920
921 * basic.c: Add option --verbose.
922
923 2002-01-11 Werner Koch <[email protected]>
924
925 * tsexp.c (canon_len): Fixed tests.
926
927 2001-12-18 Werner Koch <[email protected]>
928
929 * tsexp.c: New.
930
931
932 Copyright 2001, 2002, 2003, 2008 Free Software Foundation, Inc.
933
934 This file is free software; as a special exception the author gives
935 unlimited permission to copy and/or distribute it, with or without
936 modifications, as long as this notice is preserved.
937
938 This file is distributed in the hope that it will be useful, but
939 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
940 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
941
942 Local Variables:
943 buffer-read-only: t
944 End: