Commit 5b29de47 authored by Pierre Ynard's avatar Pierre Ynard

Document size restrictions of SRTP parameters

Feel free to improve/add rationale
parent 58ef6e99
...@@ -49,11 +49,13 @@ ...@@ -49,11 +49,13 @@
#define SRTP_KEY_TEXT N_("SRTP key (hexadecimal)") #define SRTP_KEY_TEXT N_("SRTP key (hexadecimal)")
#define SRTP_KEY_LONGTEXT N_( \ #define SRTP_KEY_LONGTEXT N_( \
"RTP packets will be authenticated and deciphered "\ "RTP packets will be authenticated and deciphered "\
"with this Secure RTP master shared secret key.") "with this Secure RTP master shared secret key. "\
"This must be a 32-character-long hexadecimal string.")
#define SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)") #define SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)")
#define SRTP_SALT_LONGTEXT N_( \ #define SRTP_SALT_LONGTEXT N_( \
"Secure RTP requires a (non-secret) master salt value.") "Secure RTP requires a (non-secret) master salt value. " \
"This must be a 28-character-long hexadecimal string.")
#define RTP_MAX_SRC_TEXT N_("Maximum RTP sources") #define RTP_MAX_SRC_TEXT N_("Maximum RTP sources")
#define RTP_MAX_SRC_LONGTEXT N_( \ #define RTP_MAX_SRC_LONGTEXT N_( \
......
...@@ -144,11 +144,13 @@ ...@@ -144,11 +144,13 @@
#define SRTP_KEY_TEXT N_("SRTP key (hexadecimal)") #define SRTP_KEY_TEXT N_("SRTP key (hexadecimal)")
#define SRTP_KEY_LONGTEXT N_( \ #define SRTP_KEY_LONGTEXT N_( \
"RTP packets will be integrity-protected and ciphered "\ "RTP packets will be integrity-protected and ciphered "\
"with this Secure RTP master shared secret key.") "with this Secure RTP master shared secret key. "\
"This must be a 32-character-long hexadecimal string.")
#define SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)") #define SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)")
#define SRTP_SALT_LONGTEXT N_( \ #define SRTP_SALT_LONGTEXT N_( \
"Secure RTP requires a (non-secret) master salt value.") "Secure RTP requires a (non-secret) master salt value. " \
"This must be a 28-character-long hexadecimal string.")
static const char *const ppsz_protos[] = { static const char *const ppsz_protos[] = {
"dccp", "sctp", "tcp", "udp", "udplite", "dccp", "sctp", "tcp", "udp", "udplite",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment