Bug?? I do not think so.

I was able to get this result when giving it a zero value for the peer
public key. There is nothing cryptographically sensible about a zero public
key, but DH_compute_key() goes ahead and dutifully computes (0)^priv_key mod
p, which really is just 0.

_____________________________________
Greg Stark
Ethentica, Inc.
[EMAIL PROTECTED]
_____________________________________



----- Original Message -----
From: "Josh Howlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 5:12 PM
Subject: help: DH_compute_key


> Hi all,
>
> Why might I be getting a return value of 0 from DH_compute_key (i.e.
> secret key size = 0).  I get no errors when generating DH_generate
> parameters (return value=1).  Any ideas?
>
> Thanks in advance,
>
> josh.
>
> -------------------
> Josh Howlett, Network Supervisor,
> Networking and Digital Communications,
> Information Services.
> [EMAIL PROTECTED] | 0117 9546895
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to