X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2Frsa.h;fp=lib%2Fsilccrypt%2Frsa.h;h=1302f3b4c52f2ca0a0395eb1a400f51f28ed8d6e;hp=6a9506a4aadf5896080f723d632d9a18808c4b29;hb=bd548b5771a325d3dc051887d3fd0225550d4418;hpb=957577debbf00959048d7a5adebdff8d5019f1d5 diff --git a/lib/silccrypt/rsa.h b/lib/silccrypt/rsa.h index 6a9506a4..1302f3b4 100644 --- a/lib/silccrypt/rsa.h +++ b/lib/silccrypt/rsa.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 @@ -22,6 +22,7 @@ /* RSA Public Key */ typedef struct { + SilcHash hash; /* Default hash */ SilcMPInt n; /* modulus */ SilcMPInt e; /* public exponent */ int bits; /* bits in key */ @@ -29,6 +30,7 @@ typedef struct { /* RSA Private Key */ typedef struct { + SilcHash hash; /* Default hash */ SilcMPInt n; /* modulus */ SilcMPInt e; /* public exponent */ SilcMPInt d; /* private exponent */