[openssl-users] Generation of the primes p, q and g for DSA using an Hash Function in OpenSSL

Mofassir Ul Haque mofassir_haque at yahoo.com
Thu Dec 3 05:18:43 UTC 2015

Hi Jakob, 
               Many thanks for pointing this to me. I will give it a try.Kind Regards,   

    On Thursday, 3 December 2015 9:57 AM, Jakob Bohm <jb-openssl at wisemo.com> wrote:

 On 26/11/2015 11:25, Mofassir Ul Haque wrote:
> We can generate primes p,q and g for DSA in OpenSSL by using command:
> openssl dsaparam -text -out dsaparam.pem 1024
> Is it possible to generate primes p , q and g using an Hash Function 
> in OpenSSL if value of L , N and hash function is known ?
> Any help will be greatly appreciated !
One solution (if all else fails) is to implement the
calculations direcly using the bigint functions in
version 1.0.2 and older of OpenSSL.

This has worked very well for me in code that didn't
need FIPS certification.


Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20151203/7c2a6864/attachment-0001.html>

More information about the openssl-users mailing list