~ubuntu-branches/ubuntu/natty/libgcrypt11/natty-proposed

« back to all changes in this revision

Viewing changes to random/ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-16 20:13:32 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090516201332-czkobpu32w318i16
Tags: 1.4.4-2ubuntu1
* Merge from Debian unstable (LP: #364535), remaining changes:
  - Add libgcrypt11-udeb for use by cryptsetup-udeb.
  - Add clean-la.mk, and add a symlink for the .la
  - Install to /lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2009-01-22  Werner Koch  <wk@g10code.com>
 
2
 
 
3
        * random.c (_gcry_random_deinit_external_test): Do not return a
 
4
        value.  Reported Albert Chin.
 
5
 
 
6
2008-09-16  Werner Koch  <wk@g10code.com>
 
7
 
 
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
 
13
        modify the test.
 
14
        * random.c (_gcry_random_init_external_test): Pass FLAGS.
 
15
 
 
16
2008-09-15  Werner Koch  <wk@g10code.com>
 
17
 
 
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
 
22
        32 bit integer.
 
23
        (x931_get_dt): Ditto.
 
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.
 
28
 
 
29
2008-09-05  Werner Koch  <wk@g10code.com>
 
30
 
 
31
        * random.c (_gcry_random_selftest): Return success if not in fips
 
32
        mode.
 
33
 
 
34
2008-09-01  Werner Koch  <wk@g10code.com>
 
35
 
 
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
 
40
        the buffers.
 
41
 
 
42
2008-08-29  Werner Koch  <wk@g10code.com>
 
43
 
 
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
 
53
        has been compiled in.
 
54
        (get_random): Remove locking.
 
55
        (_gcry_rngfips_randomize, _gcry_rngfips_create_nonce): Lock here.
 
56
 
 
57
2008-08-28  Werner Koch  <wk@g10code.com>
 
58
 
 
59
        * random-daemon.c (connect_to_socket): Use GPG_ERR_ENAMETOOLONG.
 
60
 
 
61
2008-08-25  Werner Koch  <wk@g10code.com>
 
62
 
 
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.
 
67
        (selftest_kat): New.
 
68
 
 
69
2008-08-22  Werner Koch  <wk@g10code.com>
 
70
 
 
71
        * random.c (_gcry_update_random_seed_file): Move operational check
 
72
        to _gcry_vcontrol.
 
73
        (_gcry_fast_random_poll): Ditto.
 
74
        (_gcry_random_selftest): New.
 
75
        * random-fips.c (_gcry_rngfips_selftest): New.
 
76
 
 
77
2008-08-21  Werner Koch  <wk@g10code.com>
 
78
 
 
79
        * random-fips.c: Finish implementation.
 
80
 
 
81
2008-08-15  Werner Koch  <wk@g10code.com>
 
82
 
 
83
        * random-fips.c: New.
 
84
 
 
85
        * random-csprng.c (process-cb, progress_cb_data): Move to
 
86
        random.c.
 
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.
 
108
 
 
109
        * random.c: Factor all code out to random-csprng.c and implement
 
110
        wrapper functions.
 
111
 
 
112
2008-07-05  Werner Koch  <wk@g10code.com>
 
113
 
 
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
 
116
        here.
 
117
        * Makefile.am: New.
 
118
 
 
119
 Copyright 2008 Free Software Foundation, Inc.
 
120
 
 
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.
 
124
 
 
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.
 
128
        
 
 
b'\\ No newline at end of file'