Lines Matching refs:passphrase
659 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
3600 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3627 passphrase = Z_STRVAL_P(zphrase); in php_openssl_pkey_from_zval()
3635 passphrase = Z_STRVAL(tmp); in php_openssl_pkey_from_zval()
3724 if (passphrase == NULL) { in php_openssl_pkey_from_zval()
3728 password.key = passphrase; in php_openssl_pkey_from_zval()
4887 char * passphrase = NULL; in PHP_FUNCTION() local
4896 …ameters(ZEND_NUM_ARGS(), "zp|s!a!", &zpkey, &filename, &filename_len, &passphrase, &passphrase_len… in PHP_FUNCTION()
4901 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4903 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4924 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4936 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4958 char * passphrase = NULL; size_t passphrase_len = 0; in PHP_FUNCTION() local
4964 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|s!a!", &zpkey, &out, &passphrase, &passphrase_len, … in PHP_FUNCTION()
4969 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4971 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4984 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4996 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
5051 char * passphrase = ""; in PHP_FUNCTION() local
5054 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|s!", &cert, &passphrase, &passphrase_len) == FAILURE… in PHP_FUNCTION()
5058 if (passphrase) { in PHP_FUNCTION()
5059 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 2); in PHP_FUNCTION()
5062 pkey = php_openssl_pkey_from_zval(cert, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()