Home
last modified time | relevance | path

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

/PHP-8.3/ext/openssl/tests/
H A Dcipher_tests.inc7 'aad' => '000102030405060708090a0b0c0d0e0f',
15 'aad' => '000102030405060708090a0b0c0d0e0f' .
29 'aad' => 'c17a32514eb6103f3249e076d4c871dc' .
117 'aad' => '',
125 'aad' => '0001020304050607',
133 'aad' => '0001020304050607',
141 'aad' => '',
168 'aad' => '50515253c0c1c2c3c4c5c6c7',
191 'aad' => 'f33388860000000000004e91',
242 if (!isset($test['aad'])) {
[all …]
H A Dbug74099.phpt7 $aad = random_bytes(32);
14 $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 '', $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_gcm.phpt19 $test['iv'], $test['tag'], $test['aad']);
25 '', $test['tag'], $test['aad']));
31 $test['iv'], str_repeat('x', 16), $test['aad']));
H A Dopenssl_decrypt_ccm.phpt20 $test['iv'], $test['tag'], $test['aad']);
27 '', $test['tag'], $test['aad']));
33 $test['iv'], str_repeat('x', 10), $test['aad']));
H A Dopenssl_encrypt_chacha20_poly1305.phpt19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
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.3/ext/openssl/
H A Dphp_openssl.h136 const char *aad, size_t aad_len);
144 const char *aad, size_t aad_len);
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.c7575 const char *aad, size_t aad_len, int enc) /* {{{ */ in php_openssl_cipher_update() argument
7621 const char *aad, size_t aad_len) in php_openssl_encrypt() argument
7632 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(aad_len, aad); in php_openssl_encrypt()
7654 data, data_len, aad, aad_len, 1) == FAILURE) { in php_openssl_encrypt()
7709 char *data, *method, *password, *iv = "", *aad = ""; in PHP_FUNCTION() local
7715 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) { in PHP_FUNCTION()
7734 const char *aad, size_t aad_len) in php_openssl_decrypt() argument
7746 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(aad_len, aad); in php_openssl_decrypt()
7779 data, data_len, aad, aad_len, 0) == FAILURE) { in php_openssl_decrypt()
7810 char *data, *method, *password, *iv = "", *tag = NULL, *aad = ""; in PHP_FUNCTION() local
[all …]

Completed in 48 milliseconds