Searched refs:EVP_CIPHER_CTX (Results 1 - 25 of 129) sorted by relevance

123456

/macosx-10.10/OpenSSL098-52/src/crypto/evp/
H A De_null.c64 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,
H A De_des.c68 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 *
[all...]
H A Devp_lib.c64 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 *ct
[all...]
H A De_bf.c67 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,
H A De_cast.c68 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,
H A De_seed.c65 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,
H A Denc_min.c69 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 *ct
[all...]
H A Devp_enc.c79 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 *ct
[all...]
H A De_rc4.c79 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,
H A De_rc5.c69 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,
H A De_xcbc_d.c68 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,
H A De_rc2.c69 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 *
[all...]
H A Devp.h339 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 *ct
[all...]
H A De_des3.c68 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 *ct
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A Devp.h119 typedef struct hc_CIPHER_CTX EVP_CIPHER_CTX; typedef in typeref:struct:hc_CIPHER_CTX
145 int (*init)(EVP_CIPHER_CTX*,const unsigned char*,const unsigned char*,int);
146 int (*do_cipher)(EVP_CIPHER_CTX *, unsigned char *,
148 int (*cleanup)(EVP_CIPHER_CTX *);
152 int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr);
281 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *);
282 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *);
283 int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *, int);
284 int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *, int);
286 EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *);
[all...]
H A Devp-hcrypto.c66 aes_init(EVP_CIPHER_CTX *ctx,
80 aes_do_cipher(EVP_CIPHER_CTX *ctx,
435 des_cbc_init(EVP_CIPHER_CTX *ctx,
448 des_cbc_do_cipher(EVP_CIPHER_CTX *ctx,
497 des_ede3_cbc_init(EVP_CIPHER_CTX *ctx,
521 des_ede3_cbc_do_cipher(EVP_CIPHER_CTX *ctx,
572 rc2_init(EVP_CIPHER_CTX *ctx,
587 rc2_do_cipher(EVP_CIPHER_CTX *ctx,
685 camellia_init(EVP_CIPHER_CTX *ctx,
697 camellia_do_cipher(EVP_CIPHER_CTX *ct
[all...]
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-evp.h206 typedef struct ossl_CIPHER_CTX EVP_CIPHER_CTX; typedef in typeref:struct:ossl_CIPHER_CTX
238 int (*init)(EVP_CIPHER_CTX *, const unsigned char *, const unsigned char *, int);
239 int (*do_cipher)(EVP_CIPHER_CTX *, unsigned char *,
241 int (*cleanup)(EVP_CIPHER_CTX *);
245 int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr);
393 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *);
394 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *);
395 int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *, int);
396 int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *, int);
397 unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *);
[all...]
/macosx-10.10/OpenSSL098-52/src/include/openssl/
H A Devp.h339 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 *ct
[all...]
/macosx-10.10/OpenSSH-189/openssh/
H A Dcipher-bf1.c71 static void bf_ssh1_init (EVP_CIPHER_CTX * ctx, const unsigned char *key,
83 static int (*orig_bf)(EVP_CIPHER_CTX *, u_char *,
87 bf_ssh1_cipher(EVP_CIPHER_CTX *ctx, u_char *out, const u_char *in,
H A Dcipher-3des1.c60 EVP_CIPHER_CTX k1, k2, k3;
64 void ssh1_3des_iv(EVP_CIPHER_CTX *, int, u_char *, int);
67 ssh1_3des_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv,
110 ssh1_3des_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src,
133 ssh1_3des_cleanup(EVP_CIPHER_CTX *ctx)
149 ssh1_3des_iv(EVP_CIPHER_CTX *evp, int doset, u_char *iv, int len)
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dopenssl-compat.h70 void ssh_rijndael_iv(EVP_CIPHER_CTX *, int, u_char *, u_int);
78 void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t);
158 int ssh_EVP_CipherInit(EVP_CIPHER_CTX *, const EVP_CIPHER *, unsigned char *,
160 int ssh_EVP_Cipher(EVP_CIPHER_CTX *, char *, char *, int);
161 int ssh_EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *);
H A Dopenssl-compat.c48 ssh_EVP_CipherInit(EVP_CIPHER_CTX *evp, const EVP_CIPHER *type,
56 ssh_EVP_Cipher(EVP_CIPHER_CTX *evp, char *dst, char *src, int len)
63 ssh_EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *evp)
/macosx-10.10/ruby-106/ruby/ext/openssl/
H A Dossl_cipher.c16 (obj) = Data_Make_Struct((klass), EVP_CIPHER_CTX, 0, ossl_cipher_free, (ctx))
18 memset(DATA_PTR(obj) = (ctx) = ALLOC(EVP_CIPHER_CTX), 0, sizeof(EVP_CIPHER_CTX))
20 Data_Get_Struct((obj), EVP_CIPHER_CTX, (ctx)); \
47 EVP_CIPHER_CTX *ctx;
58 EVP_CIPHER_CTX *ctx;
73 ossl_cipher_free(EVP_CIPHER_CTX *ctx)
102 EVP_CIPHER_CTX *ctx;
133 EVP_CIPHER_CTX *ctx1, *ctx2;
193 EVP_CIPHER_CTX *ct
[all...]
/macosx-10.10/OpenSSL098-52/src/ssl/
H A Ds2_enc.c66 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;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/openssl/
H A Devp.h341 /* int set_asn1_parameters(EVP_CIPHER_CTX,ASN1_TYPE *); */
343 /* int get_asn1_parameters(EVP_CIPHER_CTX,ASN1_TYPE *); */
404 } EVP_CIPHER_CTX; typedef in typeref:struct:evp_cipher_ctx_st
420 typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
507 void EVP_EncryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *type,
509 void EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
511 void EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
513 void EVP_DecryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *type,
515 void EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
517 int EVP_DecryptFinal(EVP_CIPHER_CTX *ct
[all...]

Completed in 326 milliseconds

123456