Private key from primes

2010-05-23 Thread Ben Agre
So I currently have two primes and would like them to be output into the PEM format. Such that I can supply an p and q and get back a certificate? Does openssl currently support this or do you know of another application that will do this requested action for me. Thank you very much. Sincerely,

RE: CA file with multiple certificates, only the 1st one in the file works

2010-05-23 Thread cschwaderer
Thanks - the certificates are self-signed and they do indeed have the same subject and issuer. When we changed the subject of one of the certificates, things work. Also, thanks so much for the comments through the code. I just learned about the error string calls lately, so I'll be sure to clean

EncryptFinal, aes_128_cbc and unexpected remaining data

2010-05-23 Thread Pedro LamarĂ£o
In the following program, there is an explicit pre-condition that the data to be processed is a multiple of the block size, with check in code. cipher is EVP_aes_128_cbc() for sure. The program is a filter-like wrapper over a normal file. http://pastebin.com/h8xrmR8a The last assertion in the

compilation problem for xscale.

2010-05-23 Thread Carruth, Rusty
I've compiled openssl to run on an xscale, and it worked fine except for one major issue - I could not load the resulting module until I changed this in crypto/api: EXPORT_SYMBOL_GPL(crypto_register_alg); EXPORT_SYMBOL_GPL(crypto_unregister_alg); EXPORT_SYMBOL_GPL(crypto_alloc_tfm);

question about exponent, key length and all other RSA parameters not configurable

2010-05-23 Thread Pareto, Charles
Hi, I'm trying to get the same result with the c# RSACryptoServiceProvider class that 'openssl.exe rsautl ' gives me. The c# class wants more properties set before you can encrypt a message. How can I obtain the parameters that 'openssl.exe rsautl' implements. For example the exponent, q

RE: question about exponent, key length and all other RSA parameters not configurable

2010-05-23 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Pareto, Charles Sent: Friday, 21 May, 2010 17:14 I'm trying to get the same result with the c# RSACryptoServiceProvider class that 'openssl.exe rsautl ' gives me. The c# class wants more properties set before you

Re: question about exponent, key length and all other RSA parameters not configurable

2010-05-23 Thread Chuck Pareto
Hi, I'm a newbie when it comes to RSA, the last time I learned it was in school over 7 years ago in one lecture. Maybe I'm missing something but I will try to explain my problem again. A former co worker generated a public and private key for our group. (I think he used PGP but not sure). So I

Re: EncryptFinal, aes_128_cbc and unexpected remaining data

2010-05-23 Thread Jeffrey Walton
The last assertion in the program is hit. Am I missing something? PKCS padding. 2010/5/21 Pedro LamarĂ£o pedro.lama...@gmail.com: In the following program, there is an explicit pre-condition that the data to be processed is a multiple of the block size, with check in code. cipher is

Re: question about exponent, key length and all other RSA parameters not configurable

2010-05-23 Thread Jeffrey Walton
OpenSSL is closer to Java than C# or Crypto++. So where you see Java, thisnk OpenSSL. Cryptographic Interoperability: Keys http://www.codeproject.com/KB/security/CryptoInteropKeys.aspx Cryptographic Interoperability: Digital Signatures