/PHP-8.3/ext/openssl/tests/ |
H A D | cipher_tests.inc | 7 '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 D | bug74099.phpt | 7 $aad = random_bytes(32); 14 $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 '', $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_gcm.phpt | 19 $test['iv'], $test['tag'], $test['aad']); 25 '', $test['tag'], $test['aad'])); 31 $test['iv'], str_repeat('x', 16), $test['aad']));
|
H A D | openssl_decrypt_ccm.phpt | 20 $test['iv'], $test['tag'], $test['aad']); 27 '', $test['tag'], $test['aad'])); 33 $test['iv'], str_repeat('x', 10), $test['aad']));
|
H A D | openssl_encrypt_chacha20_poly1305.phpt | 19 $test['iv'], $tag, $test['aad'], strlen($test['tag']));
|
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.3/ext/openssl/ |
H A D | php_openssl.h | 136 const char *aad, size_t aad_len); 144 const char *aad, size_t aad_len);
|
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 | 7575 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 …]
|