/external/openssl/crypto/evp/ |
e_null.c | 64 static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 66 static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 88 static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 95 static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
|
e_des.c | 68 static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 70 static int des_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr); 74 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 82 static int des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 89 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 97 static int des_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 107 static int des_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 123 static int des_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 150 static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 163 static int des_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr [all...] |
evp_lib.c | 64 int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) 77 int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type) 90 int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) 108 int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) 186 int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx) 191 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) 201 void *EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx) 206 void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data) 221 int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx) 226 int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx [all...] |
e_bf.c | 67 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 81 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
e_cast.c | 68 static int cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 83 static int cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
e_seed.c | 65 static int seed_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc); 76 static int seed_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
enc_min.c | 69 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) 74 memset(ctx,0,sizeof(EVP_CIPHER_CTX)); 84 static int bad_init(EVP_CIPHER_CTX *ctx, const unsigned char *key, 88 static int bad_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 94 static int bad_set_asn1(EVP_CIPHER_CTX *ctx, ASN1_TYPE *typ) 96 static int bad_get_asn1(EVP_CIPHER_CTX *ctx, ASN1_TYPE *typ) 98 static int bad_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) 125 static int do_evp_enc_engine_null(EVP_CIPHER_CTX *ctx, 133 (EVP_CIPHER_CTX *ctx, const EVP_CIPHER **pciph, ENGINE *impl) 139 (EVP_CIPHER_CTX *ctx, const EVP_CIPHER **pciph, ENGINE *impl) [all...] |
evp_enc.c | 79 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) 81 EVP_CIPHER_CTX *ctx=OPENSSL_malloc(sizeof *ctx); 87 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, 95 int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, 103 int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 110 int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 117 int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, 123 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, 129 int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, 135 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl [all...] |
e_rc4.c | 79 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 81 static int rc4_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 123 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 131 static int rc4_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
|
e_rc5.c | 69 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 71 static int rc5_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr); 87 static int rc5_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) 118 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
e_xcbc_d.c | 68 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 70 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 103 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 115 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
|
e_rc2.c | 69 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 71 static int rc2_meth_to_magic(EVP_CIPHER_CTX *ctx); 73 static int rc2_set_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type); 74 static int rc2_get_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type); 75 static int rc2_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr); 137 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 145 static int rc2_meth_to_magic(EVP_CIPHER_CTX *e) 168 static int rc2_get_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) 193 static int rc2_set_asn1_type_and_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type) 207 static int rc2_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr [all...] |
evp.h | 339 int (*init)(EVP_CIPHER_CTX *ctx, const unsigned char *key, 341 int (*do_cipher)(EVP_CIPHER_CTX *ctx, unsigned char *out, 343 int (*cleanup)(EVP_CIPHER_CTX *); /* cleanup ctx */ 345 int (*set_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Populate a ASN1_TYPE with parameters */ 346 int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Get parameters from a ASN1_TYPE */ 347 int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr); /* Miscellaneous operations */ 419 } /* EVP_CIPHER_CTX */; 435 typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, 497 const EVP_CIPHER * EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx); 498 int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx) [all...] |
e_des3.c | 68 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 71 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 74 static int des3_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr); 87 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 99 static int des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 108 static int des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 127 static int des_ede_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 138 static int des_ede3_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 156 static int des_ede3_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 194 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key [all...] |
e_idea.c | 68 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 75 static int idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 98 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
e_camellia.c | 65 static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 109 static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
p_open.c | 69 int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, 113 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
|
p_seal.c | 69 int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek, 99 EVP_CIPHER_CTX *ctx; 109 int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
|
e_aes.c | 60 static int aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 96 static int aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
evp_locl.h | 71 static int cname##_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \ 79 static int cname##_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \ 86 static int cname##_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \ 93 static int cname##_cfb##cbits##_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \ 170 sizeof(EVP_CIPHER_CTX)-sizeof((((EVP_CIPHER_CTX *)NULL)->c))+\ 171 sizeof((((EVP_CIPHER_CTX *)NULL)->c.kstruct)),\ 183 sizeof(EVP_CIPHER_CTX)-sizeof((((EVP_CIPHER_CTX *)NULL)->c))+\ 184 sizeof((((EVP_CIPHER_CTX *)NULL)->c.kstruct)), [all...] |
openbsd_hw.c | 120 static int dev_crypto_cleanup(EVP_CIPHER_CTX *ctx) 130 static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx,int cipher, 153 static int dev_crypto_cipher(EVP_CIPHER_CTX *ctx,unsigned char *out, 238 static int dev_crypto_des_ede3_init_key(EVP_CIPHER_CTX *ctx, 252 static int dev_crypto_rc4_init_key(EVP_CIPHER_CTX *ctx,
|
evp_pbe.c | 78 ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de)
|
/external/openssl/include/openssl/ |
evp.h | 339 int (*init)(EVP_CIPHER_CTX *ctx, const unsigned char *key, 341 int (*do_cipher)(EVP_CIPHER_CTX *ctx, unsigned char *out, 343 int (*cleanup)(EVP_CIPHER_CTX *); /* cleanup ctx */ 345 int (*set_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Populate a ASN1_TYPE with parameters */ 346 int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Get parameters from a ASN1_TYPE */ 347 int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr); /* Miscellaneous operations */ 419 } /* EVP_CIPHER_CTX */; 435 typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, 497 const EVP_CIPHER * EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx); 498 int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx) [all...] |
/external/openssl/ssl/ |
s2_enc.c | 66 EVP_CIPHER_CTX *rs,*ws; 82 ((s->enc_read_ctx=(EVP_CIPHER_CTX *) 83 OPENSSL_malloc(sizeof(EVP_CIPHER_CTX))) == NULL)) 92 ((s->enc_write_ctx=(EVP_CIPHER_CTX *) 93 OPENSSL_malloc(sizeof(EVP_CIPHER_CTX))) == NULL)) 124 EVP_CIPHER_CTX *ds;
|
/external/openssl/crypto/pkcs12/ |
p12_crpt.c | 87 int PKCS12_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
|