Added SILC_ASN1_ANY_PRIMITIVE to encode/decode any pre-encoded
[silc.git] / lib / silccrypt / rsa_internal.h
index 425ce6a96e57b0359d4b75994248e23e0b560fbc..f3daa12652de771391a8610d562ca1a2bb80c789 100644 (file)
@@ -8,8 +8,7 @@
 
   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
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
+  the Free Software Foundation; version 2 of the License.
 
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -38,10 +37,10 @@ typedef struct {
   unsigned int crt     : 1;    /* TRUE if CRT is used */
 } RsaKey;
 
-bool rsa_generate_keys(RsaKey *key, SilcUInt32 bits,
+SilcBool rsa_generate_keys(RsaKey *key, SilcUInt32 bits,
                       SilcMPInt *p, SilcMPInt *q);
-bool rsa_clear_keys(RsaKey *key);
-bool rsa_public_operation(RsaKey *key, SilcMPInt *src, SilcMPInt *dst);
-bool rsa_private_operation(RsaKey *key, SilcMPInt *src, SilcMPInt *dst);
+SilcBool rsa_clear_keys(RsaKey *key);
+SilcBool rsa_public_operation(RsaKey *key, SilcMPInt *src, SilcMPInt *dst);
+SilcBool rsa_private_operation(RsaKey *key, SilcMPInt *src, SilcMPInt *dst);
 
 #endif