I am a newbie in cryptography. Need little help to start off.
I have Modulus field & Private Exponent field given by the server and i need to compose the private key from it using Tomcrypt library.
I am not able to figure out which Api from tomcrypt would do this for me. If anybody can let me know the api or the steps to do it , it would be divine.
Thanks
I am not sure if the tomcrypt has the support to generate private key from the given private exponent and modulus field. However, tomcrypt provides rsa_make_key functions to generate keys. The public/private keys can then be exported from these keys using rsa_export function.