keysign.c and keyverify.c

keysign.c and keyverify.c updated to work with gencertparams.c.  All
code cleaned up