On 4/21/05 6:17 AM, "Christian Beaulieu" <[EMAIL PROTECTED]> wrote:
> I¹ve need getting a strange out of my application when generating
> Diffie-Hellman keys. I am using OAKLEY primes for key generation and the
> strange thing is that sometimes my key length ends up one byte short of the
> expecte
On 4/2/05 12:51 AM, "Nils Larsch" <[EMAIL PROTECTED]> wrote:
> ... BN_bin2bn should correctly handle leading zeros in binary input
Okay, great. Thanks for all the help.
__
OpenSSL Project http://
On 4/1/05 8:20 AM, "Nils Larsch" <[EMAIL PROTECTED]> wrote:
> this of course reduces the key space for the private key, but if you
> really need a fixed size public key you need to do it.
Would it reduce security or be unsafe to simply prepend zero bytes after
calling BN_bn2bin to make it fill 12
On 4/1/05 1:57 AM, "Nils Larsch" <[EMAIL PROTECTED]> wrote:
> the dh public key is the result of g**k mod p (k is the private key)
> operation and hence may have less than BN_num_bytes(p) bytes (approx.
> every 256 key should have <= 127 bytes).
I didn't realize that. Thanks for the explanation.
I'm seeing DH_generate_key generate a public key that is 1 byte less than
expected (127 instead of 128 bytes for a 1024-bit key), but only
sporadically (about every 200-300 tries). I've written the following test
case that always fails for me in less than 300 iterations. I've only
included error ch
On 9/26/03 12:28 PM, "Jeff Liesmaki" <[EMAIL PROTECTED]> wrote:
> I am trying to build the openssl libraries for VxWorks. My host computer is a
> pc running Windows 2000 and my target is a pentium pc. I have Vxworks 5.4 and
> Tornado 2.02. I downloaded cygwin and when I type ./configure to lis
I'm trying to build OpenSSL 0.9.7b for VxWorks (Tornado 2.0.2 for PowerPC
860) on a Windows XP host and I ran into some problems. I did the following:
0) Installed Tornado 2.0.2 (a while ago, but noted just to be thorough).
1) Installed cygwin.
2) Launched cygwin.
3) Un-targz'd OpenSSL 0.9.7b into