ltc_math_descriptor.rsa_keygen

RSA Key Generation @param prng An active PRNG state @param wprng The index of the PRNG desired @param size The size of the modulus (key size) desired (octets) @param e The "e" value (public key). e==65537 is a good choice @param key out Destination of a newly created private key pair @return CRYPT_OK if successful, upon error all allocated ram is freed

struct ltc_math_descriptor
int function(prng_state* prng, int wprng, int size, long e, rsa_key* key) nothrow rsa_keygen;

Meta