void updateKey ( ap_uint <N> inputModulus, ap_uint <L> inputExponent, ap_uint <N> inputRMod )
Update key before use it to encrypt message.
Parameters:
inputModulus | Modulus in RSA public key. |
inputExponent | Exponent in RSA public key or private key. |
inputRMod | 2^(2 * N) mod modulus, pre-calculated by user |