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
GNU General Public License for more details.
*/
-/* $Id$ */
-#include "silc.h"
+#include "silccrypto.h"
#include "silcpk_i.h"
#include "silcpkcs1_i.h"
#include "dsa.h"
},
#ifdef SILC_DIST_SSH
- /* PKCS #1, Version 1.5 without hash OIDs, SSH2 style public keys */
+ /* PKCS #1, SSH2 style public keys */
{
"rsa",
"ssh",
unsigned char *data,
SilcUInt32 data_len,
SilcHash hash,
- SilcRng rng,
SilcPKCSVerifyCb verify_cb,
void *context)
{
return public_key->pkcs->verify(public_key->pkcs,
public_key->public_key, signature,
- signature_len, data, data_len, hash, rng,
+ signature_len, data, data_len, hash, NULL,
verify_cb, context);
}