rsa(2): document rsafill()
This commit is contained in:
parent
8a1c587c9c
commit
34a9d22ec6
1 changed files with 11 additions and 0 deletions
|
@ -5,6 +5,7 @@ asn1toRSApriv,
|
||||||
decodePEM,
|
decodePEM,
|
||||||
rsadecrypt,
|
rsadecrypt,
|
||||||
rsaencrypt,
|
rsaencrypt,
|
||||||
|
rsafill,
|
||||||
rsagen,
|
rsagen,
|
||||||
rsaprivalloc,
|
rsaprivalloc,
|
||||||
rsaprivfree,
|
rsaprivfree,
|
||||||
|
@ -28,6 +29,10 @@ X509rsaverify \- RSA encryption algorithm
|
||||||
.B
|
.B
|
||||||
RSApriv* rsagen(int nlen, int elen, int nrep)
|
RSApriv* rsagen(int nlen, int elen, int nrep)
|
||||||
.PP
|
.PP
|
||||||
|
.ta +\w'\fLRSApriv* \fP'u
|
||||||
|
.B
|
||||||
|
RSApriv* rsafill(mpint *n, mpint *e, mpint *d, mpint *p, mpint *q)
|
||||||
|
.PP
|
||||||
.B
|
.B
|
||||||
mpint* rsaencrypt(RSApub *k, mpint *in, mpint *out)
|
mpint* rsaencrypt(RSApub *k, mpint *in, mpint *out)
|
||||||
.PP
|
.PP
|
||||||
|
@ -114,6 +119,12 @@ of rounds.
|
||||||
.I Rsagen
|
.I Rsagen
|
||||||
returns a newly allocated structure containing both
|
returns a newly allocated structure containing both
|
||||||
public and private keys.
|
public and private keys.
|
||||||
|
.I Rsafill
|
||||||
|
returns a newly allocated private key by recomputing
|
||||||
|
.IR kp ,
|
||||||
|
.IR kq ,
|
||||||
|
and
|
||||||
|
.IR c2 .
|
||||||
.I Rsaprivtopub
|
.I Rsaprivtopub
|
||||||
returns a newly allocated copy of the public key
|
returns a newly allocated copy of the public key
|
||||||
corresponding to the private key.
|
corresponding to the private key.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue