X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FBN_mod_mul_montgomery.pod;h=0b8ab512df87097de499a862c0f47abd3f824cf9;hp=0f0c1375af2327dba6fa144fe3ad485b0d7d3f90;hb=b7b40c3120a6226eb43dfdd8fdecf611b0e4ff31;hpb=6535eb1728a7d30673d0a95da5fd18126b7d0b71 diff --git a/doc/crypto/BN_mod_mul_montgomery.pod b/doc/crypto/BN_mod_mul_montgomery.pod index 0f0c1375af..0b8ab512df 100644 --- a/doc/crypto/BN_mod_mul_montgomery.pod +++ b/doc/crypto/BN_mod_mul_montgomery.pod @@ -39,7 +39,7 @@ BN_MONT_CTX_init() initializes an existing uninitialized B. BN_MONT_CTX_set() sets up the B structure from the modulus B by precomputing its inverse and a value R. -BN_MONT_CTX_copy() copies the B B to B. +BN_MONT_CTX_copy() copies the B B to B. BN_MONT_CTX_free() frees the components of the B, and, if it was created by BN_MONT_CTX_new(), also the structure itself. @@ -49,7 +49,7 @@ the result in B. BN_from_montgomery() performs the Montgomery reduction B = B*R^-1. -BN_to_montgomery() computes Mont(B,R^2). +BN_to_montgomery() computes Mont(B,R^2), i.e. B*R. For all functions, B is a previously allocated B used for temporary variables.