12 |
** |
** |
13 |
** Some hints: |
** Some hints: |
14 |
|
|
15 |
To include algorithms in the library use the |
Since 2.5.4 libmcrypt does not use dynamic loading for the modules by default. |
16 |
--with-included-algos parameter in the configure script. |
All the algorithms and modes, are now included in the library. To enable |
17 |
Eg: ./configure --with-included-algos="rijndael-128 arcfour stream cbc cfb" |
the old dynamic loading behaviour use the --enable-dynamic-loading in the |
18 |
|
configure script. |
19 |
|
|
20 |
That way you can statically link the library and be 100% thread safe, |
That way you can statically link the library and be 100% thread safe, |
21 |
since dlopen is not always thread safe. |
since dlopen is not always thread safe. |
22 |
|
|
23 |
|
You can also enable dynamic loading and include some algorithms into the |
24 |
|
library. To include algorithms in the library use the |
25 |
|
--with-included-algos parameter in the configure script. |
26 |
|
Eg: ./configure --with-included-algos="rijndael-128 arcfour stream cbc cfb" |
27 |
|
|
|
To disable dynamic loading use the --disable-dynamic-loading parameter |
|
|
to the configure script. Use with care. You must include some algorithms, |
|
|
to do this, or you'll not be able to work at all. |
|
28 |
|
|