From: Linus Walleij Date: Mon, 9 Sep 2013 07:35:54 +0000 (+0200) Subject: crypto: tegra - use kernel entropy instead of ad-hoc X-Git-Tag: v3.13-rc2~35^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b38c5f19b1dafb413c6581cd4a0d84d3b6512f;p=pandora-kernel.git 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 Cc: Neil Horman Cc: linux-tegra@vger.kernel.org Signed-off-by: Linus Walleij Acked-by: Stephen Warren Signed-off-by: Herbert Xu --- Reading git-diff-tree failed