X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=doc%2Fsilcalgs.conf;fp=doc%2Fsilcalgs.conf;h=b083bb8cbb9a3fa50e8b294bfd023f0780b452d4;hp=928e1316a768137a7c35c5082dab459ab6d2f796;hb=805fddcf6431e784f9f77114782a90c9d12f9cbe;hpb=faa97fdb56d0b85042a5d0149b73ce7022f04398 diff --git a/doc/silcalgs.conf b/doc/silcalgs.conf index 928e1316..b083bb8c 100644 --- a/doc/silcalgs.conf +++ b/doc/silcalgs.conf @@ -13,57 +13,56 @@ # # 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-ctr"; + keylength = 32; + blocklength = 16; +}; cipher { name = "aes-256-cbc"; - module = "aes.sim.so"; keylength = 32; blocklength = 16; }; +cipher { + name = "aes-192-ctr"; + keylength = 24; + blocklength = 16; +}; cipher { name = "aes-192-cbc"; - module = "aes.sim.so"; keylength = 24; blocklength = 16; }; +cipher { + name = "aes-128-ctr"; + keylength = 16; + 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; }; -# "none" cipher should not be used -#cipher { -# name = "none"; -# module = "none.sim.so"; -# keylength = 0; -# blocklength = 0; -#}; - # # Configured hash functions # @@ -116,6 +115,6 @@ hmac { # # Configured PKCS # -PKCS { - name = "rsa"; +PKCS { + name = "rsa"; };