Re: [openssl.org #2578] s_client bind ip

2014-05-26 Thread Michael Tuexen
On 25 May 2014, at 23:29, Kurt Roeckx k...@roeckx.be wrote: On Sun, May 25, 2014 at 10:20:03PM +0200, Michael Tuexen wrote: I'm just a bit hesitating to invest more time given that the patch wasn't accepted the last four years... If there is interest, I would be happy to update it to include

Re: [openssl.org #2578] s_client bind ip

2014-05-26 Thread Krzysztof Kwiatkowski
Following the comment of Viktor I've updated the pull request with documentation for new -localip option. On Sun, 2014-05-25 at 14:29 +0200, Krzysztof Kwiatkowski via RT wrote: Thanks, I didn't notice this change (some merge issue I guess) I'm sending new diff in the attachement. Also I've

Re: suspending and continuing handshake

2014-05-26 Thread DEXTER
Ok. Trying the -users mailing list before going further. On Fri, May 23, 2014 at 10:56 AM, DEXTER mydexte...@gmail.com wrote: Hi! I'm not sure if this is the appropriate list to send this to but since I believe it would need a modification in openssl source code that's why I'm sending this

Re: OPENSSL for windows mobile 5/6

2014-05-26 Thread Ravi vyas
Thanks, I sucessFull All The Steps Which You Given To ME. Now My Next Target To Build For Windows Mobile 6.0 SDK. But The Problem is That. In Windows Mobile 6.0 SDK only 4 Folder 1)Lib 2)Include 3)Device Emulation 4)DeviceemulationV650 . So I can I Set Path For atl and mfc Folders Path. ok In NExt

Re: OPENSSL for windows mobile 5/6

2014-05-26 Thread Pierre DELAAGE
Good, Unless you ABSOKUTELY need some services that is in the WM6 SDK and NOT in WCE420 SDK, I recommend that you continue to play with your installation of WCE420 SDK and evc4 compiler. Now you have built YOUR openssl V100a lib I guess. Is it working with YOUR application on a WM6 emulator

open ssl rsa key generation improvement idea

2014-05-26 Thread Russell Harkins
Hi SSL Team, I was looking for ways to make calculating RSA public/private keys faster. I noticed that trial division was being done to test if a number is divisible by small primes. Roughly 2/3 of all odd numbers are divisible by primes less than 25. I found a faster way to test the divisibility

Issue with 32 bit fips capable openssl , comiled on 64bit windows7

2014-05-26 Thread agrawalamit
Hi, I am facing issue with Issue with 32 bit fips capable openssl , comiled on 64bit windows7. Build issue --- 1) for FIPS canister, ms\do_fips doesn;t works on 5PROCESSOR_ARCHITECTURE%, which is not x86. So have to set manually to x86 2) nasm is not recognized so have to use no-asm

Re: OPENSSL for windows mobile 5/6

2014-05-26 Thread Pierre DELAAGE
Ok, good again For execution time, when all is done with your app, you do NOT need wcecompat NOR wcecompatex, because those lib are STATIC libraries, that are now put inside your dll. You noticed that your compilation of wcecompat DID NOT produce any dll, just libs. Those lib have been

Re: Prime generation

2014-05-26 Thread Viktor Dukhovni
On Mon, May 26, 2014 at 07:24:54PM +0100, Ben Laurie wrote: Finally, all of them have a bias: they're much more likely to pick a prime with a long run of non-primes before it than one that hasn't (in the case of the DH ones, the condition is slightly more subtle, depending on parameters, but

Re: Prime generation

2014-05-26 Thread Viktor Dukhovni
On Mon, May 26, 2014 at 08:23:07PM +0100, Ben Laurie wrote: Where do you see the bias? They all work by picking a random number and then stepping upwards from that number until a probable prime is found. Clearly, that is more likely to find primes with a long run of non-primes before than

Re: Prime generation

2014-05-26 Thread mancha
On Mon, May 26, 2014 at 08:23:07PM +0100, Ben Laurie wrote: On 26 May 2014 19:52, Viktor Dukhovni openssl-us...@dukhovni.org wrote: On Mon, May 26, 2014 at 07:24:54PM +0100, Ben Laurie wrote: Finally, all of them have a bias: they're much more likely to pick a prime with a long run of

Re: Prime generation

2014-05-26 Thread Viktor Dukhovni
On Mon, May 26, 2014 at 08:20:43PM +, mancha wrote: For our purposes, the operative question is whether the distribution bias created can be leveraged in any way to attack factoring (RSA) or dlog (DH). The maximum gap between primes of size $n$ is conjectured to be around $log(n)^2$. If

Re: Prime generation

2014-05-26 Thread mancha
On Mon, May 26, 2014 at 08:49:03PM +, Viktor Dukhovni wrote: On Mon, May 26, 2014 at 08:20:43PM +, mancha wrote: For our purposes, the operative question is whether the distribution bias created can be leveraged in any way to attack factoring (RSA) or dlog (DH). The maximum gap

[openssl.org #3351] BUG: asn1parse chokes with data outside begin/end

2014-05-26 Thread Matt Caswell via RT
Thanks for the feedback. I have changed tack slightly: http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=3d9243f1b614640f3dcbba0d7de89f363581e8e0 I think this is a better approach anyway, and resolves your issue with trailing data after the END marker. Matt

Re: Prime generation

2014-05-26 Thread mancha
On Mon, May 26, 2014 at 09:01:53PM +, mancha wrote: On Mon, May 26, 2014 at 08:49:03PM +, Viktor Dukhovni wrote: On Mon, May 26, 2014 at 08:20:43PM +, mancha wrote: For our purposes, the operative question is whether the distribution bias created can be leveraged in any way