commit | a436f21e0f89331bc49a117f7f76015447905a31 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 30 10:00:17 2014 -0600 |
committer | Tom Rini <trini@ti.com> | Sat Aug 09 11:17:04 2014 -0400 |
tree | 4eec89ac139e09980f5d81ade3cefb1a7ed1346a | |
parent | 641e3cee436d3fb8f9cacf0eddbbda734ef5526b [diff] |
rsa: Fix two errors in the implementation 1. Failure to set the return code correctly 2. Failure to detect the loop end condition when the value is equal to the modulus. Reported-by: Jeroen Hofstee <jeroen@myspectrum.nl> Signed-off-by: Simon Glass <sjg@chromium.org>