Home
last modified time | relevance | path

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

/PHP-5.6/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 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.phpt20 $ekeys = array();
21 $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-5.6/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.c354 ZEND_ARG_INFO(1, ekeys) /* arary */
4909 zval *pubkeys, **pubkey, *sealdata, *ekeys; in PHP_FUNCTION() local
4922 …eters(ZEND_NUM_ARGS() TSRMLS_CC, "szza/|s", &data, &data_len, &sealdata, &ekeys, &pubkeys, &method… in PHP_FUNCTION()
5000 zval_dtor(ekeys); in PHP_FUNCTION()
5001 array_init(ekeys); in PHP_FUNCTION()
5004 add_next_index_stringl(ekeys, erealloc(eks[i], eksl[i] + 1), eksl[i], 0); in PHP_FUNCTION()

Completed in 25 milliseconds