Add a warning about the usage of the montgomery functions (if the inputs

are not reduced modulo m, the outputs won't be either).
This commit is contained in:
Ulf Möller 2000-11-29 22:37:14 +00:00
parent ef8b601789
commit 06676624fc

View File

@ -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)>,