dsa_method Struct Reference

#include <dsa.h>


Data Fields

const char * name
DSA_SIG *(* dsa_do_sign )(const unsigned char *dgst, int dlen, DSA *dsa)
int(* dsa_sign_setup )(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
int(* dsa_do_verify )(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)
int(* dsa_mod_exp )(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
int(* bn_mod_exp )(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
int(* init )(DSA *dsa)
int(* finish )(DSA *dsa)
int flags
char * app_data
int(* dsa_paramgen )(DSA *dsa, int bits, unsigned char *seed, int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
int(* dsa_keygen )(DSA *dsa)


Detailed Description

Definition at line 114 of file dsa.h.


Field Documentation

const char* dsa_method::name

Definition at line 116 of file dsa.h.

DSA_SIG*(* dsa_method::dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa)

int(* dsa_method::dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)

int(* dsa_method::dsa_do_verify)(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)

int(* dsa_method::dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)

int(* dsa_method::bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)

int(* dsa_method::init)(DSA *dsa)

int(* dsa_method::finish)(DSA *dsa)

Definition at line 130 of file dsa.h.

Definition at line 131 of file dsa.h.

int(* dsa_method::dsa_paramgen)(DSA *dsa, int bits, unsigned char *seed, int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)


The documentation for this struct was generated from the following file:

Generated on Thu Aug 20 22:33:07 2009 for OpenXDAS by  doxygen 1.5.6