Searched refs:pkeys (Results 1 – 5 of 5) sorted by relevance
/PHP-5.6/ext/openssl/tests/ |
H A D | openssl_spki_new_basic.phpt | 12 $pkeys = array(); 15 $pkeys[] = openssl_pkey_get_private($key_file); 32 foreach ($pkeys as $pkey) {
|
H A D | openssl_spki_export_basic.phpt | 13 $pkeys = array(); 16 $pkeys[] = openssl_pkey_get_private($key_file); 33 foreach ($pkeys as $pkey) {
|
H A D | openssl_spki_verify_basic.phpt | 14 $pkeys = array(); 17 $pkeys[] = openssl_pkey_get_private($key_file); 32 foreach ($pkeys as $pkey) {
|
H A D | openssl_spki_export_challenge_basic.phpt | 15 $pkeys = array(); 18 $pkeys[] = openssl_pkey_get_private($key_file); 35 foreach ($pkeys as $pkey) {
|
/PHP-5.6/ext/openssl/ |
H A D | openssl.c | 4912 EVP_PKEY **pkeys; in PHP_FUNCTION() local 4947 pkeys = safe_emalloc(nkeys, sizeof(*pkeys), 0); in PHP_FUNCTION() 4959 pkeys[i] = php_openssl_evp_from_zval(pubkey, 1, NULL, 0, &key_resources[i] TSRMLS_CC); in PHP_FUNCTION() 4960 if (pkeys[i] == NULL) { in PHP_FUNCTION() 4965 eks[i] = emalloc(EVP_PKEY_size(pkeys[i]) + 1); in PHP_FUNCTION() 4985 if (EVP_SealInit(&ctx, cipher, eks, eksl, NULL, pkeys, nkeys) <= 0 || in PHP_FUNCTION() 5026 EVP_PKEY_free(pkeys[i]); in PHP_FUNCTION() 5034 efree(pkeys); in PHP_FUNCTION()
|
Completed in 24 milliseconds