Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DSA_dup_DH(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dh(3)

dsa(3)

err(3)

DSA_dup_DH(3)  —  Subroutines

NAME

DSA_dup_DH − Create a DH structure out of DSA structure

SYNOPSIS

#include <openssl/dsa.h>
DH ∗ DSA_dup_DH(
        DSA ∗r );

DESCRIPTION

The DSA_dup_DH() function duplicates DSA parameters/keys as DH parameters/keys. The q is lost during that conversion, but the resulting DH parameters contain its length. 

NOTES

Be careful to avoid small subgroup attacks when using this. 

RETURN VALUE

The DSA_dup_DH() function returns the new DH structure, and NULL on error. The error codes can be obtained from ERR_get_error(). 

HISTORY

The DSA_dup_DH() function was added in OpenSSL 0.9.4. 

SEE ALSO

Functions: dh(3), dsa(3), err(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026