Lines Matching refs:passphrase
625 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
3603 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3630 passphrase = Z_STRVAL_P(zphrase); in php_openssl_pkey_from_zval()
3638 passphrase = Z_STRVAL(tmp); in php_openssl_pkey_from_zval()
3725 if (passphrase == NULL) { in php_openssl_pkey_from_zval()
3729 password.key = passphrase; in php_openssl_pkey_from_zval()
4640 char * passphrase = NULL; in PHP_FUNCTION() local
4649 …ameters(ZEND_NUM_ARGS(), "zp|s!a!", &zpkey, &filename, &filename_len, &passphrase, &passphrase_len… in PHP_FUNCTION()
4654 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4656 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4677 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4689 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4711 char * passphrase = NULL; size_t passphrase_len = 0; in PHP_FUNCTION() local
4717 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|s!a!", &zpkey, &out, &passphrase, &passphrase_len, … in PHP_FUNCTION()
4722 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4724 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4737 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4749 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4804 char * passphrase = ""; in PHP_FUNCTION() local
4807 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|s!", &cert, &passphrase, &passphrase_len) == FAILURE… in PHP_FUNCTION()
4811 if (passphrase) { in PHP_FUNCTION()
4812 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 2); in PHP_FUNCTION()
4815 pkey = php_openssl_pkey_from_zval(cert, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()