Home
last modified time | relevance | path

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

/php-src/ext/openssl/tests/
H A Dopenssl_spki_new_basic.phpt10 $pkeys = array();
13 $pkeys[] = openssl_pkey_get_private($key_file);
26 foreach ($pkeys as $pkey) {
H A Dopenssl_spki_export_basic.phpt14 $pkeys = array();
17 $pkeys[] = openssl_pkey_get_private($key_file);
32 foreach ($pkeys as $pkey) {
H A Dopenssl_spki_verify_basic.phpt12 $pkeys = array();
15 $pkeys[] = openssl_pkey_get_private($key_file);
27 foreach ($pkeys as $pkey) {
H A Dopenssl_spki_export_challenge_basic.phpt16 $pkeys = array();
19 $pkeys[] = openssl_pkey_get_private($key_file);
32 foreach ($pkeys as $pkey) {
/php-src/ext/openssl/
H A Dopenssl.c7266 EVP_PKEY **pkeys; local
7302 pkeys = safe_emalloc(nkeys, sizeof(*pkeys), 0);
7306 memset(pkeys, 0, sizeof(*pkeys) * nkeys);
7311 pkeys[i] = php_openssl_pkey_from_zval(pubkey, 1, NULL, 0, 4);
7312 if (pkeys[i] == NULL) {
7319 eks[i] = emalloc(EVP_PKEY_size(pkeys[i]) + 1);
7335 if (EVP_SealInit(ctx, cipher, eks, eksl, &iv_buf[0], pkeys, nkeys) <= 0 ||
7374 if (pkeys[i] != NULL) {
7375 EVP_PKEY_free(pkeys[i]);
7383 efree(pkeys);

Completed in 21 milliseconds