From 52261db09ef9dbf5abc95baed22722c5c332f9f7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 20 Jun 2006 17:33:26 +0000 Subject: Pulling OpenSSL 0.9.8b into trunk svn path=/openssl/trunk; revision=3 --- openssl/trunk/doc/crypto/DSA_generate_key.pod | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 openssl/trunk/doc/crypto/DSA_generate_key.pod (limited to 'openssl/trunk/doc/crypto/DSA_generate_key.pod') diff --git a/openssl/trunk/doc/crypto/DSA_generate_key.pod b/openssl/trunk/doc/crypto/DSA_generate_key.pod new file mode 100644 index 00000000..af83ccfa --- /dev/null +++ b/openssl/trunk/doc/crypto/DSA_generate_key.pod @@ -0,0 +1,34 @@ +=pod + +=head1 NAME + +DSA_generate_key - generate DSA key pair + +=head1 SYNOPSIS + + #include + + int DSA_generate_key(DSA *a); + +=head1 DESCRIPTION + +DSA_generate_key() expects B to contain DSA parameters. It generates +a new key pair and stores it in Bpub_key> and Bpriv_key>. + +The PRNG must be seeded prior to calling DSA_generate_key(). + +=head1 RETURN VALUE + +DSA_generate_key() returns 1 on success, 0 otherwise. +The error codes can be obtained by L. + +=head1 SEE ALSO + +L, L, L, +L + +=head1 HISTORY + +DSA_generate_key() is available since SSLeay 0.8. + +=cut -- cgit v1.2.3