projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef8b601
)
Add a warning about the usage of the montgomery functions (if the inputs
author
Ulf Möller
<ulf@openssl.org>
Wed, 29 Nov 2000 22:37:14 +0000
(22:37 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Wed, 29 Nov 2000 22:37:14 +0000
(22:37 +0000)
are not reduced modulo m, the outputs won't be either).
doc/crypto/BN_mod_mul_montgomery.pod
patch
|
blob
|
history
diff --git
a/doc/crypto/BN_mod_mul_montgomery.pod
b/doc/crypto/BN_mod_mul_montgomery.pod
index 64524700763c94bba8f70af3524e3d6343d60dd0..ed4af7a214ed1bd94cc183fe5dc52498d6e8fc9e 100644
(file)
--- a/
doc/crypto/BN_mod_mul_montgomery.pod
+++ b/
doc/crypto/BN_mod_mul_montgomery.pod
@@
-80,6
+80,11
@@
BN_MONT_CTX_init() and BN_MONT_CTX_free() have no return values.
For the other functions, 1 is returned for success, 0 on error.
The error codes can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.
+=head1 WARNING
+
+The inputs must be reduced modulo B<m>, otherwise the result will be
+outside the expected range.
+
=head1 SEE ALSO
L<bn(3)|bn(3)>, L<err(3)|err(3)>, L<BN_add(3)|BN_add(3)>,