plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 42e8d853f498c954c8e3c45e8f1084a453b65163
parent 00e0b2798264c847d310d24490fc45636791a666
Author: rsc <devnull@localhost>
Date:   Sun, 13 Feb 2005 18:31:57 +0000

add rsafill, x509req, asn1toDSApriv

Diffstat:
Minclude/libsec.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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