Copy Montgomery context from into to.
Synopsis
Declared in <openssl/bn.h>
BN_MONT_CTX*
BN_MONT_CTX_copy(
BN_MONT_CTX* to,
BN_MONT_CTX* from);
Return Value
to on success, or NULL on error.
Parameters
Name |
Description |
to |
Destination context (must already be allocated). |
from |
Source context to duplicate. |
Created with MrDocs