Added SILC Server library.
[silc.git] / lib / silccrypt / silcpkcs1.c
index c6263fb2e639d1049aa9f53ba9908adea56b7e6a..bfdded05218f814f7ab93838cbe1d20bf3caae70 100644 (file)
@@ -18,7 +18,7 @@
 */
 /* $Id$ */
 
-#include "silcincludes.h"
+#include "silc.h"
 #include "silcpkcs1.h"
 
 /* Minimum padding in block */
@@ -33,7 +33,7 @@
    set when `bt' is SILC_PKCS1_BT_PUB.  This function returns TRUE on
    success. */
 
-bool silc_pkcs1_encode(SilcPkcs1BlockType bt,
+SilcBool silc_pkcs1_encode(SilcPkcs1BlockType bt,
                       const unsigned char *data,
                       SilcUInt32 data_len,
                       unsigned char *dest_data,
@@ -96,7 +96,7 @@ bool silc_pkcs1_encode(SilcPkcs1BlockType bt,
    the deocded block does not fit to `dest_data' this returns FALSE.
    Returns TRUE on success. */
 
-bool silc_pkcs1_decode(SilcPkcs1BlockType bt,
+SilcBool silc_pkcs1_decode(SilcPkcs1BlockType bt,
                       const unsigned char *data,
                       SilcUInt32 data_len,
                       unsigned char *dest_data,