updates.
[silc.git] / doc / silcalgs.conf
1 #
2 # Algorithms
3 #
4 # This file defines ciphers, hash functions, HMACs and PKCS algorithms that
5 # can be used.  This file can be included into different configuration files.
6 #
7 # You should not change the contents of this file unless you know what you
8 # are doing.
9 #
10
11 #
12 # Configured ciphers
13 #
14 # The "name" is unique name to the cipher. The "module" option can be either
15 # absolute or relative to the "module_path", and it defines where the cipher
16 # module is found.  If omitted the built-in cipher is used.  The "keylength"
17 # defines the length of the key (bytes), and the "blocklength" defines the
18 # block size of the cipher (bytes).
19 #
20 cipher {
21         name = "aes-256-cbc";
22         module = "aes.sim.so";
23         keylength = 32;
24         blocklength = 16;
25 };
26 cipher {
27         name = "aes-192-cbc";
28         module = "aes.sim.so";
29         keylength = 24;
30         blocklength = 16;
31 };
32 cipher {
33         name = "aes-128-cbc";
34         module = "aes.sim.so";
35         keylength = 16;
36         blocklength = 16;
37 };
38 cipher {
39         name = "twofish-256-cbc";
40         module = "twofish.sim.so";
41         keylength = 32;
42         blocklength = 16;
43 };
44 cipher {
45         name = "twofish-192-cbc";
46         module = "twofish.sim.so";
47         keylength = 24;
48         blocklength = 16;
49 };
50 cipher {
51         name = "twofish-128-cbc";
52         module = "twofish.sim.so";
53         keylength = 16;
54         blocklength = 16;
55 };
56 cipher {
57         name = "mars-256-cbc";
58         module = "mars.sim.so";
59         keylength = 32;
60         blocklength = 16;
61 };
62 cipher {
63         name = "mars-192-cbc";
64         module = "mars.sim.so";
65         keylength = 24;
66         blocklength = 16;
67 };
68 cipher {
69         name = "mars-128-cbc";
70         module = "mars.sim.so";
71         keylength = 16;
72         blocklength = 16;
73 };
74 cipher {
75         name = "none";
76         module = "none.sim.so";
77 };
78
79 #
80 # Configured hash functions
81 #
82 hash {
83         name = "sha1";
84         blocklength = 64;
85         digestlength = 20;
86 };
87 hash {
88         name = "md5";
89         blocklength = 64;
90         digestlength = 16;
91 };
92
93 #
94 # Configured HMAC functions. The hash function used in the HMAC must
95 # be configured in the hash section.
96 #
97 hmac {
98         name = "hmac-sha1-96";
99         hash = "sha1";
100         maclength = 12;
101 };
102 hmac {
103         name = "hmac-md5-96";
104         hash = "md5";
105         maclength = 12;
106 };
107 hmac {
108         name = "hmac-sha1";
109         hash = "sha1";
110         maclength = 20;
111 };
112 hmac {
113         name = "hmac-md5";
114         hash = "md5";
115         maclength = 16;
116 };
117
118 #
119 # Configured PKCS
120 #
121 PKCS { 
122         name = "rsa"; 
123 };