Home
last modified time | relevance | path

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

/PHP-7.0/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.phpt19 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher);
20 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), 'sparkles', $iv);
21 openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key), $cipher, $iv);
22 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.0/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.c361 ZEND_ARG_INFO(1, ekeys) /* array */
5347 zval *pubkeys, *pubkey, *sealdata, *ekeys, *iv = NULL; in PHP_FUNCTION() local
5361 &sealdata, &ekeys, &pubkeys, &method, &method_len, &iv) == FAILURE) { in PHP_FUNCTION()
5436 zval_dtor(ekeys); in PHP_FUNCTION()
5437 array_init(ekeys); in PHP_FUNCTION()
5440 add_next_index_stringl(ekeys, (const char*)eks[i], eksl[i]); in PHP_FUNCTION()

Completed in 24 milliseconds