Module: kamailio
Branch: master
Commit: 587c3e337c3cbabed1373b9308065d59392a370d
URL:
https://github.com/kamailio/kamailio/commit/587c3e337c3cbabed1373b9308065d5…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-01-09T12:17:06+01:00
modules: readme files regenerated - gcrypt ... [skip ci]
---
Modified: src/modules/gcrypt/README
---
Diff:
https://github.com/kamailio/kamailio/commit/587c3e337c3cbabed1373b9308065d5…
Patch:
https://github.com/kamailio/kamailio/commit/587c3e337c3cbabed1373b9308065d5…
---
diff --git a/src/modules/gcrypt/README b/src/modules/gcrypt/README
index 7c4826b849b..3d7f9af4226 100644
--- a/src/modules/gcrypt/README
+++ b/src/modules/gcrypt/README
@@ -26,7 +26,8 @@ Daniel-Constantin Mierla
3. Parameters
3.1. init_vector (str)
- 3.2. register_callid (int)
+ 3.2. aes_mode (int)
+ 3.3. register_callid (int)
4. Functions
@@ -36,9 +37,10 @@ Daniel-Constantin Mierla
List of Examples
1.1. Set init_vector parameter
- 1.2. Set register_callid parameter
- 1.3. gcrypt_aes_encrypt usage
- 1.4. gcrypt_aes_decrypt usage
+ 1.2. Set aes_mode parameter
+ 1.3. Set register_callid parameter
+ 1.4. gcrypt_aes_encrypt usage
+ 1.5. gcrypt_aes_decrypt usage
Chapter 1. Admin Guide
@@ -53,7 +55,8 @@ Chapter 1. Admin Guide
3. Parameters
3.1. init_vector (str)
- 3.2. register_callid (int)
+ 3.2. aes_mode (int)
+ 3.3. register_callid (int)
4. Functions
@@ -85,7 +88,8 @@ Chapter 1. Admin Guide
3. Parameters
3.1. init_vector (str)
- 3.2. register_callid (int)
+ 3.2. aes_mode (int)
+ 3.3. register_callid (int)
3.1. init_vector (str)
@@ -99,7 +103,19 @@ Chapter 1. Admin Guide
modparam("gcrypt", "init_vector", "abcdefghijklmnop")
...
-3.2. register_callid (int)
+3.2. aes_mode (int)
+
+ Set it to 1 in order to do AES CBC encryption mode. By default, it does
+ AES ECB mode.
+
+ Default value is 0.
+
+ Example 1.2. Set aes_mode parameter
+...
+modparam("gcrypt", "aes_mode", 1)
+...
+
+3.3. register_callid (int)
Set it to 1 in order to register a callback to core for generation of
callid values for requests generated by Kamailio tm module.
@@ -111,7 +127,7 @@ modparam("gcrypt", "init_vector",
"abcdefghijklmnop")
Default value is 0.
- Example 1.2. Set register_callid parameter
+ Example 1.3. Set register_callid parameter
...
modparam("gcrypt", "register_callid", 1)
...
@@ -130,7 +146,7 @@ modparam("gcrypt", "register_callid", 1)
This function can be used from ANY_ROUTE.
- Example 1.3. gcrypt_aes_encrypt usage
+ Example 1.4. gcrypt_aes_encrypt usage
...
gcrypt_aes_encrypt("$rb", "my-secret-key",
"$var(encrypted)");
...
@@ -144,7 +160,7 @@ gcrypt_aes_encrypt("$rb", "my-secret-key",
"$var(encrypted)");
This function can be used from ANY_ROUTE.
- Example 1.4. gcrypt_aes_decrypt usage
+ Example 1.5. gcrypt_aes_decrypt usage
...
gcrypt_aes_decrypt("$var(encrypted)", "my-secret-key",
"$var(text)");
...