mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
add rsafill, x509req, asn1toDSApriv
This commit is contained in:
parent
00e0b27982
commit
42e8d853f4
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue