FIPS Module 1.2.3 build with Visual Studio 2010 fails self-tests

2012-04-15 Thread Vimol Kshetrimayum
Hi, I have successfully built x64 version of FIPS object module (1.2.3) and openSSL 0.9.8.u on Windows 7 with Visual Studio 2010. However, out32dll/fips_test_suite.exe fails with following error. --- out32dllfips_test_suite.exe

Re: FIPS Module 1.2.3 build with Visual Studio 2010 fails self-tests

2012-04-15 Thread Vimol Kshetrimayum
Sorry, please ignore this. Same message is posted in openssl-dev list. Thanks, -Vimol On Sun, Apr 15, 2012 at 2:45 PM, Vimol Kshetrimayum kvi...@gmail.comwrote: Hi, I have successfully built x64 version of FIPS object module (1.2.3) and openSSL 0.9.8.u on Windows 7 with Visual Studio 2010.

ECC generate public key with given private key

2012-04-15 Thread opensshelpmeplz
I need to generate a public EC key given a private EC key that I provide myself. Is it possible to do this with OpenSSL? I have no problems to generate a key pair , and I know how to set private and public key to specific values, but is there some way to give it a private key and get a

Re: ECC generate public key with given private key

2012-04-15 Thread Marek . Marcola
Hello, To generate EC key pair you should: - choose EC curve (eg secp256r1, secp384r1, ...) - generate private key: d = random(0,...,n) (0 d n) - generate public key dG = d*G where n = generator order, G = generator. If you have private key d then you should calculate public key dG =

Re: ECC generate public key with given private key

2012-04-15 Thread Matt Caswell (fr...@baggins.org)
On 14/04/12 11:32, opensshelpmeplz wrote: I need to generate a public EC key given a private EC key that I provide myself. Is it possible to do this with OpenSSL? I have no problems to generate a key pair , and I know how to set private and public key to specific values, but is there some way to

Hello guyz and cryptobrains! :P

2012-04-15 Thread toredhiddenuser
Hello guyz and cryptobrains! :P One of the main disadvantages of EC on openssl seems to be the inability to create arbitrary-sized keys and advantage for RSA: you can create 32768 bit RSA key but... not greater than 521 bits on ECC. Will this continue to be a disadvantage or can 32768 RSA key be

Re: Hello guyz and cryptobrains! :P

2012-04-15 Thread Jeffrey Walton
On Sun, Apr 15, 2012 at 12:01 PM, toredhiddenu...@tormail.net wrote: Hello guyz and cryptobrains! :P One of the main disadvantages of EC on openssl seems to be the inability to create arbitrary-sized keys and advantage for RSA: you can create 32768 bit RSA key but... not greater than 521

Re: Hello guyz and cryptobrains! :P

2012-04-15 Thread Matt Caswell (fr...@baggins.org)
On 15/04/12 17:01, toredhiddenu...@tormail.net wrote: Hello guyz and cryptobrains! :P One of the main disadvantages of EC on openssl seems to be the inability to create arbitrary-sized keys and advantage for RSA: you can create 32768 bit RSA key but... not greater than 521 bits on ECC. Will

Re: Hello guyz and cryptobrains! :P

2012-04-15 Thread Dr. Stephen Henson
On Sun, Apr 15, 2012, Jeffrey Walton wrote: On Sun, Apr 15, 2012 at 12:01 PM, toredhiddenu...@tormail.net wrote: Hello guyz and cryptobrains! :P One of the main disadvantages of EC on openssl seems to be the inability to create arbitrary-sized keys and advantage for RSA: you can create

Re: Hello guyz and cryptobrains! :P

2012-04-15 Thread Dr. Stephen Henson
On Sun, Apr 15, 2012, Matt Caswell (fr...@baggins.org) wrote: First of all there is nothing about the openssl EC library that restricts the key length. Well there is a limit on key sizes for public key algorithms to avoid their use as a DoS attack. This limit is currently 661 bits for EC

Re: How to 'test' if SSL is working??

2012-04-15 Thread Neil Rieck
You use the command line utility of your own machine, or another, to test SSL functionality: Here is the way you connect to google: openssl s_client -connect www.google.com:443 -debug Here are some more examples: http://www3.sympatico.ca/n.rieck/docs/openvms_notes_ssl.html#ssl-one-liners

a question about openssl sessions

2012-04-15 Thread Stéphane Charette
I've sent 3 e-mails to the list over the past 10 days, but not a single reply. I'm a bit worried, as I don't know how else to get help on OpenSSL. I'm using Openssl to talk to a server that expects to re-use ssl sessions when a client needs to open many SSL connections. I have the same code

auth d8ed9fedfdf5c63d subscribe openssl-users mengdewei.2...@163.com

2012-04-15 Thread mengdewei.2100

Re: Hello guyz and cryptobrains! :P

2012-04-15 Thread toredhiddenuser
On Sun, Apr 15, 2012 at 12:01 PM, toredhiddenu...@tormail.net wrote: Hello guyz and cryptobrains! :P One of the main disadvantages of EC on openssl seems to be the inability to create arbitrary-sized keys and advantage for RSA: you can create 32768 bit RSA key but... not greater than 521