OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
p_lib.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
#include <openssl/err.h>
#include <openssl/objects.h>
#include <openssl/evp.h>
#include <openssl/asn1_mac.h>
#include <openssl/x509.h>
#include <openssl/rsa.h>
#include <openssl/dsa.h>
#include <openssl/dh.h>
#include <openssl/engine.h>
#include "asn1_locl.h"

Go to the source code of this file.

Functions

int EVP_PKEY_bits (EVP_PKEY *pkey)
 
int EVP_PKEY_size (EVP_PKEY *pkey)
 
int EVP_PKEY_save_parameters (EVP_PKEY *pkey, int mode)
 
int EVP_PKEY_copy_parameters (EVP_PKEY *to, const EVP_PKEY *from)
 
int EVP_PKEY_missing_parameters (const EVP_PKEY *pkey)
 
int EVP_PKEY_cmp_parameters (const EVP_PKEY *a, const EVP_PKEY *b)
 
int EVP_PKEY_cmp (const EVP_PKEY *a, const EVP_PKEY *b)
 
EVP_PKEYEVP_PKEY_new (void)
 
int EVP_PKEY_set_type (EVP_PKEY *pkey, int type)
 
int EVP_PKEY_set_type_str (EVP_PKEY *pkey, const char *str, int len)
 
int EVP_PKEY_assign (EVP_PKEY *pkey, int type, void *key)
 
voidEVP_PKEY_get0 (EVP_PKEY *pkey)
 
int EVP_PKEY_set1_RSA (EVP_PKEY *pkey, RSA *key)
 
RSAEVP_PKEY_get1_RSA (EVP_PKEY *pkey)
 
int EVP_PKEY_set1_DSA (EVP_PKEY *pkey, DSA *key)
 
DSAEVP_PKEY_get1_DSA (EVP_PKEY *pkey)
 
int EVP_PKEY_set1_EC_KEY (EVP_PKEY *pkey, EC_KEY *key)
 
EC_KEYEVP_PKEY_get1_EC_KEY (EVP_PKEY *pkey)
 
int EVP_PKEY_set1_DH (EVP_PKEY *pkey, DH *key)
 
DHEVP_PKEY_get1_DH (EVP_PKEY *pkey)
 
int EVP_PKEY_type (int type)
 
int EVP_PKEY_id (const EVP_PKEY *pkey)
 
int EVP_PKEY_base_id (const EVP_PKEY *pkey)
 
void EVP_PKEY_free (EVP_PKEY *x)
 
int EVP_PKEY_print_public (BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)
 
int EVP_PKEY_print_private (BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)
 
int EVP_PKEY_print_params (BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)
 
int EVP_PKEY_get_default_digest_nid (EVP_PKEY *pkey, int *pnid)
 

Function Documentation

int EVP_PKEY_assign ( EVP_PKEY pkey,
int  type,
void key 
)

Definition at line 263 of file p_lib.c.

int EVP_PKEY_base_id ( const EVP_PKEY pkey)

Definition at line 382 of file p_lib.c.

int EVP_PKEY_bits ( EVP_PKEY pkey)

Definition at line 85 of file p_lib.c.

int EVP_PKEY_cmp ( const EVP_PKEY a,
const EVP_PKEY b 
)

Definition at line 159 of file p_lib.c.

int EVP_PKEY_cmp_parameters ( const EVP_PKEY a,
const EVP_PKEY b 
)

Definition at line 150 of file p_lib.c.

int EVP_PKEY_copy_parameters ( EVP_PKEY to,
const EVP_PKEY from 
)

Definition at line 124 of file p_lib.c.

void EVP_PKEY_free ( EVP_PKEY x)

Definition at line 387 of file p_lib.c.

void* EVP_PKEY_get0 ( EVP_PKEY pkey)

Definition at line 271 of file p_lib.c.

DH* EVP_PKEY_get1_DH ( EVP_PKEY pkey)
read

Definition at line 349 of file p_lib.c.

DSA* EVP_PKEY_get1_DSA ( EVP_PKEY pkey)
read

Definition at line 305 of file p_lib.c.

EC_KEY* EVP_PKEY_get1_EC_KEY ( EVP_PKEY pkey)
read

Definition at line 326 of file p_lib.c.

RSA* EVP_PKEY_get1_RSA ( EVP_PKEY pkey)
read

Definition at line 285 of file p_lib.c.

int EVP_PKEY_get_default_digest_nid ( EVP_PKEY pkey,
int *  pnid 
)

Definition at line 462 of file p_lib.c.

int EVP_PKEY_id ( const EVP_PKEY pkey)

Definition at line 377 of file p_lib.c.

int EVP_PKEY_missing_parameters ( const EVP_PKEY pkey)

Definition at line 143 of file p_lib.c.

EVP_PKEY* EVP_PKEY_new ( void  )

Definition at line 182 of file p_lib.c.

int EVP_PKEY_print_params ( BIO out,
const EVP_PKEY pkey,
int  indent,
ASN1_PCTX pctx 
)

Definition at line 454 of file p_lib.c.

int EVP_PKEY_print_private ( BIO out,
const EVP_PKEY pkey,
int  indent,
ASN1_PCTX pctx 
)

Definition at line 445 of file p_lib.c.

int EVP_PKEY_print_public ( BIO out,
const EVP_PKEY pkey,
int  indent,
ASN1_PCTX pctx 
)

Definition at line 436 of file p_lib.c.

int EVP_PKEY_save_parameters ( EVP_PKEY pkey,
int  mode 
)

Definition at line 99 of file p_lib.c.

int EVP_PKEY_set1_DH ( EVP_PKEY pkey,
DH key 
)

Definition at line 341 of file p_lib.c.

int EVP_PKEY_set1_DSA ( EVP_PKEY pkey,
DSA key 
)

Definition at line 297 of file p_lib.c.

int EVP_PKEY_set1_EC_KEY ( EVP_PKEY pkey,
EC_KEY key 
)

Definition at line 318 of file p_lib.c.

int EVP_PKEY_set1_RSA ( EVP_PKEY pkey,
RSA key 
)

Definition at line 277 of file p_lib.c.

int EVP_PKEY_set_type ( EVP_PKEY pkey,
int  type 
)

Definition at line 253 of file p_lib.c.

int EVP_PKEY_set_type_str ( EVP_PKEY pkey,
const char *  str,
int  len 
)

Definition at line 258 of file p_lib.c.

int EVP_PKEY_size ( EVP_PKEY pkey)

Definition at line 92 of file p_lib.c.

int EVP_PKEY_type ( int  type)

Definition at line 360 of file p_lib.c.