OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
gost_ameth.c File Reference
#include <string.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/engine.h>
#include <openssl/evp.h>
#include <openssl/asn1.h>
#include <openssl/cms.h>
#include "gost_params.h"
#include "gost_lcl.h"
#include "e_gost_err.h"

Go to the source code of this file.

Macros

#define COPYBIGNUM(a, b, x)   if (a->x) BN_free(a->x); a->x=BN_dup(b->x);
 

Functions

int gost94_nid_by_params (DSA *p)
 
BIGNUMgost_get0_priv_key (const EVP_PKEY *pkey)
 
int register_ameth_gost (int nid, EVP_PKEY_ASN1_METHOD **ameth, const char *pemstr, const char *info)
 

Macro Definition Documentation

#define COPYBIGNUM (   a,
  b,
 
)    if (a->x) BN_free(a->x); a->x=BN_dup(b->x);

Function Documentation

int gost94_nid_by_params ( DSA p)

Definition at line 23 of file gost_ameth.c.

BIGNUM* gost_get0_priv_key ( const EVP_PKEY pkey)

Definition at line 184 of file gost_ameth.c.

int register_ameth_gost ( int  nid,
EVP_PKEY_ASN1_METHOD **  ameth,
const char *  pemstr,
const char *  info 
)

Definition at line 898 of file gost_ameth.c.