OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
gost2001.c File Reference
#include "gost_lcl.h"
#include "gost_params.h"
#include <string.h>
#include <openssl/rand.h>
#include <openssl/ecdsa.h>
#include <openssl/err.h>
#include "e_gost_err.h"

Go to the source code of this file.

Macros

#define dump_signature(a, b, c)
 
#define dump_dsa_sig(a, b)
 

Functions

int fill_GOST2001_params (EC_KEY *eckey, int nid)
 
DSA_SIGgost2001_do_sign (const unsigned char *dgst, int dlen, EC_KEY *eckey)
 
int gost2001_do_verify (const unsigned char *dgst, int dgst_len, DSA_SIG *sig, EC_KEY *ec)
 
int gost2001_compute_public (EC_KEY *ec)
 
int gost2001_keygen (EC_KEY *ec)
 

Macro Definition Documentation

#define dump_dsa_sig (   a,
  b 
)

Definition at line 23 of file gost2001.c.

#define dump_signature (   a,
  b,
  c 
)

Definition at line 22 of file gost2001.c.

Function Documentation

int fill_GOST2001_params ( EC_KEY eckey,
int  nid 
)

Definition at line 34 of file gost2001.c.

int gost2001_compute_public ( EC_KEY ec)

Definition at line 276 of file gost2001.c.

DSA_SIG* gost2001_do_sign ( const unsigned char *  dgst,
int  dlen,
EC_KEY eckey 
)

Definition at line 94 of file gost2001.c.

int gost2001_do_verify ( const unsigned char *  dgst,
int  dgst_len,
DSA_SIG sig,
EC_KEY ec 
)

Definition at line 184 of file gost2001.c.

int gost2001_keygen ( EC_KEY ec)

Definition at line 321 of file gost2001.c.