dh_method Struct Reference

#include <dh.h>

Data Fields

const char *  name
int(*  generate_key )(DH *dh)
int(*  compute_key )(unsigned char *key, const BIGNUM *pub_key, DH *dh)
int(*  bn_mod_exp )(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
int(*  init )(DH *dh)
int(*  finish )(DH *dh)
int  flags
char *  app_data
int(*  generate_params )(DH *dh, int prime_len, int generator, BN_GENCB *cb)

Field Documentation

char* dh_method::app_data
 
int(* dh_method::bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
 
int(* dh_method::compute_key)(unsigned char *key, const BIGNUM *pub_key, DH *dh)
 
int(* dh_method::finish)(DH *dh)
 
int dh_method::flags
 
int(* dh_method::generate_key)(DH *dh)
 
int(* dh_method::generate_params)(DH *dh, int prime_len, int generator, BN_GENCB *cb)
 
int(* dh_method::init)(DH *dh)
 
const char* dh_method::name
 

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

Copyright © Nokia Corporation 2001-2008
Back to top