summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-08-07 13:20:40 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2020-08-07 13:20:40 +0200
commit3325bd8dbb3c5f564db917c70401fddea4b834b0 (patch)
tree06054c8e433ef0f1abd0dba454c66260e1268ef7
parentb8eecc526cfd35d9ae427c92bb0de7f028079d8c (diff)
Update documentation.
-rw-r--r--NEWS7
-rw-r--r--README.org4
2 files changed, 10 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ec5cdb1..c1b9bf5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,12 @@
-*- mode: outline -*-
+* Changes since version 0.50
+
+** new features
+
+The prime factors (p and q) of the modulus of a RSA private key can be
+retreived using the rsa-key-prime-p and rsa-key-prime-q functions.
+
* Version 0.50, released 2020-07-01
** bug fixes
diff --git a/README.org b/README.org
index 0073121..8157c1d 100644
--- a/README.org
+++ b/README.org
@@ -1089,7 +1089,7 @@ specialize on /kind/, below.
(make-private-key :ed25519 &key x y) => private-key
(make-private-key :ed448 &key x y) => private-key
(make-private-key :elgamal &key p g y x) => private-key
-(make-private-key :rsa &key d n) => private-key
+(make-private-key :rsa &key d n p q) => private-key
#+END_EXAMPLE
@@ -1109,6 +1109,8 @@ For RSA keys, the type of the parameters is ~integer~:
- /n/, the modulus
- /e/, the public key
- /d/, the private key
+ - /p/, the first prime factor of /n/
+ - /q/, the second prime factor of /n/
*** Key destructuring