/PHP-8.0/ext/openssl/tests/ |
H A D | cipher_tests.inc | 7 '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 D | bug74099.phpt | 9 $aad = random_bytes(32); 16 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad);
|
H A D | openssl_decrypt_ocb.phpt | 19 $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 D | openssl_decrypt_ccm.phpt | 20 $test['iv'], $test['tag'], $test['aad']); 27 NULL, $test['tag'], $test['aad'])); 33 $test['iv'], str_repeat('x', 10), $test['aad']));
|
H A D | openssl_decrypt_gcm.phpt | 19 $test['iv'], $test['tag'], $test['aad']); 25 NULL, $test['tag'], $test['aad'])); 31 $test['iv'], str_repeat('x', 16), $test['aad']));
|
H A D | openssl_encrypt_ccm.phpt | 20 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
H A D | openssl_encrypt_gcm.phpt | 19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
H A D | openssl_encrypt_ocb.phpt | 19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
/PHP-8.0/ext/openssl/ |
H A D | php_openssl.h | 104 const char *aad, size_t aad_len); 112 const char *aad, size_t aad_len);
|
H A D | openssl.stub.php | 201 …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 D | openssl_arginfo.h | 335 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 D | openssl.c | 7155 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 …]
|