Lines Matching refs:cipher
295 ZEND_ARG_INFO(0, cipher)
1181 const EVP_CIPHER* cipher = php_openssl_get_evp_cipher_from_algo(cipher_algo); in php_openssl_parse_config() local
1182 if (cipher == NULL) { in php_openssl_parse_config()
1186 req->priv_key_encrypt_cipher = cipher; in php_openssl_parse_config()
4522 const EVP_CIPHER * cipher; in PHP_FUNCTION() local
4552 cipher = req.priv_key_encrypt_cipher; in PHP_FUNCTION()
4554 cipher = (EVP_CIPHER *) EVP_des_ede3_cbc(); in PHP_FUNCTION()
4557 cipher = NULL; in PHP_FUNCTION()
4564 bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, in PHP_FUNCTION()
4570 bio_out, key, cipher, in PHP_FUNCTION()
4607 const EVP_CIPHER * cipher; in PHP_FUNCTION() local
4629 cipher = req.priv_key_encrypt_cipher; in PHP_FUNCTION()
4631 cipher = (EVP_CIPHER *) EVP_des_ede3_cbc(); in PHP_FUNCTION()
4634 cipher = NULL; in PHP_FUNCTION()
4641 bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, in PHP_FUNCTION()
4647 bio_out, key, cipher, in PHP_FUNCTION()
5227 const EVP_CIPHER *cipher = NULL; in PHP_FUNCTION() local
5303 cipher = php_openssl_get_evp_cipher_from_algo(cipherid); in PHP_FUNCTION()
5304 if (cipher == NULL) { in PHP_FUNCTION()
5310 p7 = PKCS7_encrypt(recipcerts, infile, (EVP_CIPHER*)cipher, (int)flags); in PHP_FUNCTION()
6081 const EVP_CIPHER *cipher; in PHP_FUNCTION() local
6098 cipher = EVP_get_cipherbyname(method); in PHP_FUNCTION()
6099 if (!cipher) { in PHP_FUNCTION()
6104 cipher = EVP_rc4(); in PHP_FUNCTION()
6107 iv_len = EVP_CIPHER_iv_length(cipher); in PHP_FUNCTION()
6136 if (ctx == NULL || !EVP_EncryptInit(ctx,cipher,NULL,NULL)) { in PHP_FUNCTION()
6147 if (EVP_SealInit(ctx, cipher, eks, eksl, &iv_buf[0], pkeys, nkeys) <= 0 || in PHP_FUNCTION()
6214 const EVP_CIPHER *cipher; in PHP_FUNCTION() local
6231 cipher = EVP_get_cipherbyname(method); in PHP_FUNCTION()
6232 if (!cipher) { in PHP_FUNCTION()
6237 cipher = EVP_rc4(); in PHP_FUNCTION()
6240 cipher_iv_len = EVP_CIPHER_iv_length(cipher); in PHP_FUNCTION()
6259 if (ctx != NULL && EVP_OpenInit(ctx, cipher, (unsigned char *)ekey, (int)ekey_len, iv_buf, pkey) && in PHP_FUNCTION()