aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-13 18:31:57 +0000
committerrsc <devnull@localhost>2005-02-13 18:31:57 +0000
commit42e8d853f498c954c8e3c45e8f1084a453b65163 (patch)
tree09d574307bd5a2076564cb80e63af829aab0ee00 /include
parent00e0b2798264c847d310d24490fc45636791a666 (diff)
downloadplan9port-42e8d853f498c954c8e3c45e8f1084a453b65163.tar.gz
plan9port-42e8d853f498c954c8e3c45e8f1084a453b65163.tar.bz2
plan9port-42e8d853f498c954c8e3c45e8f1084a453b65163.zip
add rsafill, x509req, asn1toDSApriv
Diffstat (limited to 'include')
-rw-r--r--include/libsec.h3
1 files changed, 3 insertions, 0 deletions
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