#include "rsakp.h"
Go to the source code of this file.
Functions | |
int | rsapub (const rsapk *pk, const mpnumber *m, mpnumber *c) |
This function performs a raw RSA public key operation. | |
int | rsapri (const rsakp *kp, const mpnumber *c, mpnumber *m) |
This function performs a raw RSA private key operation. | |
int | rsapricrt (const rsakp *kp, const mpnumber *c, mpnumber *m) |
This function performs a raw RSA private key operation, with application of the Chinese Remainder Theorem. | |
int | rsavrfy (const rsapk *pk, const mpnumber *m, const mpnumber *c) |
This function performs a raw RSA verification. |
Definition in file rsa.h.
|
This function performs a raw RSA private key operation. This function can be used for decryption and signing. It performs the operation:
|
|
This function performs a raw RSA private key operation, with application of the Chinese Remainder Theorem. It performs the operation:
|
|
This function performs a raw RSA public key operation. This function can be used for encryption and verifying. It performs the following operation:
|
|
This function performs a raw RSA verification. It verifies if ciphertext c was encrypted from cleartext m with the private key matching the given public key pk.
|