Added SILC Thread Queue API
[silc.git] / lib / silccrypt / silcpkcs1.h
index 573777c17c6cdf78988680c252e426bb14b78b77..2218106e49d0b3ab4c88daaf1e42e7f5919d11e4 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2003 Pekka Riikonen
+  Copyright (C) 2003 - 2005 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -56,12 +56,12 @@ typedef enum {
  *
  * SYNOPSIS
  *
- *    bool silc_pkcs1_encode(SilcPkcs1BlockType bt,
- *                           const unsigned char *data,
- *                           SilcUInt32 data_len,
- *                           unsigned char *dest_data,
- *                           SilcUInt32 dest_data_size,
- *                           SilcRng rng);
+ *    SilcBool silc_pkcs1_encode(SilcPkcs1BlockType bt,
+ *                               const unsigned char *data,
+ *                               SilcUInt32 data_len,
+ *                               unsigned char *dest_data,
+ *                               SilcUInt32 dest_data_size,
+ *                               SilcRng rng);
  *
  * DESCRIPTION
  *
@@ -77,23 +77,23 @@ typedef enum {
  *    function returns TRUE on success.
  *
  ***/
-bool silc_pkcs1_encode(SilcPkcs1BlockType bt,
-                      const unsigned char *data,
-                      SilcUInt32 data_len,
-                      unsigned char *dest_data,
-                      SilcUInt32 dest_data_size,
-                      SilcRng rng);
+SilcBool silc_pkcs1_encode(SilcPkcs1BlockType bt,
+                          const unsigned char *data,
+                          SilcUInt32 data_len,
+                          unsigned char *dest_data,
+                          SilcUInt32 dest_data_size,
+                          SilcRng rng);
 
 /****f* silccrypt/SilcPKCS1API/silc_pkcs1_decode
  *
  * SYNOPSIS
  *
- *    bool silc_pkcs1_decode(SilcPkcs1BlockType bt,
- *                           const unsigned char *data,
- *                           SilcUInt32 data_len,
- *                           unsigned char *dest_data,
- *                           SilcUInt32 dest_data_size,
- *                           SilcUInt32 *dest_len);
+ *    SilcBool silc_pkcs1_decode(SilcPkcs1BlockType bt,
+ *                               const unsigned char *data,
+ *                               SilcUInt32 data_len,
+ *                               unsigned char *dest_data,
+ *                               SilcUInt32 dest_data_size,
+ *                               SilcUInt32 *dest_len);
  *
  * DESCRIPTION
  *
@@ -105,11 +105,11 @@ bool silc_pkcs1_encode(SilcPkcs1BlockType bt,
  *    Returns the decoded length into `dest_len'.
  *
  ***/
-bool silc_pkcs1_decode(SilcPkcs1BlockType bt,
-                      const unsigned char *data,
-                      SilcUInt32 data_len,
-                      unsigned char *dest_data,
-                      SilcUInt32 dest_data_size,
-                      SilcUInt32 *dest_len);
+SilcBool silc_pkcs1_decode(SilcPkcs1BlockType bt,
+                          const unsigned char *data,
+                          SilcUInt32 data_len,
+                          unsigned char *dest_data,
+                          SilcUInt32 dest_data_size,
+                          SilcUInt32 *dest_len);
 
 #endif /* SILCPKCS1_H */