rsa_meth_st Struct Reference

#include <rsa.h>


Data Fields

const char * name
int(* rsa_pub_enc )(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
int(* rsa_pub_dec )(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
int(* rsa_priv_enc )(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
int(* rsa_priv_dec )(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
int(* rsa_mod_exp )(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
int(* bn_mod_exp )(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
int(* init )(RSA *rsa)
int(* finish )(RSA *rsa)
int flags
char * app_data
int(* rsa_sign )(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, const RSA *rsa)
int(* rsa_verify )(int dtype, const unsigned char *m, unsigned int m_length, unsigned char *sigbuf, unsigned int siglen, const RSA *rsa)
int(* rsa_keygen )(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb)


Detailed Description

Definition at line 85 of file rsa.h.


Field Documentation

const char* rsa_meth_st::name

Definition at line 87 of file rsa.h.

int(* rsa_meth_st::rsa_pub_enc)(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)

int(* rsa_meth_st::rsa_pub_dec)(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)

int(* rsa_meth_st::rsa_priv_enc)(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)

int(* rsa_meth_st::rsa_priv_dec)(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)

int(* rsa_meth_st::rsa_mod_exp)(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)

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

int(* rsa_meth_st::init)(RSA *rsa)

int(* rsa_meth_st::finish)(RSA *rsa)

Definition at line 106 of file rsa.h.

Definition at line 107 of file rsa.h.

int(* rsa_meth_st::rsa_sign)(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, const RSA *rsa)

int(* rsa_meth_st::rsa_verify)(int dtype, const unsigned char *m, unsigned int m_length, unsigned char *sigbuf, unsigned int siglen, const RSA *rsa)

int(* rsa_meth_st::rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb)


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

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