78f84f4e03
The functions appear to try to handle negative inputs, but it isn't clear how negative inputs are supposed to work and/or if these functions work the way they are supposed to given negative inputs. There seems to be no legitimate reason to pass these functions negative inputs, so just document that negative inputs shouldn't be used. More specifically, document that the inputs should be in the range [0, n) where |n| is the Montgomery modulus. Change-Id: Id8732fb89616f10e673704e6fa09d78926c402d8 Reviewed-on: https://boringssl-review.googlesource.com/9033 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
openssl |