Added SILC Thread Queue API
[crypto.git] / doc / silcalgs.conf
index a0fb89bb1def2d98eafc1ef0046fece64ef0e4b5..928e1316a768137a7c35c5082dab459ab6d2f796 100644 (file)
@@ -7,6 +7,8 @@
 # You should not change the contents of this file unless you know what you
 # are doing.
 #
+# The first algorithm defined is always the default one to use.
+#
 
 #
 # Configured ciphers
@@ -53,32 +55,23 @@ 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";
-};
+
+# "none" cipher should not be used
+#cipher {
+#      name = "none";
+#      module = "none.sim.so";
+#      keylength = 0;
+#      blocklength = 0;
+#};
 
 #
 # Configured hash functions
 #
+hash {
+       name = "sha256";
+       blocklength = 64;
+       digestlength = 32;
+};
 hash {
        name = "sha1";
        blocklength = 64;
@@ -94,6 +87,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";