X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fsilcpkcs_i.h;h=7d6661126df5935fb810aa0f439fbdfd47a2d37b;hb=bd548b5771a325d3dc051887d3fd0225550d4418;hp=62df5108857e74f4414f80a75c0816cbb848a3df;hpb=cec0db037b3c560a95bd43a7b39f27859ff3d014;p=crypto.git diff --git a/lib/silccrypt/silcpkcs_i.h b/lib/silccrypt/silcpkcs_i.h index 62df5108..7d666112 100644 --- a/lib/silccrypt/silcpkcs_i.h +++ b/lib/silccrypt/silcpkcs_i.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - 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 @@ -111,6 +111,7 @@ SilcUInt32 signature_len, \ unsigned char *data, \ SilcUInt32 data_len, \ + SilcBool compute_hash, \ SilcHash hash, \ SilcRng rng, \ SilcPKCSVerifyCb verify_cb, \ @@ -232,6 +233,7 @@ struct SilcPKCSAlgorithmStruct { #define SILC_PKCS_IMPORT_PRIVATE_KEY(name) \ int name(const struct SilcPKCSObjectStruct *pkcs, \ const struct SilcPKCSAlgorithmStruct *alg, \ + const char *passphrase, SilcUInt32 passphrase_len, \ void *key, SilcUInt32 key_len, void **ret_private_key, \ const struct SilcPKCSAlgorithmStruct **ret_alg) @@ -287,6 +289,7 @@ struct SilcPKCSAlgorithmStruct { SilcUInt32 signature_len, \ unsigned char *data, \ SilcUInt32 data_len, \ + SilcBool compute_hash, \ SilcHash hash, \ SilcRng rng, \ SilcPKCSVerifyCb verify_cb, \