Home
last modified time | relevance | path

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

/PHP-5.3/ext/openssl/tests/
H A D012.phpt11 openssl_seal($data, $sealed, $ekeys, array($pub_key)); // no output
12 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key)); // no output
13 openssl_seal($data, $sealed, $ekeys, array($pub_key, $wrong));
14 openssl_seal($data, $sealed, $ekeys, $pub_key);
15 openssl_seal($data, $sealed, $ekeys, array());
16 openssl_seal($data, $sealed, $ekeys, array($wrong));
H A D013.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);
/PHP-5.3/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.c321 ZEND_ARG_INFO(1, ekeys) /* arary */
4207 zval *pubkeys, **pubkey, *sealdata, *ekeys; in PHP_FUNCTION() local
4220 …eters(ZEND_NUM_ARGS() TSRMLS_CC, "szza/|s", &data, &data_len, &sealdata, &ekeys, &pubkeys, &method… in PHP_FUNCTION()
4291 zval_dtor(ekeys); in PHP_FUNCTION()
4292 array_init(ekeys); in PHP_FUNCTION()
4295 add_next_index_stringl(ekeys, erealloc(eks[i], eksl[i] + 1), eksl[i], 0); in PHP_FUNCTION()

Completed in 24 milliseconds