1
2009-01-22 Werner Koch <wk@g10code.com>
3
* random.c (_gcry_random_deinit_external_test): Do not return a
4
value. Reported Albert Chin.
6
2008-09-16 Werner Koch <wk@g10code.com>
8
* random-fips.c (x931_aes_driver): No re-seeding with test contexts.
9
(_gcry_rngfips_init_external_test): Fix setting of test_dt_ptr.
10
(struct rng_context): Add flag TEST_NO_DUP_CHECK.
11
(x931_aes_driver): Use that flag.
12
(_gcry_rngfips_init_external_test): Add arg FLAGS and use it to
14
* random.c (_gcry_random_init_external_test): Pass FLAGS.
16
2008-09-15 Werner Koch <wk@g10code.com>
18
* random.c (_gcry_random_init_external_test): New.
19
(_gcry_random_run_external_test): New.
20
(_gcry_random_deinit_external_test): New.
21
* random-fips.c (struct rng_context): Turn TEST_DT_COUNTER into a
24
(selftest_kat): Intialize it accordingly.
25
(_gcry_rngfips_init_external_test): New.
26
(_gcry_rngfips_run_external_test): New.
27
(_gcry_rngfips_deinit_external_test): New.
29
2008-09-05 Werner Koch <wk@g10code.com>
31
* random.c (_gcry_random_selftest): Return success if not in fips
34
2008-09-01 Werner Koch <wk@g10code.com>
36
* random-fips.c (x931_get_dt) [W32]: Do not use getppid.
37
(get_entropy): Prepare for use under Windows.
38
(_gcry_rngfips_selftest): Ditto.
39
(entropy_collect_cb): Make sure that the gatherer never overflows
42
2008-08-29 Werner Koch <wk@g10code.com>
44
* random-fips.c (SEED_TTL): New.
45
(struct rng_context): Add USE_COUNTER, remove NEED_STRONG_ENTROPY.
46
(x931_aes_driver): Do re-seeding if required.
47
(x931_generate_key, x931_generate_seed): Factor common code out to ..
48
(get_entropy): .. new. Always use /dev/random.
49
(x931_generate_key): Seed key for nonce_context from std_rng_context.
50
(x931_reseed): New. Seed nonce context from std_rng_context.
51
(get_random): Use x931_reseed.
52
(_gcry_rngfips_selftest): Return an error if no /dev/radom support
54
(get_random): Remove locking.
55
(_gcry_rngfips_randomize, _gcry_rngfips_create_nonce): Lock here.
57
2008-08-28 Werner Koch <wk@g10code.com>
59
* random-daemon.c (connect_to_socket): Use GPG_ERR_ENAMETOOLONG.
61
2008-08-25 Werner Koch <wk@g10code.com>
63
* random-fips.c (x931_aes): Take datetime_GT from an arg.
64
(x931_aes_driver): Call x931_get_dt here.
65
(x931_get_dt): Implement the KAT hack.
66
(x931_generate_seed): Copy the seed value to the provided buffer.
69
2008-08-22 Werner Koch <wk@g10code.com>
71
* random.c (_gcry_update_random_seed_file): Move operational check
73
(_gcry_fast_random_poll): Ditto.
74
(_gcry_random_selftest): New.
75
* random-fips.c (_gcry_rngfips_selftest): New.
77
2008-08-21 Werner Koch <wk@g10code.com>
79
* random-fips.c: Finish implementation.
81
2008-08-15 Werner Koch <wk@g10code.com>
85
* random-csprng.c (process-cb, progress_cb_data): Move to
87
(_gcry_register_random_progress, _gcry_random_progress): Ditto.
88
(_gcry_random_initialize): Rename to _gcry_rngcsprng_initialize.
89
(_gcry_random_dump_stats): Rename to _gcry_rngcsprng_dump_stats.
90
(_gcry_secure_random_alloc): Rename to
91
_gcry_rngcsprng_secure_alloc.
92
(_gcry_enable_quick_random_gen): Rename to
93
_gcry_rngcsprng_enable_quick_gen.
94
(_gcry_set_random_daemon_socket): Rename to
95
_gcry_rngcsprng_set_daemon_socket.
96
(_gcry_use_random_daemon): Rename to _gcry_rngcsprng_use_daemon.
97
(_gcry_random_is_faked): Rename to _gcry_rngcsprng_is_faked.
98
(gcry_random_add_bytes): Rename to _gcry_rngcsprng_add_bytes.
99
(gcry_random_bytes): Remove
100
(gcry_random_bytes_secure): Remove.
101
(gcry_randomize): Rename to _gcry_rngcsprng_randomize.
102
(_gcry_set_random_seed_file): Rename to
103
_gcry_rngcsprng_set_seed_file.
104
(_gcry_update_random_seed_file): Rename to
105
_gcry_rngcsprng_update_seed_file.
106
(_gcry_fast_random_poll): Rename to _gcry_rngcsprng_fast_poll.
107
(gcry_create_nonce): Rename to _gcry_rngcsprng_create_nonce.
109
* random.c: Factor all code out to random-csprng.c and implement
112
2008-07-05 Werner Koch <wk@g10code.com>
114
* random-daemon.c, random.h, rndhw.c, rndunix.c, rand-internal.h *
115
random.c, rndegd.c, rndlinux.c, rndw32.c: Move from ../cipher/ to
119
Copyright 2008 Free Software Foundation, Inc.
121
This file is free software; as a special exception the author gives
122
unlimited permission to copy and/or distribute it, with or without
123
modifications, as long as this notice is preserved.
125
This file is distributed in the hope that it will be useful, but
126
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
127
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
b'\\ No newline at end of file'