summaryrefslogtreecommitdiffstats
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-09-09 09:35:54 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2013-09-13 21:43:53 +1000
commitf5b38c5f19b1dafb413c6581cd4a0d84d3b6512f (patch)
tree6ed73974a4a8cec70834be01514c8af2852dfaf4 /fs/filesystems.c
parenta44bc80e66b4014e462cb8be9d354a7bc4723b7e (diff)
downloadblackbird-op-linux-f5b38c5f19b1dafb413c6581cd4a0d84d3b6512f.tar.gz
blackbird-op-linux-f5b38c5f19b1dafb413c6581cd4a0d84d3b6512f.zip
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 <vwadekar@nvidia.com> Cc: Neil Horman <nhorman@tuxdriver.com> Cc: linux-tegra@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud