Removed HTTP server libary, it's available in SRT now
[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 # The first algorithm defined is always the default one to use.
11 #
12
13 #
14 # Configured ciphers
15 #
16 # The "name" is unique name to the cipher. The "module" option can be either
17 # absolute or relative to the "module_path", and it defines where the cipher
18 # module is found.  If omitted the built-in cipher is used.  The "keylength"
19 # defines the length of the key (bytes), and the "blocklength" defines the
20 # block size of the cipher (bytes).
21 #
22 cipher {
23         name = "aes-256-cbc";
24         module = "aes.sim.so";
25         keylength = 32;
26         blocklength = 16;
27 };
28 cipher {
29         name = "aes-192-cbc";
30         module = "aes.sim.so";
31         keylength = 24;
32         blocklength = 16;
33 };
34 cipher {
35         name = "aes-128-cbc";
36         module = "aes.sim.so";
37         keylength = 16;
38         blocklength = 16;
39 };
40 cipher {
41         name = "twofish-256-cbc";
42         module = "twofish.sim.so";
43         keylength = 32;
44         blocklength = 16;
45 };
46 cipher {
47         name = "twofish-192-cbc";
48         module = "twofish.sim.so";
49         keylength = 24;
50         blocklength = 16;
51 };
52 cipher {
53         name = "twofish-128-cbc";
54         module = "twofish.sim.so";
55         keylength = 16;
56         blocklength = 16;
57 };
58
59 # "none" cipher should not be used
60 #cipher {
61 #       name = "none";
62 #       module = "none.sim.so";
63 #       keylength = 0;
64 #       blocklength = 0;
65 #};
66
67 #
68 # Configured hash functions
69 #
70 hash {
71         name = "sha256";
72         blocklength = 64;
73         digestlength = 32;
74 };
75 hash {
76         name = "sha1";
77         blocklength = 64;
78         digestlength = 20;
79 };
80 hash {
81         name = "md5";
82         blocklength = 64;
83         digestlength = 16;
84 };
85
86 #
87 # Configured HMAC functions. The hash function used in the HMAC must
88 # be configured in the hash section.
89 #
90 hmac {
91         name = "hmac-sha256-96";
92         hash = "sha256";
93         maclength = 12;
94 };
95 hmac {
96         name = "hmac-sha1-96";
97         hash = "sha1";
98         maclength = 12;
99 };
100 hmac {
101         name = "hmac-md5-96";
102         hash = "md5";
103         maclength = 12;
104 };
105 hmac {
106         name = "hmac-sha1";
107         hash = "sha1";
108         maclength = 20;
109 };
110 hmac {
111         name = "hmac-md5";
112         hash = "md5";
113         maclength = 16;
114 };
115
116 #
117 # Configured PKCS
118 #
119 PKCS { 
120         name = "rsa"; 
121 };