Searched refs:pkeys (Results 1 – 5 of 5) sorted by relevance
/PHP-7.1/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-7.1/ext/openssl/ |
H A D | openssl.c | 5848 EVP_PKEY **pkeys; in PHP_FUNCTION() local 5889 pkeys = safe_emalloc(nkeys, sizeof(*pkeys), 0); in PHP_FUNCTION() 5895 memset(pkeys, 0, sizeof(*pkeys) * nkeys); in PHP_FUNCTION() 5900 pkeys[i] = php_openssl_evp_from_zval(pubkey, 1, NULL, 0, 0, &key_resources[i]); in PHP_FUNCTION() 5901 if (pkeys[i] == NULL) { in PHP_FUNCTION() 5906 eks[i] = emalloc(EVP_PKEY_size(pkeys[i]) + 1); in PHP_FUNCTION() 5922 if (EVP_SealInit(ctx, cipher, eks, eksl, &iv_buf[0], pkeys, nkeys) <= 0 || in PHP_FUNCTION() 5959 if (key_resources[i] == NULL && pkeys[i] != NULL) { in PHP_FUNCTION() 5960 EVP_PKEY_free(pkeys[i]); in PHP_FUNCTION() 5968 efree(pkeys); in PHP_FUNCTION()
|
Completed in 16 milliseconds