Re: Problems with OpenSSl BN

2012-05-14 Thread Matt Caswell (fr...@baggins.org)
On 14/05/12 15:48, chip...@gmx.de wrote: Hello, I am using the OpenSSL BN functions. Wenn I measure the time which a BN function needs, then I see that for example BN_mod_add, needs for every calling different times. Shouldn't it be the same timeconsumption, every time I call for example BN_m

TLS/SSL Negative Scenarios

2012-05-14 Thread Mr.Rout
Hi Folks, In RFC-2246 there are various ways of Handshake failure. Alert Descriptions === unexpected message 10 bad record mac 20 decryption failed 21 record overflow 22 decompression failure 30 unsupported certificate 43 certificate revoked 44 certificate unknown 46 illegal paramete

Problems with OpenSSl BN

2012-05-14 Thread chipler
Hello, I am using the OpenSSL BN functions. Wenn I measure the time which a BN function needs, then I see that for example BN_mod_add, needs for every calling different times. Shouldn't it be the same timeconsumption, every time I call for example BN_mod_add? The deviation is up to 300%. Than

Re: Generating random keys/data on Windows

2012-05-14 Thread Web Developer
Thanks for the help Jakob. To make sure I understand this right: Do I need to seed the PRNG on Windows explicitly then? OR is it seeded transparently as it is for Linux/Unix platforms? If I do need to seed it explicitly then should I use RAND_screen() or RAND_event() function? The (outdated) doc

Re: Are those TLS-SRP cipher suites supported?

2012-05-14 Thread Peter Sylvester
On 05/14/2012 02:59 PM, marek.marc...@malkom.pl wrote: Hello, $ openssl version OpenSSL 1.0.0 29 Mar 2010 $ openssl ciphers -V For SRP one should use the 1.0.1 version. openssl version OpenSSL 1.0.1 14 Mar 2012 openssl ciphers SRP SRP-DSS-AES-256-CBC-SHA:SRP-RSA-AES-256-CBC-SHA:SRP-AES-256-CB

Re: Are those TLS-SRP cipher suites supported?

2012-05-14 Thread Marek . Marcola
Hello, $ openssl version OpenSSL 1.0.0 29 Mar 2010 $ openssl ciphers -V Best regards, -- Marek Marcola owner-openssl-us...@openssl.org wrote on 05/13/2012 12:57:40 PM: > Krzysztof Jercha > Sent by: owner-openssl-us...@openssl.org > > 05/14/2012 01:46 PM > > Please respond to > openssl-use

RE: Help me find the SSL wrapper/another solution

2012-05-14 Thread Marcin Głogowski
Thank you for help Currently I'm testing Boost/Asio - it seems what I need (but has short read bug 1.49 ;-) Best regards, Marcin Głogowski -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Ben Laurie Sent: Saturday, May 12, 20

Re: Looking for (easy) help.

2012-05-14 Thread Ben Laurie
On Sat, May 12, 2012 at 12:15 AM, wrote: > Ahhh! > So, a 15 byte block (or ends with a 15 byte after multiples of 16 bytes) > would use a 0x01 in the last position...? > > And a whole multiple of 16 blocks would have an extra block filled with > 0x0f's...? 0x10, actually. > > My initial testing

Re: Help me find the SSL wrapper/another solution

2012-05-14 Thread Ben Laurie
demos/state_machine demos/tunala On Tue, May 8, 2012 at 2:17 PM, Marcin Głogowski wrote: > Hello, > I have to write non blocking SSL/TLS server based on the OpenSSL library. > I couldn't find any example/tutorial with this. > Please write me where can I find some client/server examples or simple

Question on Openssl.NET C# Wrapper + OpenSSL 1.0.1b

2012-05-14 Thread Damian Kohlfeld
Recently I rewrote most of the C# Openssl.NET wrapper to comply with 1.0.1b (from 0.9.8 structs/methods/enc/auth/mac/etc, very rough.) and I had a question which is related to both openssl "C" and the wrapper. Since this list encompasses only Openssl "C", and there is no list for the C# wrapp