botan: Make RNG types configurable

This allows for usage of ESDM or jitterentropy as Botan RNG without
patching strongSwan.

Signed-off-by: Markus Theil <markus.theil@secunet.com>
This commit is contained in:
Markus Theil authored and Tobias Brunner committed 2026-04-13 15:12:31 +02:00
1 parent 0d4a8cc9ba
commit fdd06d99ec
2 files changed
+20 -5

No files matched your search

+12
View File
@@ -4,3 +4,15 @@ charon.plugins.botan.internal_rng_only = no
If enabled, only Botan's internal RNG will be used throughout the plugin.
Otherwise, and if supported by Botan, rng_t implementations provided by
other loaded plugins will be used as RNG.
charon.plugins.botan.rng.strong = user-threadsafe
Name of the Botan RNG used for RNG_STRONG and RNG_WEAK quality.
Name of the Botan RNG instance to use for RNG_STRONG and RNG_WEAK quality
(e.g. user, user-threadsafe or system).
charon.plugins.botan.rng.true = system
Name of the Botan RNG used for RNG_TRUE quality.
Name of the Botan RNG instance to use for RNG_TRUE quality (e.g. user,
user-threadsafe or system).