Searched defs:cipher (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c61 /* Blockmode cipher */
91 /* Stream cipher */
155 const char *cipher = filtername + sizeof("mcrypt.") - 1; local
166 cipher += sizeof("de") - 1;
210 mcrypt_module = mcrypt_module_open((char *)cipher, algo_dir, mode, mode_dir);
H A Dmcrypt.c55 ZEND_ARG_INFO(0, cipher)
169 ZEND_ARG_INFO(0, cipher)
174 ZEND_ARG_INFO(0, cipher)
179 ZEND_ARG_INFO(0, cipher)
184 ZEND_ARG_INFO(0, cipher)
188 ZEND_ARG_INFO(0, cipher)
196 ZEND_ARG_INFO(0, cipher)
297 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
470 /* {{{ proto resource mcrypt_module_open(string cipher, string cipher_directory, string mode, string mode_directory)
474 char *cipher, *cipher_di local
979 char *cipher; local
1008 char *cipher; local
1037 char *cipher; local
1069 char *cipher; local
1216 php_mcrypt_do_crypt(char* cipher, const char *key, size_t key_len, const char *data, size_t data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, zval* return_value) argument
1281 char *cipher, *key, *data, *mode, *iv = NULL; local
1297 char *cipher, *key, *data, *mode, *iv = NULL; local
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c290 ZEND_ARG_INFO(0, cipher)
931 const EVP_CIPHER* cipher = php_openssl_get_evp_cipher_from_algo(cipher_algo); local
932 if (cipher == NULL) {
933 php_error_docref(NULL, E_WARNING, "Unknown cipher algorithm for private key.");
936 req->priv_key_encrypt_cipher = cipher;
3640 const EVP_CIPHER * cipher; local
3665 cipher = req.priv_key_encrypt_cipher;
3667 cipher = (EVP_CIPHER *) EVP_des_ede3_cbc();
3670 cipher = NULL;
3676 pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get1_EC_KEY(key), cipher, (unsigne
3712 const EVP_CIPHER * cipher; local
4149 const EVP_CIPHER *cipher = NULL; local
4856 const EVP_CIPHER *cipher; local
4989 const EVP_CIPHER *cipher; local
[all...]
H A Dxp_ssl.c238 php_error_docref(NULL, E_WARNING, "SSL_R_NO_SHARED_CIPHER: no suitable shared cipher could be used. This could be because the server is missing an SSL certificate (local_cert context option)");
1694 const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl_handle); local
1725 add_assoc_string(&meta_arr, "cipher_name", (char *) SSL_CIPHER_get_name(cipher));
1726 add_assoc_long(&meta_arr, "cipher_bits", SSL_CIPHER_get_bits(cipher, NULL));
1727 add_assoc_string(&meta_arr, "cipher_version", SSL_CIPHER_get_version(cipher));
2284 const SSL_CIPHER *cipher; local
2305 cipher = SSL_get_current_cipher(sslsock->ssl_handle);
2308 add_assoc_string(&tmp, "cipher_name", (char *) SSL_CIPHER_get_name(cipher));
2309 add_assoc_long(&tmp, "cipher_bits", SSL_CIPHER_get_bits(cipher, NULL));
2310 add_assoc_string(&tmp, "cipher_version", SSL_CIPHER_get_version(cipher));
[all...]

Completed in 14 milliseconds