commit | f413eb03d92cb5e119266da872de03e4c07b7f3b | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Sat Aug 01 17:40:25 2015 +0300 |
committer | Jouni Malinen <j@w1.fi> | Sat Aug 01 21:08:11 2015 +0300 |
tree | 1a02f52079fd3e86f63b38e804e872b632fddb3c | |
parent | 3b86d77bae6c3a59f513c49f8d7a1f429f926e25 [diff] |
random: Fix random_get_bytes() with CONFIG_FIPS=y The bytes pointer was not reset back to the beginning of the buffer when mixing in additional entropy from the crypto module. This resulted in writing beyond the return buffer and not getting the required mixing of the extra entropy for the actual return buffer. Signed-off-by: Jouni Malinen <j@w1.fi>