Initialize a Montgomery context for modulus mod.
Synopsis
Declared in <openssl/bn.h>
int
BN_MONT_CTX_set(
BN_MONT_CTX* mont,
BIGNUM const* mod,
BN_CTX* ctx);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
mont |
Context to configure. |
mod |
Odd modulus m. |
ctx |
BN_CTX for temporary storage. |
Created with MrDocs