chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changelog: tidy up changes since 0.5.1
[secnet.git]
/
rsa.c
diff --git
a/rsa.c
b/rsa.c
index b30fa01a5b10faf5bdf45588280c88b12ad76149..6a89b21156242eba81ac7dfa78b4904106e1b2aa 100644
(file)
--- a/
rsa.c
+++ b/
rsa.c
@@
-141,9
+141,6
@@
static void rsa_sethash(struct load_ctx *l,
*in_ops=hash;
}
*in_ops=hash;
}
-static void rsa_pub_sethash(void *sst, struct hash_if *hash) { }
-static void rsa_priv_sethash(void *sst, struct hash_if *hash) { }
-
static void rsacommon_dispose(struct rsacommon *c)
{
free(c->hashbuf);
static void rsacommon_dispose(struct rsacommon *c)
{
free(c->hashbuf);
@@
-344,7
+341,6
@@
static struct rsapub *rsa_loadpub_core(RSAPUB_BNS(RSAPUB_LOADCORE_DEFBN)
st->cl.apply=NULL;
st->cl.interface=&st->ops;
st->ops.st=st;
st->cl.apply=NULL;
st->cl.interface=&st->ops;
st->ops.st=st;
- st->ops.sethash=rsa_pub_sethash;
st->common.hashbuf=NULL;
st->ops.unpick=rsa_sig_unpick;
st->ops.check=rsa_sig_check;
st->common.hashbuf=NULL;
st->ops.unpick=rsa_sig_unpick;
st->ops.check=rsa_sig_check;
@@
-508,7
+504,6
@@
static struct rsapriv *rsa_loadpriv_core(struct load_ctx *l,
st->cl.apply=NULL;
st->cl.interface=&st->ops;
st->ops.st=st;
st->cl.apply=NULL;
st->cl.interface=&st->ops;
st->ops.st=st;
- st->ops.sethash=rsa_priv_sethash;
st->common.hashbuf=NULL;
st->ops.sign=rsa_sign;
st->ops.hash=0;
st->common.hashbuf=NULL;
st->ops.sign=rsa_sign;
st->ops.hash=0;