Home
last modified time | relevance | path

Searched refs:tag_len (Results 1 – 2 of 2) sorted by relevance

/PHP-7.4/ext/openssl/
H A Dphp_openssl.h102 zval *tag, zend_long tag_len, char *aad, size_t add_len);
106 char *tag, zend_long tag_len, char *aad, size_t add_len);
H A Dopenssl.c6598 char *tag, int tag_len, zend_long options, int enc) /* {{{ */ in php_openssl_cipher_init() argument
6620 if (!EVP_CIPHER_CTX_ctrl(cipher_ctx, mode->aead_set_tag_flag, tag_len, NULL)) { in php_openssl_cipher_init()
6625 if (!enc && tag && tag_len > 0) { in php_openssl_cipher_init()
6721 PHP_OPENSSL_CHECK_LONG_TO_INT_NORET(tag_len, tag_len); in php_openssl_encrypt()
6740 &iv, &iv_len, &free_iv, NULL, tag_len, options, 1) == FAILURE || in php_openssl_encrypt()
6757 zend_string *tag_str = zend_string_alloc(tag_len, 0); in php_openssl_encrypt()
6760 ZSTR_VAL(tag_str)[tag_len] = '\0'; in php_openssl_encrypt()
6761 ZSTR_LEN(tag_str) = tag_len; in php_openssl_encrypt()
6797 zend_long options = 0, tag_len = 16; in PHP_FUNCTION() local
6829 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NORET(tag_len, tag); in php_openssl_decrypt()
[all …]

Completed in 23 milliseconds