Added support for default hash functions in all PKCS algorithm schemes.
[crypto.git] / lib / silccrypt / silcpkcs_i.h
index b730307a216563289382936e450bac1177df01b8..7d6661126df5935fb810aa0f439fbdfd47a2d37b 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2007 Pekka Riikonen
+  Copyright (C) 1997 - 2008 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
                          SilcUInt32 signature_len,                     \
                          unsigned char *data,                          \
                          SilcUInt32 data_len,                          \
+                         SilcBool compute_hash,                        \
                          SilcHash hash,                                \
                          SilcRng rng,                                  \
                          SilcPKCSVerifyCb verify_cb,                   \
@@ -288,6 +289,7 @@ struct SilcPKCSAlgorithmStruct {
                          SilcUInt32 signature_len,                     \
                          unsigned char *data,                          \
                          SilcUInt32 data_len,                          \
+                         SilcBool compute_hash,                        \
                          SilcHash hash,                                \
                          SilcRng rng,                                  \
                          SilcPKCSVerifyCb verify_cb,                   \