evp.h File Reference

#include <openssl/opensslconf.h>
#include <openssl/ossl_typ.h>
#include <openssl/symhacks.h>
#include <openssl/bio.h>
#include <openssl/objects.h>

Go to the source code of this file.

Data Structures

struct  evp_pkey_st
struct  env_md_st
struct  env_md_ctx_st
struct  evp_cipher_st
struct  evp_cipher_info_st
struct  evp_cipher_ctx_st
struct  evp_Encode_Ctx_st

Defines

#define EVP_MAX_MD_SIZE   64
#define EVP_MAX_KEY_LENGTH   32
#define EVP_MAX_IV_LENGTH   16
#define EVP_MAX_BLOCK_LENGTH   32
#define PKCS5_SALT_LEN   8
#define PKCS5_DEFAULT_ITER   2048
#define EVP_PK_RSA   0x0001
#define EVP_PK_DSA   0x0002
#define EVP_PK_DH   0x0004
#define EVP_PK_EC   0x0008
#define EVP_PKT_SIGN   0x0010
#define EVP_PKT_ENC   0x0020
#define EVP_PKT_EXCH   0x0040
#define EVP_PKS_RSA   0x0100
#define EVP_PKS_DSA   0x0200
#define EVP_PKS_EC   0x0400
#define EVP_PKT_EXP   0x1000
#define EVP_PKEY_NONE   NID_undef
#define EVP_PKEY_RSA   NID_rsaEncryption
#define EVP_PKEY_RSA2   NID_rsa
#define EVP_PKEY_DSA   NID_dsa
#define EVP_PKEY_DSA1   NID_dsa_2
#define EVP_PKEY_DSA2   NID_dsaWithSHA
#define EVP_PKEY_DSA3   NID_dsaWithSHA1
#define EVP_PKEY_DSA4   NID_dsaWithSHA1_2
#define EVP_PKEY_DH   NID_dhKeyAgreement
#define EVP_PKEY_EC   NID_X9_62_id_ecPublicKey
#define EVP_PKEY_MO_SIGN   0x0001
#define EVP_PKEY_MO_VERIFY   0x0002
#define EVP_PKEY_MO_ENCRYPT   0x0004
#define EVP_PKEY_MO_DECRYPT   0x0008
#define EVP_MD_FLAG_ONESHOT   0x0001
#define EVP_PKEY_NULL_method   NULL,NULL,{0,0,0,0}
#define EVP_PKEY_DSA_method
#define EVP_PKEY_ECDSA_method
#define EVP_PKEY_RSA_method
#define EVP_PKEY_RSA_ASN1_OCTET_STRING_method
#define EVP_MD_CTX_FLAG_ONESHOT   0x0001
#define EVP_MD_CTX_FLAG_CLEANED   0x0002
#define EVP_MD_CTX_FLAG_REUSE   0x0004
#define EVP_CIPH_STREAM_CIPHER   0x0
#define EVP_CIPH_ECB_MODE   0x1
#define EVP_CIPH_CBC_MODE   0x2
#define EVP_CIPH_CFB_MODE   0x3
#define EVP_CIPH_OFB_MODE   0x4
#define EVP_CIPH_MODE   0x7
#define EVP_CIPH_VARIABLE_LENGTH   0x8
#define EVP_CIPH_CUSTOM_IV   0x10
#define EVP_CIPH_ALWAYS_CALL_INIT   0x20
#define EVP_CIPH_CTRL_INIT   0x40
#define EVP_CIPH_CUSTOM_KEY_LENGTH   0x80
#define EVP_CIPH_NO_PADDING   0x100
#define EVP_CIPH_RAND_KEY   0x200
#define EVP_CTRL_INIT   0x0
#define EVP_CTRL_SET_KEY_LENGTH   0x1
#define EVP_CTRL_GET_RC2_KEY_BITS   0x2
#define EVP_CTRL_SET_RC2_KEY_BITS   0x3
#define EVP_CTRL_GET_RC5_ROUNDS   0x4
#define EVP_CTRL_SET_RC5_ROUNDS   0x5
#define EVP_CTRL_RAND_KEY   0x6
#define EVP_PKEY_assign_RSA(pkey, rsa)
#define EVP_PKEY_assign_DSA(pkey, dsa)
#define EVP_PKEY_assign_DH(pkey, dh)
#define EVP_PKEY_assign_EC_KEY(pkey, eckey)
#define EVP_get_digestbynid(a)   EVP_get_digestbyname(OBJ_nid2sn(a))
#define EVP_get_digestbyobj(a)   EVP_get_digestbynid(OBJ_obj2nid(a))
#define EVP_get_cipherbynid(a)   EVP_get_cipherbyname(OBJ_nid2sn(a))
#define EVP_get_cipherbyobj(a)   EVP_get_cipherbynid(OBJ_obj2nid(a))
#define EVP_MD_nid(e)   EVP_MD_type(e)
#define EVP_MD_name(e)   OBJ_nid2sn(EVP_MD_nid(e))
#define EVP_MD_CTX_size(e)   EVP_MD_size(EVP_MD_CTX_md(e))
#define EVP_MD_CTX_block_size(e)   EVP_MD_block_size(EVP_MD_CTX_md(e))
#define EVP_MD_CTX_type(e)   EVP_MD_type(EVP_MD_CTX_md(e))
#define EVP_CIPHER_name(e)   OBJ_nid2sn(EVP_CIPHER_nid(e))
#define EVP_CIPHER_mode(e)   (EVP_CIPHER_flags(e) & EVP_CIPH_MODE)
#define EVP_CIPHER_CTX_type(c)   EVP_CIPHER_type(EVP_CIPHER_CTX_cipher(c))
#define EVP_CIPHER_CTX_mode(e)   (EVP_CIPHER_CTX_flags(e) & EVP_CIPH_MODE)
#define EVP_ENCODE_LENGTH(l)   (((l+2)/3*4)+(l/48+1)*2+80)
#define EVP_DECODE_LENGTH(l)   ((l+3)/4*3+80)
#define EVP_SignInit_ex(a, b, c)   EVP_DigestInit_ex(a,b,c)
#define EVP_SignInit(a, b)   EVP_DigestInit(a,b)
#define EVP_SignUpdate(a, b, c)   EVP_DigestUpdate(a,b,c)
#define EVP_VerifyInit_ex(a, b, c)   EVP_DigestInit_ex(a,b,c)
#define EVP_VerifyInit(a, b)   EVP_DigestInit(a,b)
#define EVP_VerifyUpdate(a, b, c)   EVP_DigestUpdate(a,b,c)
#define EVP_OpenUpdate(a, b, c, d, e)   EVP_DecryptUpdate(a,b,c,d,e)
#define EVP_SealUpdate(a, b, c, d, e)   EVP_EncryptUpdate(a,b,c,d,e)
#define BIO_set_md(b, md)   BIO_ctrl(b,BIO_C_SET_MD,0,(char *)md)
#define BIO_get_md(b, mdp)   BIO_ctrl(b,BIO_C_GET_MD,0,(char *)mdp)
#define BIO_get_md_ctx(b, mdcp)   BIO_ctrl(b,BIO_C_GET_MD_CTX,0,(char *)mdcp)
#define BIO_set_md_ctx(b, mdcp)   BIO_ctrl(b,BIO_C_SET_MD_CTX,0,(char *)mdcp)
#define BIO_get_cipher_status(b)   BIO_ctrl(b,BIO_C_GET_CIPHER_STATUS,0,NULL)
#define BIO_get_cipher_ctx(b, c_pp)   BIO_ctrl(b,BIO_C_GET_CIPHER_CTX,0,(char *)c_pp)
#define EVP_add_cipher_alias(n, alias)   OBJ_NAME_add((alias),OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS,(n))
#define EVP_add_digest_alias(n, alias)   OBJ_NAME_add((alias),OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS,(n))
#define EVP_delete_cipher_alias(alias)   OBJ_NAME_remove(alias,OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS);
#define EVP_delete_digest_alias(alias)   OBJ_NAME_remove(alias,OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS);
#define EVP_des_cfb   EVP_des_cfb64
#define EVP_des_ede_cfb   EVP_des_ede_cfb64
#define EVP_des_ede3_cfb   EVP_des_ede3_cfb64
#define EVP_idea_cfb   EVP_idea_cfb64
#define EVP_rc2_cfb   EVP_rc2_cfb64
#define EVP_bf_cfb   EVP_bf_cfb64
#define EVP_cast5_cfb   EVP_cast5_cfb64
#define EVP_rc5_32_12_16_cfb   EVP_rc5_32_12_16_cfb64
#define EVP_aes_128_cfb   EVP_aes_128_cfb128
#define EVP_aes_192_cfb   EVP_aes_192_cfb128
#define EVP_aes_256_cfb   EVP_aes_256_cfb128
#define EVP_camellia_128_cfb   EVP_camellia_128_cfb128
#define EVP_camellia_192_cfb   EVP_camellia_192_cfb128
#define EVP_camellia_256_cfb   EVP_camellia_256_cfb128
#define OpenSSL_add_all_algorithms()   OPENSSL_add_all_algorithms_noconf()
#define SSLeay_add_all_algorithms()   OpenSSL_add_all_algorithms()
#define SSLeay_add_all_ciphers()   OpenSSL_add_all_ciphers()
#define SSLeay_add_all_digests()   OpenSSL_add_all_digests()
#define EVP_F_AES_INIT_KEY   133
#define EVP_F_CAMELLIA_INIT_KEY   159
#define EVP_F_D2I_PKEY   100
#define EVP_F_DSAPKEY2PKCS8   134
#define EVP_F_DSA_PKEY2PKCS8   135
#define EVP_F_ECDSA_PKEY2PKCS8   129
#define EVP_F_ECKEY_PKEY2PKCS8   132
#define EVP_F_EVP_CIPHERINIT_EX   123
#define EVP_F_EVP_CIPHER_CTX_CTRL   124
#define EVP_F_EVP_CIPHER_CTX_SET_KEY_LENGTH   122
#define EVP_F_EVP_DECRYPTFINAL_EX   101
#define EVP_F_EVP_DIGESTINIT_EX   128
#define EVP_F_EVP_ENCRYPTFINAL_EX   127
#define EVP_F_EVP_MD_CTX_COPY_EX   110
#define EVP_F_EVP_OPENINIT   102
#define EVP_F_EVP_PBE_ALG_ADD   115
#define EVP_F_EVP_PBE_CIPHERINIT   116
#define EVP_F_EVP_PKCS82PKEY   111
#define EVP_F_EVP_PKEY2PKCS8_BROKEN   113
#define EVP_F_EVP_PKEY_COPY_PARAMETERS   103
#define EVP_F_EVP_PKEY_DECRYPT   104
#define EVP_F_EVP_PKEY_ENCRYPT   105
#define EVP_F_EVP_PKEY_GET1_DH   119
#define EVP_F_EVP_PKEY_GET1_DSA   120
#define EVP_F_EVP_PKEY_GET1_ECDSA   130
#define EVP_F_EVP_PKEY_GET1_EC_KEY   131
#define EVP_F_EVP_PKEY_GET1_RSA   121
#define EVP_F_EVP_PKEY_NEW   106
#define EVP_F_EVP_RIJNDAEL   126
#define EVP_F_EVP_SIGNFINAL   107
#define EVP_F_EVP_VERIFYFINAL   108
#define EVP_F_PKCS5_PBE_KEYIVGEN   117
#define EVP_F_PKCS5_V2_PBE_KEYIVGEN   118
#define EVP_F_PKCS8_SET_BROKEN   112
#define EVP_F_RC2_MAGIC_TO_METH   109
#define EVP_F_RC5_CTRL   125
#define EVP_R_AES_KEY_SETUP_FAILED   143
#define EVP_R_ASN1_LIB   140
#define EVP_R_BAD_BLOCK_LENGTH   136
#define EVP_R_BAD_DECRYPT   100
#define EVP_R_BAD_KEY_LENGTH   137
#define EVP_R_BN_DECODE_ERROR   112
#define EVP_R_BN_PUBKEY_ERROR   113
#define EVP_R_CAMELLIA_KEY_SETUP_FAILED   157
#define EVP_R_CIPHER_PARAMETER_ERROR   122
#define EVP_R_CTRL_NOT_IMPLEMENTED   132
#define EVP_R_CTRL_OPERATION_NOT_IMPLEMENTED   133
#define EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH   138
#define EVP_R_DECODE_ERROR   114
#define EVP_R_DIFFERENT_KEY_TYPES   101
#define EVP_R_ENCODE_ERROR   115
#define EVP_R_EVP_PBE_CIPHERINIT_ERROR   119
#define EVP_R_EXPECTING_AN_RSA_KEY   127
#define EVP_R_EXPECTING_A_DH_KEY   128
#define EVP_R_EXPECTING_A_DSA_KEY   129
#define EVP_R_EXPECTING_A_ECDSA_KEY   141
#define EVP_R_EXPECTING_A_EC_KEY   142
#define EVP_R_INITIALIZATION_ERROR   134
#define EVP_R_INPUT_NOT_INITIALIZED   111
#define EVP_R_INVALID_KEY_LENGTH   130
#define EVP_R_IV_TOO_LARGE   102
#define EVP_R_KEYGEN_FAILURE   120
#define EVP_R_MISSING_PARAMETERS   103
#define EVP_R_NO_CIPHER_SET   131
#define EVP_R_NO_DIGEST_SET   139
#define EVP_R_NO_DSA_PARAMETERS   116
#define EVP_R_NO_SIGN_FUNCTION_CONFIGURED   104
#define EVP_R_NO_VERIFY_FUNCTION_CONFIGURED   105
#define EVP_R_PKCS8_UNKNOWN_BROKEN_TYPE   117
#define EVP_R_PUBLIC_KEY_NOT_RSA   106
#define EVP_R_UNKNOWN_PBE_ALGORITHM   121
#define EVP_R_UNSUPORTED_NUMBER_OF_ROUNDS   135
#define EVP_R_UNSUPPORTED_CIPHER   107
#define EVP_R_UNSUPPORTED_KEYLENGTH   123
#define EVP_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION   124
#define EVP_R_UNSUPPORTED_KEY_SIZE   108
#define EVP_R_UNSUPPORTED_PRF   125
#define EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM   118
#define EVP_R_UNSUPPORTED_SALT_TYPE   126
#define EVP_R_WRONG_FINAL_BLOCK_LENGTH   109
#define EVP_R_WRONG_PUBLIC_KEY_TYPE   110

Typedefs

typedef int evp_sign_method (int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, void *key)
typedef int evp_verify_method (int type, const unsigned char *m, unsigned int m_length, const unsigned char *sigbuf, unsigned int siglen, void *key)
typedef struct evp_cipher_info_st EVP_CIPHER_INFO
typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX
typedef int( EVP_PBE_KEYGEN )(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de)

Functions

int EVP_MD_type (const EVP_MD *md)
int EVP_MD_pkey_type (const EVP_MD *md)
int EVP_MD_size (const EVP_MD *md)
int EVP_MD_block_size (const EVP_MD *md)
const EVP_MDEVP_MD_CTX_md (const EVP_MD_CTX *ctx)
int EVP_CIPHER_nid (const EVP_CIPHER *cipher)
int EVP_CIPHER_block_size (const EVP_CIPHER *cipher)
int EVP_CIPHER_key_length (const EVP_CIPHER *cipher)
int EVP_CIPHER_iv_length (const EVP_CIPHER *cipher)
unsigned long EVP_CIPHER_flags (const EVP_CIPHER *cipher)
const EVP_CIPHEREVP_CIPHER_CTX_cipher (const EVP_CIPHER_CTX *ctx)
int EVP_CIPHER_CTX_nid (const EVP_CIPHER_CTX *ctx)
int EVP_CIPHER_CTX_block_size (const EVP_CIPHER_CTX *ctx)
int EVP_CIPHER_CTX_key_length (const EVP_CIPHER_CTX *ctx)
int EVP_CIPHER_CTX_iv_length (const EVP_CIPHER_CTX *ctx)
void * EVP_CIPHER_CTX_get_app_data (const EVP_CIPHER_CTX *ctx)
void EVP_CIPHER_CTX_set_app_data (EVP_CIPHER_CTX *ctx, void *data)
unsigned long EVP_CIPHER_CTX_flags (const EVP_CIPHER_CTX *ctx)
int EVP_Cipher (EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in, unsigned int inl)
void EVP_MD_CTX_init (EVP_MD_CTX *ctx)
int EVP_MD_CTX_cleanup (EVP_MD_CTX *ctx)
EVP_MD_CTXEVP_MD_CTX_create (void)
void EVP_MD_CTX_destroy (EVP_MD_CTX *ctx)
int EVP_MD_CTX_copy_ex (EVP_MD_CTX *out, const EVP_MD_CTX *in)
void EVP_MD_CTX_set_flags (EVP_MD_CTX *ctx, int flags)
void EVP_MD_CTX_clear_flags (EVP_MD_CTX *ctx, int flags)
int EVP_MD_CTX_test_flags (const EVP_MD_CTX *ctx, int flags)
int EVP_DigestInit_ex (EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl)
int EVP_DigestUpdate (EVP_MD_CTX *ctx, const void *d, size_t cnt)
int EVP_DigestFinal_ex (EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s)
int EVP_Digest (const void *data, size_t count, unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl)
int EVP_MD_CTX_copy (EVP_MD_CTX *out, const EVP_MD_CTX *in)
int EVP_DigestInit (EVP_MD_CTX *ctx, const EVP_MD *type)
int EVP_DigestFinal (EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s)
int EVP_read_pw_string (char *buf, int length, const char *prompt, int verify)
void EVP_set_pw_prompt (const char *prompt)
char * EVP_get_pw_prompt (void)
int EVP_BytesToKey (const EVP_CIPHER *type, const EVP_MD *md, const unsigned char *salt, const unsigned char *data, int datal, int count, unsigned char *key, unsigned char *iv)
int EVP_EncryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv)
int EVP_EncryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv)
int EVP_EncryptUpdate (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
int EVP_EncryptFinal_ex (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
int EVP_EncryptFinal (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
int EVP_DecryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv)
int EVP_DecryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv)
int EVP_DecryptUpdate (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
int EVP_DecryptFinal (EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl)
int EVP_DecryptFinal_ex (EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl)
int EVP_CipherInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc)
int EVP_CipherInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc)
int EVP_CipherUpdate (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
int EVP_CipherFinal (EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl)
int EVP_CipherFinal_ex (EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl)
int EVP_SignFinal (EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s, EVP_PKEY *pkey)
int EVP_VerifyFinal (EVP_MD_CTX *ctx, const unsigned char *sigbuf, unsigned int siglen, EVP_PKEY *pkey)
int EVP_OpenInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv)
int EVP_OpenFinal (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
int EVP_SealInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk)
int EVP_SealFinal (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
void EVP_EncodeInit (EVP_ENCODE_CTX *ctx)
void EVP_EncodeUpdate (EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
void EVP_EncodeFinal (EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl)
int EVP_EncodeBlock (unsigned char *t, const unsigned char *f, int n)
void EVP_DecodeInit (EVP_ENCODE_CTX *ctx)
int EVP_DecodeUpdate (EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
int EVP_DecodeFinal (EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl)
int EVP_DecodeBlock (unsigned char *t, const unsigned char *f, int n)
void EVP_CIPHER_CTX_init (EVP_CIPHER_CTX *a)
int EVP_CIPHER_CTX_cleanup (EVP_CIPHER_CTX *a)
EVP_CIPHER_CTXEVP_CIPHER_CTX_new (void)
void EVP_CIPHER_CTX_free (EVP_CIPHER_CTX *a)
int EVP_CIPHER_CTX_set_key_length (EVP_CIPHER_CTX *x, int keylen)
int EVP_CIPHER_CTX_set_padding (EVP_CIPHER_CTX *c, int pad)
int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr)
int EVP_CIPHER_CTX_rand_key (EVP_CIPHER_CTX *ctx, unsigned char *key)
BIO_METHODBIO_f_md (void)
BIO_METHODBIO_f_base64 (void)
BIO_METHODBIO_f_cipher (void)
BIO_METHODBIO_f_reliable (void)
void BIO_set_cipher (BIO *b, const EVP_CIPHER *c, const unsigned char *k, const unsigned char *i, int enc)
const EVP_MDEVP_md_null (void)
const EVP_MDEVP_md2 (void)
const EVP_MDEVP_md4 (void)
const EVP_MDEVP_md5 (void)
const EVP_MDEVP_sha (void)
const EVP_MDEVP_sha1 (void)
const EVP_MDEVP_dss (void)
const EVP_MDEVP_dss1 (void)
const EVP_MDEVP_ecdsa (void)
const EVP_MDEVP_sha224 (void)
const EVP_MDEVP_sha256 (void)
const EVP_MDEVP_sha384 (void)
const EVP_MDEVP_sha512 (void)
const EVP_MDEVP_mdc2 (void)
const EVP_MDEVP_ripemd160 (void)
const EVP_CIPHEREVP_enc_null (void)
const EVP_CIPHEREVP_des_ecb (void)
const EVP_CIPHEREVP_des_ede (void)
const EVP_CIPHEREVP_des_ede3 (void)
const EVP_CIPHEREVP_des_ede_ecb (void)
const EVP_CIPHEREVP_des_ede3_ecb (void)
const EVP_CIPHEREVP_des_cfb64 (void)
const EVP_CIPHEREVP_des_cfb1 (void)
const EVP_CIPHEREVP_des_cfb8 (void)
const EVP_CIPHEREVP_des_ede_cfb64 (void)
const EVP_CIPHEREVP_des_ede3_cfb64 (void)
const EVP_CIPHEREVP_des_ede3_cfb1 (void)
const EVP_CIPHEREVP_des_ede3_cfb8 (void)
const EVP_CIPHEREVP_des_ofb (void)
const EVP_CIPHEREVP_des_ede_ofb (void)
const EVP_CIPHEREVP_des_ede3_ofb (void)
const EVP_CIPHEREVP_des_cbc (void)
const EVP_CIPHEREVP_des_ede_cbc (void)
const EVP_CIPHEREVP_des_ede3_cbc (void)
const EVP_CIPHEREVP_desx_cbc (void)
const EVP_CIPHEREVP_rc4 (void)
const EVP_CIPHEREVP_rc4_40 (void)
const EVP_CIPHEREVP_idea_ecb (void)
const EVP_CIPHEREVP_idea_cfb64 (void)
const EVP_CIPHEREVP_idea_ofb (void)
const EVP_CIPHEREVP_idea_cbc (void)
const EVP_CIPHEREVP_rc2_ecb (void)
const EVP_CIPHEREVP_rc2_cbc (void)
const EVP_CIPHEREVP_rc2_40_cbc (void)
const EVP_CIPHEREVP_rc2_64_cbc (void)
const EVP_CIPHEREVP_rc2_cfb64 (void)
const EVP_CIPHEREVP_rc2_ofb (void)
const EVP_CIPHEREVP_bf_ecb (void)
const EVP_CIPHEREVP_bf_cbc (void)
const EVP_CIPHEREVP_bf_cfb64 (void)
const EVP_CIPHEREVP_bf_ofb (void)
const EVP_CIPHEREVP_cast5_ecb (void)
const EVP_CIPHEREVP_cast5_cbc (void)
const EVP_CIPHEREVP_cast5_cfb64 (void)
const EVP_CIPHEREVP_cast5_ofb (void)
const EVP_CIPHEREVP_rc5_32_12_16_cbc (void)
const EVP_CIPHEREVP_rc5_32_12_16_ecb (void)
const EVP_CIPHEREVP_rc5_32_12_16_cfb64 (void)
const EVP_CIPHEREVP_rc5_32_12_16_ofb (void)
const EVP_CIPHEREVP_aes_128_ecb (void)
const EVP_CIPHEREVP_aes_128_cbc (void)
const EVP_CIPHEREVP_aes_128_cfb1 (void)
const EVP_CIPHEREVP_aes_128_cfb8 (void)
const EVP_CIPHEREVP_aes_128_cfb128 (void)
const EVP_CIPHEREVP_aes_128_ofb (void)
const EVP_CIPHEREVP_aes_192_ecb (void)
const EVP_CIPHEREVP_aes_192_cbc (void)
const EVP_CIPHEREVP_aes_192_cfb1 (void)
const EVP_CIPHEREVP_aes_192_cfb8 (void)
const EVP_CIPHEREVP_aes_192_cfb128 (void)
const EVP_CIPHEREVP_aes_192_ofb (void)
const EVP_CIPHEREVP_aes_256_ecb (void)
const EVP_CIPHEREVP_aes_256_cbc (void)
const EVP_CIPHEREVP_aes_256_cfb1 (void)
const EVP_CIPHEREVP_aes_256_cfb8 (void)
const EVP_CIPHEREVP_aes_256_cfb128 (void)
const EVP_CIPHEREVP_aes_256_ofb (void)
const EVP_CIPHEREVP_camellia_128_ecb (void)
const EVP_CIPHEREVP_camellia_128_cbc (void)
const EVP_CIPHEREVP_camellia_128_cfb1 (void)
const EVP_CIPHEREVP_camellia_128_cfb8 (void)
const EVP_CIPHEREVP_camellia_128_cfb128 (void)
const EVP_CIPHEREVP_camellia_128_ofb (void)
const EVP_CIPHEREVP_camellia_192_ecb (void)
const EVP_CIPHEREVP_camellia_192_cbc (void)
const EVP_CIPHEREVP_camellia_192_cfb1 (void)
const EVP_CIPHEREVP_camellia_192_cfb8 (void)
const EVP_CIPHEREVP_camellia_192_cfb128 (void)
const EVP_CIPHEREVP_camellia_192_ofb (void)
const EVP_CIPHEREVP_camellia_256_ecb (void)
const EVP_CIPHEREVP_camellia_256_cbc (void)
const EVP_CIPHEREVP_camellia_256_cfb1 (void)
const EVP_CIPHEREVP_camellia_256_cfb8 (void)
const EVP_CIPHEREVP_camellia_256_cfb128 (void)
const EVP_CIPHEREVP_camellia_256_ofb (void)
void OPENSSL_add_all_algorithms_noconf (void)
void OPENSSL_add_all_algorithms_conf (void)
void OpenSSL_add_all_ciphers (void)
void OpenSSL_add_all_digests (void)
int EVP_add_cipher (const EVP_CIPHER *cipher)
int EVP_add_digest (const EVP_MD *digest)
const EVP_CIPHEREVP_get_cipherbyname (const char *name)
const EVP_MDEVP_get_digestbyname (const char *name)
void EVP_cleanup (void)
int EVP_PKEY_decrypt (unsigned char *dec_key, const unsigned char *enc_key, int enc_key_len, EVP_PKEY *private_key)
int EVP_PKEY_encrypt (unsigned char *enc_key, const unsigned char *key, int key_len, EVP_PKEY *pub_key)
int EVP_PKEY_type (int type)
int EVP_PKEY_bits (EVP_PKEY *pkey)
int EVP_PKEY_size (EVP_PKEY *pkey)
int EVP_PKEY_assign (EVP_PKEY *pkey, int type, char *key)
int EVP_PKEY_set1_RSA (EVP_PKEY *pkey, struct rsa_st *key)
struct rsa_stEVP_PKEY_get1_RSA (EVP_PKEY *pkey)
int EVP_PKEY_set1_DSA (EVP_PKEY *pkey, struct dsa_st *key)
struct dsa_stEVP_PKEY_get1_DSA (EVP_PKEY *pkey)
int EVP_PKEY_set1_DH (EVP_PKEY *pkey, struct dh_st *key)
struct dh_stEVP_PKEY_get1_DH (EVP_PKEY *pkey)
int EVP_PKEY_set1_EC_KEY (EVP_PKEY *pkey, struct ec_key_st *key)
struct ec_key_st * EVP_PKEY_get1_EC_KEY (EVP_PKEY *pkey)
EVP_PKEYEVP_PKEY_new (void)
void EVP_PKEY_free (EVP_PKEY *pkey)
EVP_PKEYd2i_PublicKey (int type, EVP_PKEY **a, const unsigned char **pp, long length)
int i2d_PublicKey (EVP_PKEY *a, unsigned char **pp)
EVP_PKEYd2i_PrivateKey (int type, EVP_PKEY **a, const unsigned char **pp, long length)
EVP_PKEYd2i_AutoPrivateKey (EVP_PKEY **a, const unsigned char **pp, long length)
int i2d_PrivateKey (EVP_PKEY *a, unsigned char **pp)
int EVP_PKEY_copy_parameters (EVP_PKEY *to, const EVP_PKEY *from)
int EVP_PKEY_missing_parameters (const EVP_PKEY *pkey)
int EVP_PKEY_save_parameters (EVP_PKEY *pkey, int mode)
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)
int EVP_CIPHER_type (const EVP_CIPHER *ctx)
int EVP_CIPHER_param_to_asn1 (EVP_CIPHER_CTX *c, ASN1_TYPE *type)
int EVP_CIPHER_asn1_to_param (EVP_CIPHER_CTX *c, ASN1_TYPE *type)
int EVP_CIPHER_set_asn1_iv (EVP_CIPHER_CTX *c, ASN1_TYPE *type)
int EVP_CIPHER_get_asn1_iv (EVP_CIPHER_CTX *c, ASN1_TYPE *type)
int PKCS5_PBE_keyivgen (EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de)
int PKCS5_PBKDF2_HMAC_SHA1 (const char *pass, int passlen, const unsigned char *salt, int saltlen, int iter, int keylen, unsigned char *out)
int PKCS5_v2_PBE_keyivgen (EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de)
void PKCS5_PBE_add (void)
int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de)
int EVP_PBE_alg_add (int nid, const EVP_CIPHER *cipher, const EVP_MD *md, EVP_PBE_KEYGEN *keygen)
void EVP_PBE_cleanup (void)
void ERR_load_EVP_strings (void)


Define Documentation

#define BIO_get_cipher_ctx ( b,
c_pp   )     BIO_ctrl(b,BIO_C_GET_CIPHER_CTX,0,(char *)c_pp)

Definition at line 484 of file evp.h.

#define BIO_get_cipher_status (  )     BIO_ctrl(b,BIO_C_GET_CIPHER_STATUS,0,NULL)

Definition at line 483 of file evp.h.

#define BIO_get_md ( b,
mdp   )     BIO_ctrl(b,BIO_C_GET_MD,0,(char *)mdp)

Definition at line 480 of file evp.h.

#define BIO_get_md_ctx ( b,
mdcp   )     BIO_ctrl(b,BIO_C_GET_MD_CTX,0,(char *)mdcp)

Definition at line 481 of file evp.h.

#define BIO_set_md ( b,
md   )     BIO_ctrl(b,BIO_C_SET_MD,0,(char *)md)

Definition at line 478 of file evp.h.

#define BIO_set_md_ctx ( b,
mdcp   )     BIO_ctrl(b,BIO_C_SET_MD_CTX,0,(char *)mdcp)

Definition at line 482 of file evp.h.

#define EVP_add_cipher_alias ( n,
alias   )     OBJ_NAME_add((alias),OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS,(n))

Definition at line 491 of file evp.h.

#define EVP_add_digest_alias ( n,
alias   )     OBJ_NAME_add((alias),OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS,(n))

Definition at line 493 of file evp.h.

#define EVP_aes_128_cfb   EVP_aes_128_cfb128

Definition at line 719 of file evp.h.

#define EVP_aes_192_cfb   EVP_aes_192_cfb128

Definition at line 729 of file evp.h.

#define EVP_aes_256_cfb   EVP_aes_256_cfb128

Definition at line 739 of file evp.h.

#define EVP_bf_cfb   EVP_bf_cfb64

Definition at line 696 of file evp.h.

#define EVP_camellia_128_cfb   EVP_camellia_128_cfb128

Definition at line 751 of file evp.h.

#define EVP_camellia_192_cfb   EVP_camellia_192_cfb128

Definition at line 758 of file evp.h.

#define EVP_camellia_256_cfb   EVP_camellia_256_cfb128

Definition at line 765 of file evp.h.

#define EVP_cast5_cfb   EVP_cast5_cfb64

Definition at line 703 of file evp.h.

#define EVP_CIPH_ALWAYS_CALL_INIT   0x20

Definition at line 341 of file evp.h.

#define EVP_CIPH_CBC_MODE   0x2

Definition at line 332 of file evp.h.

#define EVP_CIPH_CFB_MODE   0x3

Definition at line 333 of file evp.h.

#define EVP_CIPH_CTRL_INIT   0x40

Definition at line 343 of file evp.h.

#define EVP_CIPH_CUSTOM_IV   0x10

Definition at line 339 of file evp.h.

#define EVP_CIPH_CUSTOM_KEY_LENGTH   0x80

Definition at line 345 of file evp.h.

#define EVP_CIPH_ECB_MODE   0x1

Definition at line 331 of file evp.h.

#define EVP_CIPH_MODE   0x7

Definition at line 335 of file evp.h.

#define EVP_CIPH_NO_PADDING   0x100

Definition at line 347 of file evp.h.

#define EVP_CIPH_OFB_MODE   0x4

Definition at line 334 of file evp.h.

#define EVP_CIPH_RAND_KEY   0x200

Definition at line 349 of file evp.h.

#define EVP_CIPH_STREAM_CIPHER   0x0

Definition at line 330 of file evp.h.

#define EVP_CIPH_VARIABLE_LENGTH   0x8

Definition at line 337 of file evp.h.

#define EVP_CIPHER_CTX_mode (  )     (EVP_CIPHER_CTX_flags(e) & EVP_CIPH_MODE)

Definition at line 461 of file evp.h.

#define EVP_CIPHER_CTX_type (  )     EVP_CIPHER_type(EVP_CIPHER_CTX_cipher(c))

Definition at line 459 of file evp.h.

#define EVP_CIPHER_mode (  )     (EVP_CIPHER_flags(e) & EVP_CIPH_MODE)

Definition at line 450 of file evp.h.

#define EVP_CIPHER_name (  )     OBJ_nid2sn(EVP_CIPHER_nid(e))

Definition at line 445 of file evp.h.

#define EVP_CTRL_GET_RC2_KEY_BITS   0x2

Definition at line 355 of file evp.h.

#define EVP_CTRL_GET_RC5_ROUNDS   0x4

Definition at line 357 of file evp.h.

#define EVP_CTRL_INIT   0x0

Definition at line 353 of file evp.h.

#define EVP_CTRL_RAND_KEY   0x6

Definition at line 359 of file evp.h.

#define EVP_CTRL_SET_KEY_LENGTH   0x1

Definition at line 354 of file evp.h.

#define EVP_CTRL_SET_RC2_KEY_BITS   0x3

Definition at line 356 of file evp.h.

#define EVP_CTRL_SET_RC5_ROUNDS   0x5

Definition at line 358 of file evp.h.

#define EVP_DECODE_LENGTH (  )     ((l+3)/4*3+80)

Definition at line 464 of file evp.h.

#define EVP_delete_cipher_alias ( alias   )     OBJ_NAME_remove(alias,OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS);

Definition at line 495 of file evp.h.

#define EVP_delete_digest_alias ( alias   )     OBJ_NAME_remove(alias,OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS);

Definition at line 497 of file evp.h.

#define EVP_des_cfb   EVP_des_cfb64

Definition at line 642 of file evp.h.

#define EVP_des_ede3_cfb   EVP_des_ede3_cfb64

Definition at line 652 of file evp.h.

#define EVP_des_ede_cfb   EVP_des_ede_cfb64

Definition at line 646 of file evp.h.

#define EVP_ENCODE_LENGTH (  )     (((l+2)/3*4)+(l/48+1)*2+80)

Definition at line 463 of file evp.h.

#define EVP_F_AES_INIT_KEY   133

Definition at line 883 of file evp.h.

#define EVP_F_CAMELLIA_INIT_KEY   159

Definition at line 884 of file evp.h.

#define EVP_F_D2I_PKEY   100

Definition at line 885 of file evp.h.

#define EVP_F_DSA_PKEY2PKCS8   135

Definition at line 887 of file evp.h.

#define EVP_F_DSAPKEY2PKCS8   134

Definition at line 886 of file evp.h.

#define EVP_F_ECDSA_PKEY2PKCS8   129

Definition at line 888 of file evp.h.

#define EVP_F_ECKEY_PKEY2PKCS8   132

Definition at line 889 of file evp.h.

#define EVP_F_EVP_CIPHER_CTX_CTRL   124

Definition at line 891 of file evp.h.

#define EVP_F_EVP_CIPHER_CTX_SET_KEY_LENGTH   122

Definition at line 892 of file evp.h.

#define EVP_F_EVP_CIPHERINIT_EX   123

Definition at line 890 of file evp.h.

#define EVP_F_EVP_DECRYPTFINAL_EX   101

Definition at line 893 of file evp.h.

#define EVP_F_EVP_DIGESTINIT_EX   128

Definition at line 894 of file evp.h.

#define EVP_F_EVP_ENCRYPTFINAL_EX   127

Definition at line 895 of file evp.h.

#define EVP_F_EVP_MD_CTX_COPY_EX   110

Definition at line 896 of file evp.h.

#define EVP_F_EVP_OPENINIT   102

Definition at line 897 of file evp.h.

#define EVP_F_EVP_PBE_ALG_ADD   115

Definition at line 898 of file evp.h.

#define EVP_F_EVP_PBE_CIPHERINIT   116

Definition at line 899 of file evp.h.

#define EVP_F_EVP_PKCS82PKEY   111

Definition at line 900 of file evp.h.

#define EVP_F_EVP_PKEY2PKCS8_BROKEN   113

Definition at line 901 of file evp.h.

#define EVP_F_EVP_PKEY_COPY_PARAMETERS   103

Definition at line 902 of file evp.h.

#define EVP_F_EVP_PKEY_DECRYPT   104

Definition at line 903 of file evp.h.

#define EVP_F_EVP_PKEY_ENCRYPT   105

Definition at line 904 of file evp.h.

#define EVP_F_EVP_PKEY_GET1_DH   119

Definition at line 905 of file evp.h.

#define EVP_F_EVP_PKEY_GET1_DSA   120

Definition at line 906 of file evp.h.

#define EVP_F_EVP_PKEY_GET1_EC_KEY   131

Definition at line 908 of file evp.h.

#define EVP_F_EVP_PKEY_GET1_ECDSA   130

Definition at line 907 of file evp.h.

#define EVP_F_EVP_PKEY_GET1_RSA   121

Definition at line 909 of file evp.h.

#define EVP_F_EVP_PKEY_NEW   106

Definition at line 910 of file evp.h.

#define EVP_F_EVP_RIJNDAEL   126

Definition at line 911 of file evp.h.

#define EVP_F_EVP_SIGNFINAL   107

Definition at line 912 of file evp.h.

#define EVP_F_EVP_VERIFYFINAL   108

Definition at line 913 of file evp.h.

#define EVP_F_PKCS5_PBE_KEYIVGEN   117

Definition at line 914 of file evp.h.

#define EVP_F_PKCS5_V2_PBE_KEYIVGEN   118

Definition at line 915 of file evp.h.

#define EVP_F_PKCS8_SET_BROKEN   112

Definition at line 916 of file evp.h.

#define EVP_F_RC2_MAGIC_TO_METH   109

Definition at line 917 of file evp.h.

#define EVP_F_RC5_CTRL   125

Definition at line 918 of file evp.h.

#define EVP_get_cipherbynid (  )     EVP_get_cipherbyname(OBJ_nid2sn(a))

Definition at line 429 of file evp.h.

#define EVP_get_cipherbyobj (  )     EVP_get_cipherbynid(OBJ_obj2nid(a))

Definition at line 430 of file evp.h.

#define EVP_get_digestbynid (  )     EVP_get_digestbyname(OBJ_nid2sn(a))

Definition at line 427 of file evp.h.

#define EVP_get_digestbyobj (  )     EVP_get_digestbynid(OBJ_obj2nid(a))

Definition at line 428 of file evp.h.

#define EVP_idea_cfb   EVP_idea_cfb64

Definition at line 679 of file evp.h.

#define EVP_MAX_BLOCK_LENGTH   32

Definition at line 88 of file evp.h.

#define EVP_MAX_IV_LENGTH   16

Definition at line 87 of file evp.h.

#define EVP_MAX_KEY_LENGTH   32

Definition at line 86 of file evp.h.

#define EVP_MAX_MD_SIZE   64

Definition at line 85 of file evp.h.

#define EVP_MD_CTX_block_size (  )     EVP_MD_block_size(EVP_MD_CTX_md(e))

Definition at line 441 of file evp.h.

#define EVP_MD_CTX_FLAG_CLEANED   0x0002

Definition at line 302 of file evp.h.

#define EVP_MD_CTX_FLAG_ONESHOT   0x0001

Definition at line 300 of file evp.h.

#define EVP_MD_CTX_FLAG_REUSE   0x0004

Definition at line 304 of file evp.h.

#define EVP_MD_CTX_size (  )     EVP_MD_size(EVP_MD_CTX_md(e))

Definition at line 440 of file evp.h.

#define EVP_MD_CTX_type (  )     EVP_MD_type(EVP_MD_CTX_md(e))

Definition at line 442 of file evp.h.

#define EVP_MD_FLAG_ONESHOT   0x0001

Definition at line 253 of file evp.h.

#define EVP_MD_name (  )     OBJ_nid2sn(EVP_MD_nid(e))

Definition at line 434 of file evp.h.

#define EVP_MD_nid (  )     EVP_MD_type(e)

Definition at line 433 of file evp.h.

#define EVP_OpenUpdate ( a,
b,
c,
d,
 )     EVP_DecryptUpdate(a,b,c,d,e)

Definition at line 472 of file evp.h.

#define EVP_PK_DH   0x0004

Definition at line 98 of file evp.h.

#define EVP_PK_DSA   0x0002

Definition at line 97 of file evp.h.

#define EVP_PK_EC   0x0008

Definition at line 99 of file evp.h.

#define EVP_PK_RSA   0x0001

Definition at line 96 of file evp.h.

#define EVP_PKEY_assign_DH ( pkey,
dh   ) 

Value:

EVP_PKEY_assign((pkey),EVP_PKEY_DH,\
               (char *)(dh))

Definition at line 417 of file evp.h.

#define EVP_PKEY_assign_DSA ( pkey,
dsa   ) 

Value:

EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
               (char *)(dsa))

Definition at line 412 of file evp.h.

#define EVP_PKEY_assign_EC_KEY ( pkey,
eckey   ) 

Value:

EVP_PKEY_assign((pkey),EVP_PKEY_EC,\
                                        (char *)(eckey))

Definition at line 422 of file evp.h.

#define EVP_PKEY_assign_RSA ( pkey,
rsa   ) 

Value:

EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
               (char *)(rsa))

Definition at line 407 of file evp.h.

#define EVP_PKEY_DH   NID_dhKeyAgreement

Definition at line 116 of file evp.h.

#define EVP_PKEY_DSA   NID_dsa

Definition at line 111 of file evp.h.

#define EVP_PKEY_DSA1   NID_dsa_2

Definition at line 112 of file evp.h.

#define EVP_PKEY_DSA2   NID_dsaWithSHA

Definition at line 113 of file evp.h.

#define EVP_PKEY_DSA3   NID_dsaWithSHA1

Definition at line 114 of file evp.h.

#define EVP_PKEY_DSA4   NID_dsaWithSHA1_2

Definition at line 115 of file evp.h.

#define EVP_PKEY_DSA_method

#define EVP_PKEY_EC   NID_X9_62_id_ecPublicKey

Definition at line 117 of file evp.h.

#define EVP_PKEY_ECDSA_method

Value:

Definition at line 268 of file evp.h.

#define EVP_PKEY_MO_DECRYPT   0x0008

Definition at line 153 of file evp.h.

#define EVP_PKEY_MO_ENCRYPT   0x0004

Definition at line 152 of file evp.h.

#define EVP_PKEY_MO_SIGN   0x0001

Definition at line 150 of file evp.h.

#define EVP_PKEY_MO_VERIFY   0x0002

Definition at line 151 of file evp.h.

#define EVP_PKEY_NONE   NID_undef

Definition at line 108 of file evp.h.

#define EVP_PKEY_NULL_method   NULL,NULL,{0,0,0,0}

Definition at line 256 of file evp.h.

#define EVP_PKEY_RSA   NID_rsaEncryption

Definition at line 109 of file evp.h.

#define EVP_PKEY_RSA2   NID_rsa

Definition at line 110 of file evp.h.

#define EVP_PKEY_RSA_ASN1_OCTET_STRING_method

#define EVP_PKEY_RSA_method

Value:

Definition at line 276 of file evp.h.

#define EVP_PKS_DSA   0x0200

Definition at line 104 of file evp.h.

#define EVP_PKS_EC   0x0400

Definition at line 105 of file evp.h.

#define EVP_PKS_RSA   0x0100

Definition at line 103 of file evp.h.

#define EVP_PKT_ENC   0x0020

Definition at line 101 of file evp.h.

#define EVP_PKT_EXCH   0x0040

Definition at line 102 of file evp.h.

#define EVP_PKT_EXP   0x1000

Definition at line 106 of file evp.h.

#define EVP_PKT_SIGN   0x0010

Definition at line 100 of file evp.h.

#define EVP_R_AES_KEY_SETUP_FAILED   143

Definition at line 921 of file evp.h.

#define EVP_R_ASN1_LIB   140

Definition at line 922 of file evp.h.

#define EVP_R_BAD_BLOCK_LENGTH   136

Definition at line 923 of file evp.h.

#define EVP_R_BAD_DECRYPT   100

Definition at line 924 of file evp.h.

#define EVP_R_BAD_KEY_LENGTH   137

Definition at line 925 of file evp.h.

#define EVP_R_BN_DECODE_ERROR   112

Definition at line 926 of file evp.h.

#define EVP_R_BN_PUBKEY_ERROR   113

Definition at line 927 of file evp.h.

#define EVP_R_CAMELLIA_KEY_SETUP_FAILED   157

Definition at line 928 of file evp.h.

#define EVP_R_CIPHER_PARAMETER_ERROR   122

Definition at line 929 of file evp.h.

#define EVP_R_CTRL_NOT_IMPLEMENTED   132

Definition at line 930 of file evp.h.

#define EVP_R_CTRL_OPERATION_NOT_IMPLEMENTED   133

Definition at line 931 of file evp.h.

#define EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH   138

Definition at line 932 of file evp.h.

#define EVP_R_DECODE_ERROR   114

Definition at line 933 of file evp.h.

#define EVP_R_DIFFERENT_KEY_TYPES   101

Definition at line 934 of file evp.h.

#define EVP_R_ENCODE_ERROR   115

Definition at line 935 of file evp.h.

#define EVP_R_EVP_PBE_CIPHERINIT_ERROR   119

Definition at line 936 of file evp.h.

#define EVP_R_EXPECTING_A_DH_KEY   128

Definition at line 938 of file evp.h.

#define EVP_R_EXPECTING_A_DSA_KEY   129

Definition at line 939 of file evp.h.

#define EVP_R_EXPECTING_A_EC_KEY   142

Definition at line 941 of file evp.h.

#define EVP_R_EXPECTING_A_ECDSA_KEY   141

Definition at line 940 of file evp.h.

#define EVP_R_EXPECTING_AN_RSA_KEY   127

Definition at line 937 of file evp.h.

#define EVP_R_INITIALIZATION_ERROR   134

Definition at line 942 of file evp.h.

#define EVP_R_INPUT_NOT_INITIALIZED   111

Definition at line 943 of file evp.h.

#define EVP_R_INVALID_KEY_LENGTH   130

Definition at line 944 of file evp.h.

#define EVP_R_IV_TOO_LARGE   102

Definition at line 945 of file evp.h.

#define EVP_R_KEYGEN_FAILURE   120

Definition at line 946 of file evp.h.

#define EVP_R_MISSING_PARAMETERS   103

Definition at line 947 of file evp.h.

#define EVP_R_NO_CIPHER_SET   131

Definition at line 948 of file evp.h.

#define EVP_R_NO_DIGEST_SET   139

Definition at line 949 of file evp.h.

#define EVP_R_NO_DSA_PARAMETERS   116

Definition at line 950 of file evp.h.

#define EVP_R_NO_SIGN_FUNCTION_CONFIGURED   104

Definition at line 951 of file evp.h.

#define EVP_R_NO_VERIFY_FUNCTION_CONFIGURED   105

Definition at line 952 of file evp.h.

#define EVP_R_PKCS8_UNKNOWN_BROKEN_TYPE   117

Definition at line 953 of file evp.h.

#define EVP_R_PUBLIC_KEY_NOT_RSA   106

Definition at line 954 of file evp.h.

#define EVP_R_UNKNOWN_PBE_ALGORITHM   121

Definition at line 955 of file evp.h.

#define EVP_R_UNSUPORTED_NUMBER_OF_ROUNDS   135

Definition at line 956 of file evp.h.

#define EVP_R_UNSUPPORTED_CIPHER   107

Definition at line 957 of file evp.h.

#define EVP_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION   124

Definition at line 959 of file evp.h.

#define EVP_R_UNSUPPORTED_KEY_SIZE   108

Definition at line 960 of file evp.h.

#define EVP_R_UNSUPPORTED_KEYLENGTH   123

Definition at line 958 of file evp.h.

#define EVP_R_UNSUPPORTED_PRF   125

Definition at line 961 of file evp.h.

#define EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM   118

Definition at line 962 of file evp.h.

#define EVP_R_UNSUPPORTED_SALT_TYPE   126

Definition at line 963 of file evp.h.

#define EVP_R_WRONG_FINAL_BLOCK_LENGTH   109

Definition at line 964 of file evp.h.

#define EVP_R_WRONG_PUBLIC_KEY_TYPE   110

Definition at line 965 of file evp.h.

#define EVP_rc2_cfb   EVP_rc2_cfb64

Definition at line 689 of file evp.h.

#define EVP_rc5_32_12_16_cfb   EVP_rc5_32_12_16_cfb64

Definition at line 710 of file evp.h.

#define EVP_SealUpdate ( a,
b,
c,
d,
 )     EVP_EncryptUpdate(a,b,c,d,e)

Definition at line 473 of file evp.h.

#define EVP_SignInit ( a,
 )     EVP_DigestInit(a,b)

Definition at line 467 of file evp.h.

#define EVP_SignInit_ex ( a,
b,
 )     EVP_DigestInit_ex(a,b,c)

Definition at line 466 of file evp.h.

#define EVP_SignUpdate ( a,
b,
 )     EVP_DigestUpdate(a,b,c)

Definition at line 468 of file evp.h.

#define EVP_VerifyInit ( a,
 )     EVP_DigestInit(a,b)

Definition at line 470 of file evp.h.

#define EVP_VerifyInit_ex ( a,
b,
 )     EVP_DigestInit_ex(a,b,c)

Definition at line 469 of file evp.h.

#define EVP_VerifyUpdate ( a,
b,
 )     EVP_DigestUpdate(a,b,c)

Definition at line 471 of file evp.h.

 
#define OpenSSL_add_all_algorithms (  )     OPENSSL_add_all_algorithms_noconf()

Definition at line 776 of file evp.h.

#define PKCS5_DEFAULT_ITER   2048

Definition at line 92 of file evp.h.

#define PKCS5_SALT_LEN   8

Definition at line 90 of file evp.h.

 
#define SSLeay_add_all_algorithms (  )     OpenSSL_add_all_algorithms()

Definition at line 782 of file evp.h.

 
#define SSLeay_add_all_ciphers (  )     OpenSSL_add_all_ciphers()

Definition at line 783 of file evp.h.

 
#define SSLeay_add_all_digests (  )     OpenSSL_add_all_digests()

Definition at line 784 of file evp.h.


Typedef Documentation

typedef int( EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de)

Definition at line 402 of file evp.h.

typedef int evp_sign_method(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, void *key)

Definition at line 246 of file evp.h.

typedef int evp_verify_method(int type, const unsigned char *m, unsigned int m_length, const unsigned char *sigbuf, unsigned int siglen, void *key)

Definition at line 249 of file evp.h.


Function Documentation

BIO_METHOD* BIO_f_base64 ( void   ) 

BIO_METHOD* BIO_f_cipher ( void   ) 

BIO_METHOD* BIO_f_md ( void   ) 

BIO_METHOD* BIO_f_reliable ( void   ) 

void BIO_set_cipher ( BIO b,
const EVP_CIPHER c,
const unsigned char *  k,
const unsigned char *  i,
int  enc 
)

EVP_PKEY* d2i_AutoPrivateKey ( EVP_PKEY **  a,
const unsigned char **  pp,
long  length 
)

EVP_PKEY* d2i_PrivateKey ( int  type,
EVP_PKEY **  a,
const unsigned char **  pp,
long  length 
)

EVP_PKEY* d2i_PublicKey ( int  type,
EVP_PKEY **  a,
const unsigned char **  pp,
long  length 
)

void ERR_load_EVP_strings ( void   ) 

int EVP_add_cipher ( const EVP_CIPHER cipher  ) 

int EVP_add_digest ( const EVP_MD digest  ) 

const EVP_CIPHER* EVP_aes_128_cbc ( void   ) 

const EVP_CIPHER* EVP_aes_128_cfb1 ( void   ) 

const EVP_CIPHER* EVP_aes_128_cfb128 ( void   ) 

const EVP_CIPHER* EVP_aes_128_cfb8 ( void   ) 

const EVP_CIPHER* EVP_aes_128_ecb ( void   ) 

const EVP_CIPHER* EVP_aes_128_ofb ( void   ) 

const EVP_CIPHER* EVP_aes_192_cbc ( void   ) 

const EVP_CIPHER* EVP_aes_192_cfb1 ( void   ) 

const EVP_CIPHER* EVP_aes_192_cfb128 ( void   ) 

const EVP_CIPHER* EVP_aes_192_cfb8 ( void   ) 

const EVP_CIPHER* EVP_aes_192_ecb ( void   ) 

const EVP_CIPHER* EVP_aes_192_ofb ( void   ) 

const EVP_CIPHER* EVP_aes_256_cbc ( void   ) 

const EVP_CIPHER* EVP_aes_256_cfb1 ( void   ) 

const EVP_CIPHER* EVP_aes_256_cfb128 ( void   ) 

const EVP_CIPHER* EVP_aes_256_cfb8 ( void   ) 

const EVP_CIPHER* EVP_aes_256_ecb ( void   ) 

const EVP_CIPHER* EVP_aes_256_ofb ( void   ) 

const EVP_CIPHER* EVP_bf_cbc ( void   ) 

const EVP_CIPHER* EVP_bf_cfb64 ( void   ) 

const EVP_CIPHER* EVP_bf_ecb ( void   ) 

const EVP_CIPHER* EVP_bf_ofb ( void   ) 

int EVP_BytesToKey ( const EVP_CIPHER type,
const EVP_MD md,
const unsigned char *  salt,
const unsigned char *  data,
int  datal,
int  count,
unsigned char *  key,
unsigned char *  iv 
)

const EVP_CIPHER* EVP_camellia_128_cbc ( void   ) 

const EVP_CIPHER* EVP_camellia_128_cfb1 ( void   ) 

const EVP_CIPHER* EVP_camellia_128_cfb128 ( void   ) 

const EVP_CIPHER* EVP_camellia_128_cfb8 ( void   ) 

const EVP_CIPHER* EVP_camellia_128_ecb ( void   ) 

const EVP_CIPHER* EVP_camellia_128_ofb ( void   ) 

const EVP_CIPHER* EVP_camellia_192_cbc ( void   ) 

const EVP_CIPHER* EVP_camellia_192_cfb1 ( void   ) 

const EVP_CIPHER* EVP_camellia_192_cfb128 ( void   ) 

const EVP_CIPHER* EVP_camellia_192_cfb8 ( void   ) 

const EVP_CIPHER* EVP_camellia_192_ecb ( void   ) 

const EVP_CIPHER* EVP_camellia_192_ofb ( void   ) 

const EVP_CIPHER* EVP_camellia_256_cbc ( void   ) 

const EVP_CIPHER* EVP_camellia_256_cfb1 ( void   ) 

const EVP_CIPHER* EVP_camellia_256_cfb128 ( void   ) 

const EVP_CIPHER* EVP_camellia_256_cfb8 ( void   ) 

const EVP_CIPHER* EVP_camellia_256_ecb ( void   ) 

const EVP_CIPHER* EVP_camellia_256_ofb ( void   ) 

const EVP_CIPHER* EVP_cast5_cbc ( void   ) 

const EVP_CIPHER* EVP_cast5_cfb64 ( void   ) 

const EVP_CIPHER* EVP_cast5_ecb ( void   ) 

const EVP_CIPHER* EVP_cast5_ofb ( void   ) 

int EVP_Cipher ( EVP_CIPHER_CTX c,
unsigned char *  out,
const unsigned char *  in,
unsigned int  inl 
)

int EVP_CIPHER_asn1_to_param ( EVP_CIPHER_CTX c,
ASN1_TYPE type 
)

int EVP_CIPHER_block_size ( const EVP_CIPHER cipher  ) 

int EVP_CIPHER_CTX_block_size ( const EVP_CIPHER_CTX ctx  ) 

const EVP_CIPHER* EVP_CIPHER_CTX_cipher ( const EVP_CIPHER_CTX ctx  ) 

int EVP_CIPHER_CTX_cleanup ( EVP_CIPHER_CTX a  ) 

int EVP_CIPHER_CTX_ctrl ( EVP_CIPHER_CTX ctx,
int  type,
int  arg,
void *  ptr 
)

unsigned long EVP_CIPHER_CTX_flags ( const EVP_CIPHER_CTX ctx  ) 

void EVP_CIPHER_CTX_free ( EVP_CIPHER_CTX a  ) 

void* EVP_CIPHER_CTX_get_app_data ( const EVP_CIPHER_CTX ctx  ) 

void EVP_CIPHER_CTX_init ( EVP_CIPHER_CTX a  ) 

int EVP_CIPHER_CTX_iv_length ( const EVP_CIPHER_CTX ctx  ) 

int EVP_CIPHER_CTX_key_length ( const EVP_CIPHER_CTX ctx  ) 

EVP_CIPHER_CTX* EVP_CIPHER_CTX_new ( void   ) 

int EVP_CIPHER_CTX_nid ( const EVP_CIPHER_CTX ctx  ) 

int EVP_CIPHER_CTX_rand_key ( EVP_CIPHER_CTX ctx,
unsigned char *  key 
)

void EVP_CIPHER_CTX_set_app_data ( EVP_CIPHER_CTX ctx,
void *  data 
)

int EVP_CIPHER_CTX_set_key_length ( EVP_CIPHER_CTX x,
int  keylen 
)

int EVP_CIPHER_CTX_set_padding ( EVP_CIPHER_CTX c,
int  pad 
)

unsigned long EVP_CIPHER_flags ( const EVP_CIPHER cipher  ) 

int EVP_CIPHER_get_asn1_iv ( EVP_CIPHER_CTX c,
ASN1_TYPE type 
)

int EVP_CIPHER_iv_length ( const EVP_CIPHER cipher  ) 

int EVP_CIPHER_key_length ( const EVP_CIPHER cipher  ) 

int EVP_CIPHER_nid ( const EVP_CIPHER cipher  ) 

int EVP_CIPHER_param_to_asn1 ( EVP_CIPHER_CTX c,
ASN1_TYPE type 
)

int EVP_CIPHER_set_asn1_iv ( EVP_CIPHER_CTX c,
ASN1_TYPE type 
)

int EVP_CIPHER_type ( const EVP_CIPHER ctx  ) 

int EVP_CipherFinal ( EVP_CIPHER_CTX ctx,
unsigned char *  outm,
int *  outl 
)

int EVP_CipherFinal_ex ( EVP_CIPHER_CTX ctx,
unsigned char *  outm,
int *  outl 
)

int EVP_CipherInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const unsigned char *  key,
const unsigned char *  iv,
int  enc 
)

int EVP_CipherInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE impl,
const unsigned char *  key,
const unsigned char *  iv,
int  enc 
)

int EVP_CipherUpdate ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  outl,
const unsigned char *  in,
int  inl 
)

void EVP_cleanup ( void   ) 

int EVP_DecodeBlock ( unsigned char *  t,
const unsigned char *  f,
int  n 
)

int EVP_DecodeFinal ( EVP_ENCODE_CTX ctx,
unsigned char *  out,
int *  outl 
)

void EVP_DecodeInit ( EVP_ENCODE_CTX ctx  ) 

int EVP_DecodeUpdate ( EVP_ENCODE_CTX ctx,
unsigned char *  out,
int *  outl,
const unsigned char *  in,
int  inl 
)

int EVP_DecryptFinal ( EVP_CIPHER_CTX ctx,
unsigned char *  outm,
int *  outl 
)

int EVP_DecryptFinal_ex ( EVP_CIPHER_CTX ctx,
unsigned char *  outm,
int *  outl 
)

int EVP_DecryptInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const unsigned char *  key,
const unsigned char *  iv 
)

int EVP_DecryptInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE impl,
const unsigned char *  key,
const unsigned char *  iv 
)

int EVP_DecryptUpdate ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  outl,
const unsigned char *  in,
int  inl 
)

const EVP_CIPHER* EVP_des_cbc ( void   ) 

const EVP_CIPHER* EVP_des_cfb1 ( void   ) 

const EVP_CIPHER* EVP_des_cfb64 ( void   ) 

const EVP_CIPHER* EVP_des_cfb8 ( void   ) 

const EVP_CIPHER* EVP_des_ecb ( void   ) 

const EVP_CIPHER* EVP_des_ede ( void   ) 

const EVP_CIPHER* EVP_des_ede3 ( void   ) 

const EVP_CIPHER* EVP_des_ede3_cbc ( void   ) 

const EVP_CIPHER* EVP_des_ede3_cfb1 ( void   ) 

const EVP_CIPHER* EVP_des_ede3_cfb64 ( void   ) 

const EVP_CIPHER* EVP_des_ede3_cfb8 ( void   ) 

const EVP_CIPHER* EVP_des_ede3_ecb ( void   ) 

const EVP_CIPHER* EVP_des_ede3_ofb ( void   ) 

const EVP_CIPHER* EVP_des_ede_cbc ( void   ) 

const EVP_CIPHER* EVP_des_ede_cfb64 ( void   ) 

const EVP_CIPHER* EVP_des_ede_ecb ( void   ) 

const EVP_CIPHER* EVP_des_ede_ofb ( void   ) 

const EVP_CIPHER* EVP_des_ofb ( void   ) 

const EVP_CIPHER* EVP_desx_cbc ( void   ) 

int EVP_Digest ( const void *  data,
size_t  count,
unsigned char *  md,
unsigned int *  size,
const EVP_MD type,
ENGINE impl 
)

int EVP_DigestFinal ( EVP_MD_CTX ctx,
unsigned char *  md,
unsigned int *  s 
)

int EVP_DigestFinal_ex ( EVP_MD_CTX ctx,
unsigned char *  md,
unsigned int *  s 
)

int EVP_DigestInit ( EVP_MD_CTX ctx,
const EVP_MD type 
)

int EVP_DigestInit_ex ( EVP_MD_CTX ctx,
const EVP_MD type,
ENGINE impl 
)

int EVP_DigestUpdate ( EVP_MD_CTX ctx,
const void *  d,
size_t  cnt 
)

const EVP_MD* EVP_dss ( void   ) 

const EVP_MD* EVP_dss1 ( void   ) 

const EVP_MD* EVP_ecdsa ( void   ) 

const EVP_CIPHER* EVP_enc_null ( void   ) 

int EVP_EncodeBlock ( unsigned char *  t,
const unsigned char *  f,
int  n 
)

void EVP_EncodeFinal ( EVP_ENCODE_CTX ctx,
unsigned char *  out,
int *  outl 
)

void EVP_EncodeInit ( EVP_ENCODE_CTX ctx  ) 

void EVP_EncodeUpdate ( EVP_ENCODE_CTX ctx,
unsigned char *  out,
int *  outl,
const unsigned char *  in,
int  inl 
)

int EVP_EncryptFinal ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  outl 
)

int EVP_EncryptFinal_ex ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  outl 
)

int EVP_EncryptInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const unsigned char *  key,
const unsigned char *  iv 
)

int EVP_EncryptInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE impl,
const unsigned char *  key,
const unsigned char *  iv 
)

int EVP_EncryptUpdate ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  outl,
const unsigned char *  in,
int  inl 
)

const EVP_CIPHER* EVP_get_cipherbyname ( const char *  name  ) 

const EVP_MD* EVP_get_digestbyname ( const char *  name  ) 

char* EVP_get_pw_prompt ( void   ) 

const EVP_CIPHER* EVP_idea_cbc ( void   ) 

const EVP_CIPHER* EVP_idea_cfb64 ( void   ) 

const EVP_CIPHER* EVP_idea_ecb ( void   ) 

const EVP_CIPHER* EVP_idea_ofb ( void   ) 

const EVP_MD* EVP_md2 ( void   ) 

const EVP_MD* EVP_md4 ( void   ) 

const EVP_MD* EVP_md5 ( void   ) 

int EVP_MD_block_size ( const EVP_MD md  ) 

int EVP_MD_CTX_cleanup ( EVP_MD_CTX ctx  ) 

void EVP_MD_CTX_clear_flags ( EVP_MD_CTX ctx,
int  flags 
)

int EVP_MD_CTX_copy ( EVP_MD_CTX out,
const EVP_MD_CTX in 
)

int EVP_MD_CTX_copy_ex ( EVP_MD_CTX out,
const EVP_MD_CTX in 
)

EVP_MD_CTX* EVP_MD_CTX_create ( void   ) 

void EVP_MD_CTX_destroy ( EVP_MD_CTX ctx  ) 

void EVP_MD_CTX_init ( EVP_MD_CTX ctx  ) 

const EVP_MD* EVP_MD_CTX_md ( const EVP_MD_CTX ctx  ) 

void EVP_MD_CTX_set_flags ( EVP_MD_CTX ctx,
int  flags 
)

int EVP_MD_CTX_test_flags ( const EVP_MD_CTX ctx,
int  flags 
)

const EVP_MD* EVP_md_null ( void   ) 

int EVP_MD_pkey_type ( const EVP_MD md  ) 

int EVP_MD_size ( const EVP_MD md  ) 

int EVP_MD_type ( const EVP_MD md  ) 

const EVP_MD* EVP_mdc2 ( void   ) 

int EVP_OpenFinal ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  outl 
)

int EVP_OpenInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER type,
const unsigned char *  ek,
int  ekl,
const unsigned char *  iv,
EVP_PKEY priv 
)

int EVP_PBE_alg_add ( int  nid,
const EVP_CIPHER cipher,
const EVP_MD md,
EVP_PBE_KEYGEN keygen 
)

int EVP_PBE_CipherInit ( ASN1_OBJECT pbe_obj,
const char *  pass,
int  passlen,
ASN1_TYPE param,
EVP_CIPHER_CTX ctx,
int  en_de 
)

void EVP_PBE_cleanup ( void   ) 

int EVP_PKEY_assign ( EVP_PKEY pkey,
int  type,
char *  key 
)

int EVP_PKEY_bits ( EVP_PKEY pkey  ) 

int EVP_PKEY_cmp ( const EVP_PKEY a,
const EVP_PKEY b 
)

int EVP_PKEY_cmp_parameters ( const EVP_PKEY a,
const EVP_PKEY b 
)

int EVP_PKEY_copy_parameters ( EVP_PKEY to,
const EVP_PKEY from 
)

int EVP_PKEY_decrypt ( unsigned char *  dec_key,
const unsigned char *  enc_key,
int  enc_key_len,
EVP_PKEY private_key 
)

int EVP_PKEY_encrypt ( unsigned char *  enc_key,
const unsigned char *  key,
int  key_len,
EVP_PKEY pub_key 
)

void EVP_PKEY_free ( EVP_PKEY pkey  ) 

struct dh_st* EVP_PKEY_get1_DH ( EVP_PKEY pkey  )  [read]

struct dsa_st* EVP_PKEY_get1_DSA ( EVP_PKEY pkey  )  [read]

struct ec_key_st* EVP_PKEY_get1_EC_KEY ( EVP_PKEY pkey  )  [read]

struct rsa_st* EVP_PKEY_get1_RSA ( EVP_PKEY pkey  )  [read]

int EVP_PKEY_missing_parameters ( const EVP_PKEY pkey  ) 

EVP_PKEY* EVP_PKEY_new ( void   ) 

int EVP_PKEY_save_parameters ( EVP_PKEY pkey,
int  mode 
)

int EVP_PKEY_set1_DH ( EVP_PKEY pkey,
struct dh_st key 
)

int EVP_PKEY_set1_DSA ( EVP_PKEY pkey,
struct dsa_st key 
)

int EVP_PKEY_set1_EC_KEY ( EVP_PKEY pkey,
struct ec_key_st *  key 
)

int EVP_PKEY_set1_RSA ( EVP_PKEY pkey,
struct rsa_st key 
)

int EVP_PKEY_size ( EVP_PKEY pkey  ) 

int EVP_PKEY_type ( int  type  ) 

const EVP_CIPHER* EVP_rc2_40_cbc ( void   ) 

const EVP_CIPHER* EVP_rc2_64_cbc ( void   ) 

const EVP_CIPHER* EVP_rc2_cbc ( void   ) 

const EVP_CIPHER* EVP_rc2_cfb64 ( void   ) 

const EVP_CIPHER* EVP_rc2_ecb ( void   ) 

const EVP_CIPHER* EVP_rc2_ofb ( void   ) 

const EVP_CIPHER* EVP_rc4 ( void   ) 

const EVP_CIPHER* EVP_rc4_40 ( void   ) 

const EVP_CIPHER* EVP_rc5_32_12_16_cbc ( void   ) 

const EVP_CIPHER* EVP_rc5_32_12_16_cfb64 ( void   ) 

const EVP_CIPHER* EVP_rc5_32_12_16_ecb ( void   ) 

const EVP_CIPHER* EVP_rc5_32_12_16_ofb ( void   ) 

int EVP_read_pw_string ( char *  buf,
int  length,
const char *  prompt,
int  verify 
)

const EVP_MD* EVP_ripemd160 ( void   ) 

int EVP_SealFinal ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  outl 
)

int EVP_SealInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER type,
unsigned char **  ek,
int *  ekl,
unsigned char *  iv,
EVP_PKEY **  pubk,
int  npubk 
)

void EVP_set_pw_prompt ( const char *  prompt  ) 

const EVP_MD* EVP_sha ( void   ) 

const EVP_MD* EVP_sha1 ( void   ) 

const EVP_MD* EVP_sha224 ( void   ) 

const EVP_MD* EVP_sha256 ( void   ) 

const EVP_MD* EVP_sha384 ( void   ) 

const EVP_MD* EVP_sha512 ( void   ) 

int EVP_SignFinal ( EVP_MD_CTX ctx,
unsigned char *  md,
unsigned int *  s,
EVP_PKEY pkey 
)

int EVP_VerifyFinal ( EVP_MD_CTX ctx,
const unsigned char *  sigbuf,
unsigned int  siglen,
EVP_PKEY pkey 
)

int i2d_PrivateKey ( EVP_PKEY a,
unsigned char **  pp 
)

int i2d_PublicKey ( EVP_PKEY a,
unsigned char **  pp 
)

void OPENSSL_add_all_algorithms_conf ( void   ) 

void OPENSSL_add_all_algorithms_noconf ( void   ) 

void OpenSSL_add_all_ciphers ( void   ) 

void OpenSSL_add_all_digests ( void   ) 

void PKCS5_PBE_add ( void   ) 

int PKCS5_PBE_keyivgen ( EVP_CIPHER_CTX ctx,
const char *  pass,
int  passlen,
ASN1_TYPE param,
const EVP_CIPHER cipher,
const EVP_MD md,
int  en_de 
)

int PKCS5_PBKDF2_HMAC_SHA1 ( const char *  pass,
int  passlen,
const unsigned char *  salt,
int  saltlen,
int  iter,
int  keylen,
unsigned char *  out 
)

int PKCS5_v2_PBE_keyivgen ( EVP_CIPHER_CTX ctx,
const char *  pass,
int  passlen,
ASN1_TYPE param,
const EVP_CIPHER cipher,
const EVP_MD md,
int  en_de 
)


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