Developer Reference for Intel® Integrated Performance Primitives Cryptography

RSA Algorithm Functions

RSA Notation

The following description uses PKCS #1 v2.1: RSA Cryptography Standard conventions:

All the numbers above are positive integers.

Keep in mind the following assumptions:

RSA public key operation

y = xe mod n, x and y are plane- and ciphertext correspondingly

RSA private key (1-st representation) operation

x = yd mod n, y and x are cipher- and plaintext correspondingly

RSA private key (2-nd representation) operation or CRT-based RSA private key operation

x1 = ydP mod p

x2 = ydQ mod q

t = (x1-x2) * qInv mod p

x = x2 + q*t