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