PRNG with seed, use interrupt timing bit for shaking CRC16 entropy pool
[gnuk/neug.git] / ChangeLog
1 2011-08-29  NIIBE Yutaka  <gniibe@fsij.org>
2
3         * src/random.c (ep_add): New argument another_random_bit.
4         (crc32_top_bit, crc32_add_bit): Delete.
5         (tmt_init): New.
6         (rng_gen): Call ep_add with SysTick->VAL shake.
7         Don't shake PRNG by interrupt timing.
8         (neug_prng_reseed): New.
9
10         * src/main.c (main): Call neug_prng_reseed after new connection.
11
12         * src/neug.h (neug_prng_reseed): New.
13
14 2011-08-19  NIIBE Yutaka  <gniibe@fsij.org>
15
16         * src/random.c (tmt_one_step): No argument.
17         (crc32_top_bit, crc32_add_bit): New.
18         (rng_gen): Have return value.  Put interrupt timing entropy
19         to CRC32 shift register, and use the top bit of CRC32 to
20         shake the steps of TMT.
21
22 2011-08-10  NIIBE Yutaka  <gniibe@fsij.org>
23
24         * boards/STM8S_DISCOVERY/mcuconf.h: New.
25         * boards/STM8S_DISCOVERY/board.h: New.
26         * boards/STM8S_DISCOVERY/board.c: New.
27
28 2011-07-22  NIIBE Yutaka  <gniibe@fsij.org>
29
30         * boards/OLIMEX_STM32_H103/mcuconf.h (STM32_USBPRE): Add.
31
32         * src/main.c (main): Fix one shot logic.
33
34 2011-07-21  NIIBE Yutaka  <gniibe@fsij.org>
35
36         * src/neug.h (NEUG_PRE_LOOP): New.
37
38         * src/main.c (led_blinker): New.
39         (main): Use led_blinker.
40         (main): Call neug_get before USB configuration at least
41         NEUG_PRE_LOOP times.
42
43 2011-07-14  NIIBE Yutaka  <gniibe@fsij.org>
44
45         * src/configure: Support CQ_STARM.
46         * boards/CQ_STARM: Added.
47
48         * Version 0.00.
49