Home
last modified time | relevance | path

Searched refs:ekeys (Results 1 – 7 of 7) sorted by relevance

/PHP-7.2/ext/openssl/tests/
H A Dopenssl_open_basic.phpt12 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key, $pub_key));
13 openssl_open($sealed, $output, $ekeys[0], $priv_key);
15 openssl_open($sealed, $output2, $ekeys[1], $wrong);
17 openssl_open($sealed, $output3, $ekeys[2], $priv_key);
H A Dbug70438.phpt17 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher);
18 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), 'sparkles', $iv);
19 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher, $iv);
20 openssl_open($sealed, $decrypted, $ekeys[0], $priv_key, $cipher, $iv);
H A Dopenssl_seal_basic.phpt23 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key))); // no output
24 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key))); // no output
25 var_dump(openssl_seal($data, $sealed, $ekeys, array($pub_key, $wrong)));
26 var_dump(openssl_seal($data, $sealed, $ekeys, $pub_key));
27 var_dump(openssl_seal($data, $sealed, $ekeys, array()));
28 var_dump(openssl_seal($data, $sealed, $ekeys, array($wrong)));
H A Dbug60632.phpt21 $ekeys = array();
22 $result = openssl_seal('test phrase', $encrypted, $ekeys, array($pubkey), 'AES-256-CBC');
H A Dbug74651.phpt13 var_dump(openssl_seal($inputstr, $sealed, $ekeys, array($pub_key_id, $pub_key_id), 'AES-128-ECB'));
/PHP-7.2/ext/openssl/
H A DREADME196 int openssl_seal(string data, &string sealdata, &array ekeys, array pubkeys)
199 keys and ekeys can decrypt and read the data. Returns the length of the
200 sealed data on success, else false. On success, sealdata and ekeys hold
270 // $ekeys[0] and $ekeys[1] respectively.
271 openssl_seal($data, $sealed, $ekeys, array($pk1,$pk2));
283 openssl_open($sealed, $open, $ekeys[1], $key);
H A Dopenssl.c369 ZEND_ARG_INFO(1, ekeys) /* array */
6021 zval *pubkeys, *pubkey, *sealdata, *ekeys, *iv = NULL; in PHP_FUNCTION() local
6035 &sealdata, &ekeys, &pubkeys, &method, &method_len, &iv) == FAILURE) { in PHP_FUNCTION()
6112 zval_dtor(ekeys); in PHP_FUNCTION()
6113 array_init(ekeys); in PHP_FUNCTION()
6116 add_next_index_stringl(ekeys, (const char*)eks[i], eksl[i]); in PHP_FUNCTION()

Completed in 23 milliseconds