Logo Search packages:      
Sourcecode: openssl version File versions

ecdsa.h File Reference


Detailed Description

Include file for the OpenSSL ECDSA functions
Author:
Written by Nils Larsch for the OpenSSL project

Definition in file ecdsa.h.

#include <openssl/opensslconf.h>
#include <openssl/ec.h>
#include <openssl/ossl_typ.h>
#include <openssl/bn.h>

Go to the source code of this file.

Classes

struct  ECDSA_SIG_st

Defines

#define ECDSA_F_ECDSA_DATA_NEW_METHOD   100
#define ECDSA_F_ECDSA_DO_SIGN   101
#define ECDSA_F_ECDSA_DO_VERIFY   102
#define ECDSA_F_ECDSA_SIGN_SETUP   103
#define ECDSA_R_BAD_SIGNATURE   100
#define ECDSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE   101
#define ECDSA_R_ERR_EC_LIB   102
#define ECDSA_R_MISSING_PARAMETERS   103
#define ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED   104
#define ECDSA_R_SIGNATURE_MALLOC_FAILED   105

Typedefs

typedef struct ECDSA_SIG_st ECDSA_SIG

Functions

ECDSA_SIG * d2i_ECDSA_SIG (ECDSA_SIG **v, const unsigned char **pp, long len)
ECDSA_SIG * ECDSA_do_sign (const unsigned char *dgst, int dgst_len, EC_KEY *eckey)
ECDSA_SIG * ECDSA_do_sign_ex (const unsigned char *dgst, int dgstlen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey)
int ECDSA_do_verify (const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY *eckey)
const ECDSA_METHOD * ECDSA_get_default_method (void)
void * ECDSA_get_ex_data (EC_KEY *d, int idx)
int ECDSA_get_ex_new_index (long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
const ECDSA_METHOD * ECDSA_OpenSSL (void)
void ECDSA_set_default_method (const ECDSA_METHOD *meth)
int ECDSA_set_ex_data (EC_KEY *d, int idx, void *arg)
int ECDSA_set_method (EC_KEY *eckey, const ECDSA_METHOD *meth)
void ECDSA_SIG_free (ECDSA_SIG *a)
ECDSA_SIG * ECDSA_SIG_new (void)
int ECDSA_sign (int type, const unsigned char *dgst, int dgstlen, unsigned char *sig, unsigned int *siglen, EC_KEY *eckey)
int ECDSA_sign_ex (int type, const unsigned char *dgst, int dgstlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey)
int ECDSA_sign_setup (EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp)
int ECDSA_size (const EC_KEY *eckey)
int ECDSA_verify (int type, const unsigned char *dgst, int dgstlen, const unsigned char *sig, int siglen, EC_KEY *eckey)
void ERR_load_ECDSA_strings (void)
int i2d_ECDSA_SIG (const ECDSA_SIG *a, unsigned char **pp)


Generated by  Doxygen 1.6.0   Back to index