#include <RSACrypt.h>
Public Member Functions | |
| RSACrypt () | |
| ~RSACrypt () | |
| bool | setPrivateKey (const uint32_t *p, const uint32_t *q, int halfFactorLimbs) |
| bool | setPublicKey (const uint32_t *modulus, int mod_limbs, uint32_t e) |
| bool | generatePrivateKey (uint32_t limbs) |
| uint32_t | getFactorLimbs () |
| void | getPrivateP (uint32_t *p) |
| void | getPrivateQ (uint32_t *q) |
| uint32_t | getModLimbs () |
| void | getPublicModulus (uint32_t *modulus) |
| uint32_t | getPublicExponent () |
| bool | encrypt (uint32_t *ct, const uint32_t *pt) |
| bool | decrypt (uint32_t *pt, const uint32_t *ct) |
Definition at line 9 of file RSACrypt.h.
| RSACrypt::RSACrypt | ( | ) |
Definition at line 12 of file RSACrypt.cpp.
| RSACrypt::~RSACrypt | ( | ) |
Definition at line 29 of file RSACrypt.cpp.
Definition at line 198 of file RSACrypt.cpp.


Definition at line 189 of file RSACrypt.cpp.


| bool RSACrypt::generatePrivateKey | ( | uint32_t | limbs | ) |
Definition at line 148 of file RSACrypt.cpp.


| uint32_t RSACrypt::getFactorLimbs | ( | ) |
Definition at line 159 of file RSACrypt.cpp.
| uint32_t RSACrypt::getModLimbs | ( | ) |
Definition at line 174 of file RSACrypt.cpp.
| void RSACrypt::getPrivateP | ( | uint32_t * | p | ) |
| void RSACrypt::getPrivateQ | ( | uint32_t * | q | ) |
| uint32_t RSACrypt::getPublicExponent | ( | ) |
| void RSACrypt::getPublicModulus | ( | uint32_t * | modulus | ) |
Definition at line 179 of file RSACrypt.cpp.


Definition at line 57 of file RSACrypt.cpp.


Definition at line 130 of file RSACrypt.cpp.


1.7.1