more tweak
[gnuk/neug.git] / ChangeLog
1 2011-09-22  NIIBE Yutaka  <gniibe@fsij.org>
2
3         * src/random.c  (ROTATE): Remove.
4         (SHIFT_RIGHT): New.
5         (ep_add): Use SHIFT_RIGHT.
6
7 2011-09-21  NIIBE Yutaka  <gniibe@fsij.org>
8
9         * src/random.c (ep_output): Bug fix for second argument of
10         fnv32_hash, and change the way to place values into the buffer.
11         (ep_add): Feedback byte always shift 1-bit, entropy_bit sometimes.
12
13 2011-09-20  NIIBE Yutaka  <gniibe@fsij.org>
14
15         * boards/STBEE/mcuconf.h, boards/STBEE/board.h: New.
16         * boards/STBEE/board.c: New.
17         * boards/common/board-common.c (pal_default_config): Add case for
18         STM32F10X_HD.
19         * src/configure: Support STBEE.
20
21         * src/random.c (PROBABILITY_50_BY_TICK): New.
22         (ep_add): Use ROTATE for final feedback only.
23         (fnv32_hash): New.
24         (ep_output): Rename (was: ep_value).  Use fnv32_hash.
25
26 2011-08-29  NIIBE Yutaka  <gniibe@fsij.org>
27
28         * src/random.c (ep_add): New argument another_random_bit.
29         (crc32_top_bit, crc32_add_bit): Delete.
30         (tmt_init): New.
31         (rng_gen): Call ep_add with SysTick->VAL shake.
32         Don't shake PRNG by interrupt timing.
33         (neug_prng_reseed): New.
34
35         * src/main.c (main): Call neug_prng_reseed after new connection.
36
37         * src/neug.h (neug_prng_reseed): New.
38
39 2011-08-19  NIIBE Yutaka  <gniibe@fsij.org>
40
41         * src/random.c (tmt_one_step): No argument.
42         (crc32_top_bit, crc32_add_bit): New.
43         (rng_gen): Have return value.  Put interrupt timing entropy
44         to CRC32 shift register, and use the top bit of CRC32 to
45         shake the steps of TMT.
46
47 2011-08-10  NIIBE Yutaka  <gniibe@fsij.org>
48
49         * boards/STM8S_DISCOVERY/mcuconf.h: New.
50         * boards/STM8S_DISCOVERY/board.h: New.
51         * boards/STM8S_DISCOVERY/board.c: New.
52
53 2011-07-22  NIIBE Yutaka  <gniibe@fsij.org>
54
55         * boards/OLIMEX_STM32_H103/mcuconf.h (STM32_USBPRE): Add.
56
57         * src/main.c (main): Fix one shot logic.
58
59 2011-07-21  NIIBE Yutaka  <gniibe@fsij.org>
60
61         * src/neug.h (NEUG_PRE_LOOP): New.
62
63         * src/main.c (led_blinker): New.
64         (main): Use led_blinker.
65         (main): Call neug_get before USB configuration at least
66         NEUG_PRE_LOOP times.
67
68 2011-07-14  NIIBE Yutaka  <gniibe@fsij.org>
69
70         * src/configure: Support CQ_STARM.
71         * boards/CQ_STARM: Added.
72
73         * Version 0.00.
74