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