updates.
[silc.git] / doc / silcalgs.conf
index f0140e5c42382c68a6bfa48a62301df4ee325d74..a97c356a1451d0205a8ac2b8f8b12e65a08b6bdc 100644 (file)
 #
 # Configured ciphers
 #
-# The "name" is unique name to the cipher. The "module" option can be either
-# absolute or relative to the "module_path", and it defines where the cipher
-# module is found.  If omitted the built-in cipher is used.  The "keylength"
-# defines the length of the key (bytes), and the "blocklength" defines the
-# block size of the cipher (bytes).
+# The "name" is unique name to the cipher.  The "keylength" defines the
+# length of the key (bytes), and the "blocklength" defines the block size
+# of the cipher (bytes).
 #
 cipher {
        name = "aes-256-cbc";
-       module = "aes.sim.so";
        keylength = 32;
        blocklength = 16;
 };
 cipher {
        name = "aes-192-cbc";
-       module = "aes.sim.so";
        keylength = 24;
        blocklength = 16;
 };
 cipher {
        name = "aes-128-cbc";
-       module = "aes.sim.so";
        keylength = 16;
        blocklength = 16;
 };
 cipher {
        name = "twofish-256-cbc";
-       module = "twofish.sim.so";
        keylength = 32;
        blocklength = 16;
 };
 cipher {
        name = "twofish-192-cbc";
-       module = "twofish.sim.so";
        keylength = 24;
        blocklength = 16;
 };
 cipher {
        name = "twofish-128-cbc";
-       module = "twofish.sim.so";
        keylength = 16;
        blocklength = 16;
 };
@@ -59,7 +51,6 @@ cipher {
 # "none" cipher should not be used
 #cipher {
 #      name = "none";
-#      module = "none.sim.so";
 #      keylength = 0;
 #      blocklength = 0;
 #};
@@ -67,6 +58,11 @@ cipher {
 #
 # Configured hash functions
 #
+hash {
+       name = "sha256";
+       blocklength = 64;
+       digestlength = 32;
+};
 hash {
        name = "sha1";
        blocklength = 64;
@@ -82,6 +78,11 @@ hash {
 # Configured HMAC functions. The hash function used in the HMAC must
 # be configured in the hash section.
 #
+hmac {
+       name = "hmac-sha256-96";
+       hash = "sha256";
+       maclength = 12;
+};
 hmac {
        name = "hmac-sha1-96";
        hash = "sha1";