BN_power17Mod Function (ROM Call 0x122)

rsa.h

void BN_power17Mod (BN *dest, const BN *x, const BN *n);

Raises a big integer to the 17-th power modulo n.

BN_power17Mod calculates Y = (X ^ 17) mod N where Y, X and N are big integers (up to 2040 bits) stored in BN structures pointed to by dest, x and n respectively.

This is main routine for RSA decryption used in cdecrypt (see BN for more info about how RSA works).


Uses: BN_prodMod
Used by: cdecrypt