OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
dsa_gen.c File Reference
#include <openssl/opensslconf.h>
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/evp.h>
#include <openssl/bn.h>
#include <openssl/rand.h>
#include <openssl/sha.h>
#include "dsa_locl.h"

Go to the source code of this file.

Macros

#define HASH   EVP_sha1()
 

Functions

int DSA_generate_parameters_ex (DSA *ret, int bits, const unsigned char *seed_in, int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
 
int dsa_builtin_paramgen (DSA *ret, size_t bits, size_t qbits, const EVP_MD *evpmd, const unsigned char *seed_in, size_t seed_len, unsigned char *seed_out, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
 

Macro Definition Documentation

#define HASH   EVP_sha1()

Definition at line 69 of file dsa_gen.c.

Function Documentation

int dsa_builtin_paramgen ( DSA ret,
size_t  bits,
size_t  qbits,
const EVP_MD evpmd,
const unsigned char *  seed_in,
size_t  seed_len,
unsigned char *  seed_out,
int *  counter_ret,
unsigned long *  h_ret,
BN_GENCB cb 
)

Definition at line 132 of file dsa_gen.c.

int DSA_generate_parameters_ex ( DSA ret,
int  bits,
const unsigned char *  seed_in,
int  seed_len,
int *  counter_ret,
unsigned long *  h_ret,
BN_GENCB cb 
)

Definition at line 88 of file dsa_gen.c.