Searched refs:aad (Results 1 – 7 of 7) sorted by relevance
/PHP-7.3/ext/openssl/tests/ |
H A D | cipher_tests.inc | 7 'aad' => '000102030405060708090a0b0c0d0e0f', 15 'aad' => '000102030405060708090a0b0c0d0e0f' . 29 'aad' => 'c17a32514eb6103f3249e076d4c871dc' . 69 'aad' => 'feedfacedeadbeeffeedfacedeadbeefabaddad2', 83 'aad' => 'feedfacedeadbeeffeedfacedeadbeefabaddad2', 100 'aad' => 'feedfacedeadbeeffeedfacedeadbeefabaddad2', 125 if (!isset($test['aad'])) { 126 $test['aad'] = "";
|
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_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_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_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']));
|
/PHP-7.3/ext/openssl/ |
H A D | openssl.c | 409 ZEND_ARG_INFO(0, aad) 420 ZEND_ARG_INFO(0, aad) 6566 char *aad, size_t aad_len, int enc) /* {{{ */ in php_openssl_cipher_update() argument 6576 if (mode->is_aead && !EVP_CipherUpdate(cipher_ctx, NULL, &i, (unsigned char *)aad, (int)aad_len)) { in php_openssl_cipher_update() 6609 char *data, *method, *password, *iv = "", *aad = ""; in PHP_FUNCTION() local 6620 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) { in PHP_FUNCTION() 6626 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(aad_len, aad); in PHP_FUNCTION() 6646 data, data_len, aad, aad_len, 1) == FAILURE) { in PHP_FUNCTION() 6708 char *data, *method, *password, *iv = "", *tag = NULL, *aad = ""; in PHP_FUNCTION() local 6730 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(aad_len, aad); in PHP_FUNCTION() [all …]
|
Completed in 40 milliseconds