diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-02-10 21:12:45 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-02-10 21:12:45 +0100 |
commit | 34a9d22ec6c680b2ed871defce357e5650aa0629 (patch) | |
tree | b52d96841bd4d1a34bcc340af14a4fc7f6b291cb /sys/man/2 | |
parent | 8a1c587c9c41e6ba34b50377d81465dfff8a2b20 (diff) |
rsa(2): document rsafill()
Diffstat (limited to 'sys/man/2')
-rw-r--r-- | sys/man/2/rsa | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/man/2/rsa b/sys/man/2/rsa index f4ad430b9..8d09bd36d 100644 --- a/sys/man/2/rsa +++ b/sys/man/2/rsa @@ -5,6 +5,7 @@ asn1toRSApriv, decodePEM, rsadecrypt, rsaencrypt, +rsafill, rsagen, rsaprivalloc, rsaprivfree, @@ -28,6 +29,10 @@ X509rsaverify \- RSA encryption algorithm .B RSApriv* rsagen(int nlen, int elen, int nrep) .PP +.ta +\w'\fLRSApriv* \fP'u +.B +RSApriv* rsafill(mpint *n, mpint *e, mpint *d, mpint *p, mpint *q) +.PP .B mpint* rsaencrypt(RSApub *k, mpint *in, mpint *out) .PP @@ -114,6 +119,12 @@ of rounds. .I Rsagen returns a newly allocated structure containing both public and private keys. +.I Rsafill +returns a newly allocated private key by recomputing +.IR kp , +.IR kq , +and +.IR c2 . .I Rsaprivtopub returns a newly allocated copy of the public key corresponding to the private key. |