Lines Matching refs:passphrase

641 		zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
3529 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3556 passphrase = Z_STRVAL_P(zphrase); in php_openssl_pkey_from_zval()
3564 passphrase = Z_STRVAL(tmp); in php_openssl_pkey_from_zval()
3653 if (passphrase == NULL) { in php_openssl_pkey_from_zval()
3657 password.key = passphrase; in php_openssl_pkey_from_zval()
4714 char * passphrase = NULL; in PHP_FUNCTION() local
4723 …ameters(ZEND_NUM_ARGS(), "zp|s!a!", &zpkey, &filename, &filename_len, &passphrase, &passphrase_len… in PHP_FUNCTION()
4728 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4730 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4751 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4763 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4785 char * passphrase = NULL; size_t passphrase_len = 0; in PHP_FUNCTION() local
4791 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|s!a!", &zpkey, &out, &passphrase, &passphrase_len, … in PHP_FUNCTION()
4796 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4798 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4811 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4823 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4878 char * passphrase = ""; in PHP_FUNCTION() local
4881 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|s!", &cert, &passphrase, &passphrase_len) == FAILURE… in PHP_FUNCTION()
4885 if (passphrase) { in PHP_FUNCTION()
4886 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 2); in PHP_FUNCTION()
4889 pkey = php_openssl_pkey_from_zval(cert, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()