commit | 542671623129f1db947801d2756186b501c98c49 | [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 | 8ac22a60e29c4d0925e3d640a3607eabb2732b26 [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>