diff options
| author | Linus Walleij <[email protected]> | 2013-09-09 09:35:54 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2013-09-13 21:43:53 +1000 |
| commit | f5b38c5f19b1dafb413c6581cd4a0d84d3b6512f (patch) | |
| tree | 6ed73974a4a8cec70834be01514c8af2852dfaf4 /include/linux/debugobjects.h | |
| parent | a44bc80e66b4014e462cb8be9d354a7bc4723b7e (diff) | |
crypto: tegra - use kernel entropy instead of ad-hoc
The way I read the Tegra AES RNG is that it has a homebrew
algorithm for initializing the 128bit RNG using timespec and
the unique chip ID. This looks like reinventing the (square)
wheel, instead just grab 128bits from the kernel entropy pool
where the time and (after another patch) chip unique ID is
already mixed in.
Incidentally this also gets rid of a rather ugly
cross-dependence on the machine using an extern declaration.
Cc: Varun Wadekar <[email protected]>
Cc: Neil Horman <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Walleij <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions