Home
last modified time | relevance | path

Searched refs:aad (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/openssl/tests/
H A Dcipher_tests.inc7 'aad' => '000102030405060708090a0b0c0d0e0f',
15 'aad' => '000102030405060708090a0b0c0d0e0f' .
29 'aad' => 'c17a32514eb6103f3249e076d4c871dc' .
69 'aad' => 'feedfacedeadbeeffeedfacedeadbeefabaddad2',
117 'aad' => '',
125 'aad' => '0001020304050607',
133 'aad' => '0001020304050607',
141 'aad' => '',
149 'aad' => '000102030405060708090A0B0C0D0E0F',
176 if (!isset($test['aad'])) {
[all …]
H A Dbug74099.phpt9 $aad = random_bytes(32);
16 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad);
H A Dopenssl_decrypt_ocb.phpt19 $test['iv'], $test['tag'], $test['aad']);
25 NULL, $test['tag'], $test['aad']));
29 str_repeat('x', 32), $test['tag'], $test['aad']));
37 $test['iv'], str_repeat('x', 16), $test['aad']));
H A Dopenssl_decrypt_ccm.phpt20 $test['iv'], $test['tag'], $test['aad']);
27 NULL, $test['tag'], $test['aad']));
33 $test['iv'], str_repeat('x', 10), $test['aad']));
H A Dopenssl_decrypt_gcm.phpt19 $test['iv'], $test['tag'], $test['aad']);
25 NULL, $test['tag'], $test['aad']));
31 $test['iv'], str_repeat('x', 16), $test['aad']));
H A Dopenssl_encrypt_ccm.phpt20 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
H A Dopenssl_encrypt_gcm.phpt19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
H A Dopenssl_encrypt_ocb.phpt19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
/PHP-8.0/ext/openssl/
H A Dphp_openssl.h104 const char *aad, size_t aad_len);
112 const char *aad, size_t aad_len);
H A Dopenssl.stub.php201 …ring $passphrase, int $options = 0, string $iv = "", &$tag = null, string $aad = "", int $tag_leng… argument
203 … $passphrase, int $options = 0, string $iv = "", string $tag = "", string $aad = ""): string|false… argument
H A Dopenssl_arginfo.h335 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, aad, IS_STRING, 0, "\"\"")
346 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, aad, IS_STRING, 0, "\"\"")
H A Dopenssl.c7155 const char *aad, size_t aad_len, int enc) /* {{{ */ in php_openssl_cipher_update() argument
7201 const char *aad, size_t aad_len) in php_openssl_encrypt() argument
7212 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(aad_len, aad); in php_openssl_encrypt()
7234 data, data_len, aad, aad_len, 1) == FAILURE) { in php_openssl_encrypt()
7289 char *data, *method, *password, *iv = "", *aad = ""; in PHP_FUNCTION() local
7295 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) { in PHP_FUNCTION()
7314 const char *aad, size_t aad_len) in php_openssl_decrypt() argument
7326 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(aad_len, aad); in php_openssl_decrypt()
7359 data, data_len, aad, aad_len, 0) == FAILURE) { in php_openssl_decrypt()
7390 char *data, *method, *password, *iv = "", *tag = NULL, *aad = ""; in PHP_FUNCTION() local
[all …]

Completed in 40 milliseconds