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) { \
481 /* {{{ proto resource mcrypt_module_open(string cipher, string cipher_directory, string mode, string mode_directory)
485 char *cipher, *cipher_di local
990 char *cipher; local
1019 char *cipher; local
1048 char *cipher; local
1080 char *cipher; local
1227 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
1292 char *cipher, *key, *data, *mode, *iv = NULL; local
1308 char *cipher, *key, *data, *mode, *iv = NULL; local
[all...]
/PHP_TRUNK/ext/openssl/
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)");
1681 const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl_handle); local
1712 add_assoc_string(&meta_arr, "cipher_name", (char *) SSL_CIPHER_get_name(cipher));
1713 add_assoc_long(&meta_arr, "cipher_bits", SSL_CIPHER_get_bits(cipher, NULL));
1714 add_assoc_string(&meta_arr, "cipher_version", SSL_CIPHER_get_version(cipher));
2271 const SSL_CIPHER *cipher; local
2292 cipher = SSL_get_current_cipher(sslsock->ssl_handle);
2295 add_assoc_string(&tmp, "cipher_name", (char *) SSL_CIPHER_get_name(cipher));
2296 add_assoc_long(&tmp, "cipher_bits", SSL_CIPHER_get_bits(cipher, NULL));
2297 add_assoc_string(&tmp, "cipher_version", SSL_CIPHER_get_version(cipher));
[all...]
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;
3644 const EVP_CIPHER * cipher; local
3669 cipher = req.priv_key_encrypt_cipher;
3671 cipher = (EVP_CIPHER *) EVP_des_ede3_cbc();
3674 cipher = NULL;
3680 pem_write = PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get1_EC_KEY(key), cipher, (unsigne
3716 const EVP_CIPHER * cipher; local
4153 const EVP_CIPHER *cipher = NULL; local
4860 const EVP_CIPHER *cipher; local
4993 const EVP_CIPHER *cipher; local
[all...]

Completed in 25 milliseconds