From 06676624fc148d511543586502126b3f2bf8b5dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulf=20M=C3=B6ller?= Date: Wed, 29 Nov 2000 22:37:14 +0000 Subject: [PATCH] Add a warning about the usage of the montgomery functions (if the inputs are not reduced modulo m, the outputs won't be either). --- doc/crypto/BN_mod_mul_montgomery.pod | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/crypto/BN_mod_mul_montgomery.pod b/doc/crypto/BN_mod_mul_montgomery.pod index 6452470076..ed4af7a214 100644 --- 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. +=head1 WARNING + +The inputs must be reduced modulo B, otherwise the result will be +outside the expected range. + =head1 SEE ALSO L, L, L, -- 2.34.1