Home
last modified time | relevance | path

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

/php-src/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-src/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.c7815 const char *aad, size_t aad_len, int enc) /* {{{ */ argument
7861 const char *aad, size_t aad_len) argument
7872 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(aad_len, aad);
7894 data, data_len, aad, aad_len, 1) == FAILURE) {
7949 char *data, *method, *password, *iv = "", *aad = ""; local
7955 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) {
7974 const char *aad, size_t aad_len) argument
7986 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(aad_len, aad);
8019 data, data_len, aad, aad_len, 0) == FAILURE) {
8050 char *data, *method, *password, *iv = "", *tag = NULL, *aad = ""; local
[all …]
H A Dopenssl_arginfo.h336 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, aad, IS_STRING, 0, "\"\"")
347 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, aad, IS_STRING, 0, "\"\"")

Completed in 34 milliseconds