From 42e8d853f498c954c8e3c45e8f1084a453b65163 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 13 Feb 2005 18:31:57 +0000 Subject: add rsafill, x509req, asn1toDSApriv --- include/libsec.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/libsec.h b/include/libsec.h index 008a283d..c0c964fc 100644 --- a/include/libsec.h +++ b/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 -- cgit v1.2.3