Re: RSA encryption/decryption time confusion (discrepancy?)

2005-03-03 Thread Nils Larsch
Vishwas wrote: Dear SSLites, Please observe the following operations. I do the following:- key1 = RSA_generate_key(n, e1, NULL, NULL); num = RSA_private_encrypt(plen, ptext_ex, ctext, key1, RSA_PKCS1_PADDING); RSA_public_decrypt(num, ctext, ptext, key1, RSA_PKCS1_PADDING); Average encryption time i

RSA encryption/decryption time confusion (discrepancy?)

2005-03-03 Thread Vishwas
Dear SSLites, Please observe the following operations. I do the following:- key1 = RSA_generate_key(n, e1, NULL, NULL); num = RSA_private_encrypt(plen, ptext_ex, ctext, key1, RSA_PKCS1_PADDING); RSA_public_decrypt(num, ctext, ptext, key1, RSA_PKCS1_PADDING); Average encryption time is = 5463361