Commit Diff


commit - 00e0b2798264c847d310d24490fc45636791a666
commit + 42e8d853f498c954c8e3c45e8f1084a453b65163
blob - 008a283db5f235ddf4676868f6394488f2f75106
blob + c0c964fc46825b108107606bb9afc8d604aa6554
--- include/libsec.h
+++ include/libsec.h
@@ -245,6 +245,8 @@ RSApriv*	asn1toRSApriv(uchar*, int);
 uchar*		decodepem(char *s, char *type, int *len, char**);
 PEMChain*	decodepemchain(char *s, char *type);
 uchar*		X509gen(RSApriv *priv, char *subj, ulong valid[2], int *certlen);
+RSApriv*	rsafill(mpint *n, mpint *ek, mpint *dk, mpint *p, mpint *q);
+uchar*	X509req(RSApriv *priv, char *subj, int *certlen);
 
 /////////////////////////////////////////////////////////
 // elgamal
@@ -326,6 +328,7 @@ void		dsaprivfree(DSApriv*);
 DSAsig*		dsasigalloc(void);
 void		dsasigfree(DSAsig*);
 DSApub*		dsaprivtopub(DSApriv*);
+DSApriv*	asn1toDSApriv(uchar*, int);
 
 /////////////////////////////////////////////////////////
 // TLS