aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2024-09-24 12:51:55 +0200
committerLuca Deri <deri@ntop.org>2024-09-24 12:51:55 +0200
commit9a8dc640be989fd2358beaa8256fbe1eb95ecf66 (patch)
treea2633a53898a43e94784e2c33f82e8c2b06394f1 /src/include
parent42cfd29cc3d7dd2c883c8fd3c5f53319f752fbfc (diff)
buffer lenghtt is now returned by ndpi_quick_encrypt() and ndpi_quick_deecrypt()
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 7e695cc32..ae1540dc6 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -2314,10 +2314,12 @@ extern "C" {
char* ndpi_quick_encrypt(const char *cleartext_msg,
u_int16_t cleartext_msg_len,
+ u_int16_t *encrypted_msg_len,
u_char encrypt_key[64]);
char* ndpi_quick_decrypt(const char *encrypted_msg,
u_int16_t encrypted_msg_len,
+ u_int16_t *decrypted_msg_len,
u_char decrypt_key[64]);
/* ******************************* */