Home
last modified time | relevance | path

Searched refs:pkeys (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/ext/openssl/tests/
H A Dopenssl_spki_new_basic.phpt12 $pkeys = array();
15 $pkeys[] = openssl_pkey_get_private($key_file);
32 foreach ($pkeys as $pkey) {
H A Dopenssl_spki_export_basic.phpt13 $pkeys = array();
16 $pkeys[] = openssl_pkey_get_private($key_file);
33 foreach ($pkeys as $pkey) {
H A Dopenssl_spki_verify_basic.phpt14 $pkeys = array();
17 $pkeys[] = openssl_pkey_get_private($key_file);
32 foreach ($pkeys as $pkey) {
H A Dopenssl_spki_export_challenge_basic.phpt15 $pkeys = array();
18 $pkeys[] = openssl_pkey_get_private($key_file);
35 foreach ($pkeys as $pkey) {
/PHP-8.0/ext/openssl/
H A Dopenssl.c6653 EVP_PKEY **pkeys; in PHP_FUNCTION() local
6689 pkeys = safe_emalloc(nkeys, sizeof(*pkeys), 0); in PHP_FUNCTION()
6693 memset(pkeys, 0, sizeof(*pkeys) * nkeys); in PHP_FUNCTION()
6698 pkeys[i] = php_openssl_pkey_from_zval(pubkey, 1, NULL, 0, 4); in PHP_FUNCTION()
6699 if (pkeys[i] == NULL) { in PHP_FUNCTION()
6706 eks[i] = emalloc(EVP_PKEY_size(pkeys[i]) + 1); in PHP_FUNCTION()
6722 if (EVP_SealInit(ctx, cipher, eks, eksl, &iv_buf[0], pkeys, nkeys) <= 0 || in PHP_FUNCTION()
6761 if (pkeys[i] != NULL) { in PHP_FUNCTION()
6762 EVP_PKEY_free(pkeys[i]); in PHP_FUNCTION()
6770 efree(pkeys); in PHP_FUNCTION()

Completed in 24 milliseconds