Lines Matching refs:ciphertext_real_len
1813 unsigned long long ciphertext_real_len; in PHP_FUNCTION() local
1847 ((unsigned char *) ZSTR_VAL(ciphertext), &ciphertext_real_len, msg, in PHP_FUNCTION()
1854 if (ciphertext_real_len <= 0U || ciphertext_real_len >= SIZE_MAX || in PHP_FUNCTION()
1855 ciphertext_real_len > ciphertext_len) { in PHP_FUNCTION()
1860 PHP_SODIUM_ZSTR_TRUNCATE(ciphertext, (size_t) ciphertext_real_len); in PHP_FUNCTION()
1861 ZSTR_VAL(ciphertext)[ciphertext_real_len] = 0; in PHP_FUNCTION()
1935 unsigned long long ciphertext_real_len; in PHP_FUNCTION() local
1965 ((unsigned char *) ZSTR_VAL(ciphertext), &ciphertext_real_len, msg, in PHP_FUNCTION()
1972 if (ciphertext_real_len <= 0U || ciphertext_real_len >= SIZE_MAX || in PHP_FUNCTION()
1973 ciphertext_real_len > ciphertext_len) { in PHP_FUNCTION()
1978 PHP_SODIUM_ZSTR_TRUNCATE(ciphertext, (size_t) ciphertext_real_len); in PHP_FUNCTION()
1979 ZSTR_VAL(ciphertext)[ciphertext_real_len] = 0; in PHP_FUNCTION()
2048 unsigned long long ciphertext_real_len; in PHP_FUNCTION() local
2082 ((unsigned char *) ZSTR_VAL(ciphertext), &ciphertext_real_len, msg, in PHP_FUNCTION()
2089 if (ciphertext_real_len <= 0U || ciphertext_real_len >= SIZE_MAX || in PHP_FUNCTION()
2090 ciphertext_real_len > ciphertext_len) { in PHP_FUNCTION()
2095 PHP_SODIUM_ZSTR_TRUNCATE(ciphertext, (size_t) ciphertext_real_len); in PHP_FUNCTION()
2096 ZSTR_VAL(ciphertext)[ciphertext_real_len] = 0; in PHP_FUNCTION()
2171 unsigned long long ciphertext_real_len; in PHP_FUNCTION() local
2201 ((unsigned char *) ZSTR_VAL(ciphertext), &ciphertext_real_len, msg, in PHP_FUNCTION()
2208 if (ciphertext_real_len <= 0U || ciphertext_real_len >= SIZE_MAX || in PHP_FUNCTION()
2209 ciphertext_real_len > ciphertext_len) { in PHP_FUNCTION()
2214 PHP_SODIUM_ZSTR_TRUNCATE(ciphertext, (size_t) ciphertext_real_len); in PHP_FUNCTION()
2215 ZSTR_VAL(ciphertext)[ciphertext_real_len] = 0; in PHP_FUNCTION()