Lines Matching refs:passphrase
613 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
3613 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3640 passphrase = Z_STRVAL_P(zphrase); in php_openssl_pkey_from_zval()
3648 passphrase = Z_STRVAL(tmp); in php_openssl_pkey_from_zval()
3736 if (passphrase == NULL) { in php_openssl_pkey_from_zval()
3740 password.key = passphrase; in php_openssl_pkey_from_zval()
4390 char * passphrase = NULL; in PHP_FUNCTION() local
4399 …ameters(ZEND_NUM_ARGS(), "zp|s!a!", &zpkey, &filename, &filename_len, &passphrase, &passphrase_len… in PHP_FUNCTION()
4404 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4406 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4427 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4442 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4448 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4473 char * passphrase = NULL; size_t passphrase_len = 0; in PHP_FUNCTION() local
4479 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|s!a!", &zpkey, &out, &passphrase, &passphrase_len, … in PHP_FUNCTION()
4484 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 3); in PHP_FUNCTION()
4486 key = php_openssl_pkey_from_zval(zpkey, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()
4499 if (passphrase && req.priv_key_encrypt) { in PHP_FUNCTION()
4514 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4520 (unsigned char *)passphrase, (int)passphrase_len, NULL, NULL); in PHP_FUNCTION()
4581 char * passphrase = ""; in PHP_FUNCTION() local
4585 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|s!", &cert, &passphrase, &passphrase_len) == FAILURE… in PHP_FUNCTION()
4589 if (passphrase) { in PHP_FUNCTION()
4590 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(passphrase_len, passphrase, 2); in PHP_FUNCTION()
4593 pkey = php_openssl_pkey_from_zval(cert, 0, passphrase, passphrase_len, 1); in PHP_FUNCTION()