updates.
[crypto.git] / doc / silcalgs.conf
index 0d84b6b49dc94eb9cb785c284fd36b8adf6b9d3c..55f9774cef5398d60af47b4a186f11fe9d26bf7e 100644 (file)
@@ -55,30 +55,14 @@ cipher {
        keylength = 16;
        blocklength = 16;
 };
-cipher {
-       name = "mars-256-cbc";
-       module = "mars.sim.so";
-       keylength = 32;
-       blocklength = 16;
-};
-cipher {
-       name = "mars-192-cbc";
-       module = "mars.sim.so";
-       keylength = 24;
-       blocklength = 16;
-};
-cipher {
-       name = "mars-128-cbc";
-       module = "mars.sim.so";
-       keylength = 16;
-       blocklength = 16;
-};
-cipher {
-       name = "none";
-       module = "none.sim.so";
-       keylength = 0;
-       blocklength = 0;
-};
+
+# "none" cipher should not be used
+#cipher {
+#      name = "none";
+#      module = "none.sim.so";
+#      keylength = 0;
+#      blocklength = 0;
+#};
 
 #
 # Configured hash functions
@@ -88,6 +72,11 @@ hash {
        blocklength = 64;
        digestlength = 20;
 };
+hash {
+       name = "sha256";
+       blocklength = 64;
+       digestlength = 32;
+};
 hash {
        name = "md5";
        blocklength = 64;
@@ -103,6 +92,11 @@ hmac {
        hash = "sha1";
        maclength = 12;
 };
+hmac {
+       name = "hmac-sha256-96";
+       hash = "sha256";
+       maclength = 12;
+};
 hmac {
        name = "hmac-md5-96";
        hash = "md5";