Skip to contentSkip to conversation

keyctl.2: mention keyctl_dh_compute/keyctl_dh_compute_alloc

PATCH In review Eugene Syromyatnikov 2 participants 2 messages Sep 11, 2017 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 keyctl.2: mention keyctl_dh_compute/keyctl_dh_compute_alloc

Those have been added in keyutils 1.5.10 (see commits v1.5.10~11 and v1.5.10~10).

* man2/keyctl.2 (.SH DESCRIPTION) <.TP .BR KEYCTL_DH_COMPUTE>: Mention the keyctl_dh_compute/keyctl_dh_compute_alloc are provided in keyutils library for the operation.
(.SH SEE ALSO): Add references to keyctl_dh_compute(3) and keyctl_dh_compute_alloc(3).

---
 man2/keyctl.2 | 11 +++++++++++
 1 file changed, 11 insertions(+)
man2/keyctl.2 +11 -0
index ed132e5..1975602 100644
@@ -1542,6 +1542,15 @@ and should contain zeroes since Linux 4.13.
 .IP
 The KDF implementation complies with SP800-56A as well
 as with SP800-108 (the counter KDF).
+.IP
+.\" keyutils commit 742c9d7b94051d3b21f9f61a73ed6b5f3544cb82
+.\" keyutils commit d68a981e5db41d059ac782071c35d1e8f3aaf61c
+This operation is exposed by
+.I libkeyutils
+(from version 1.5.10 onwards) via the functions
+.BR keyctl_dh_compute (3)
+and
+.BR keyctl_dh_compute_alloc (3).
 .TP
 .BR KEYCTL_RESTRICT_KEYRING " (since Linux 4.12)"
 .\" commit 6563c91fd645556c7801748f15bc727c77fcd311
@@ -2228,6 +2237,8 @@ main(int argc, char *argv[])
 .BR keyctl_clear (3),
 .BR keyctl_describe (3),
 .BR keyctl_describe_alloc (3),
+.BR keyctl_dh_compute (3),
+.BR keyctl_dh_compute_alloc (3),
 .BR keyctl_get_keyring_ID (3),
 .BR keyctl_get_persistent (3),
 .BR keyctl_get_security (3),
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170911031109.GA5260-ZbobWygYI+YXGNroddHbYwC/[email protected]

#2 lore raw

Hi Eugene,

Quoted 2 lines · Eugene Syromyatnikov

Those have been added in keyutils 1.5.10 (see commits v1.5.10~11 and v1.5.10~10).

Thanks. Patch applied.

Cheers,

Michael

Quoted 33 lines

* man2/keyctl.2 (.SH DESCRIPTION) <.TP .BR KEYCTL_DH_COMPUTE>: Mention the keyctl_dh_compute/keyctl_dh_compute_alloc are provided in keyutils library for the operation.
(.SH SEE ALSO): Add references to keyctl_dh_compute(3) and keyctl_dh_compute_alloc(3).

---
  man2/keyctl.2 | 11 +++++++++++
  1 file changed, 11 insertions(+)
man2/keyctl.2 +9 -0
index ed132e5..1975602 100644
@@ -1542,6 +1542,15 @@ and should contain zeroes since Linux 4.13.
  .IP
  The KDF implementation complies with SP800-56A as well
  as with SP800-108 (the counter KDF).
+.IP
+.\" keyutils commit 742c9d7b94051d3b21f9f61a73ed6b5f3544cb82
+.\" keyutils commit d68a981e5db41d059ac782071c35d1e8f3aaf61c
+This operation is exposed by
+.I libkeyutils
+(from version 1.5.10 onwards) via the functions
+.BR keyctl_dh_compute (3)
+and
+.BR keyctl_dh_compute_alloc (3).
  .TP
  .BR KEYCTL_RESTRICT_KEYRING " (since Linux 4.12)"
  .\" commit 6563c91fd645556c7801748f15bc727c77fcd311

man2/keyctl.2 main(int argc, char *argv[]) · line 2244

Quoted 8 lines
man2/keyctl.2 +2 -0
@@ -2228,6 +2237,8 @@ main(int argc, char *argv[])
  .BR keyctl_clear (3),
  .BR keyctl_describe (3),
  .BR keyctl_describe_alloc (3),
+.BR keyctl_dh_compute (3),
+.BR keyctl_dh_compute_alloc (3),
  .BR keyctl_get_keyring_ID (3),
  .BR keyctl_get_persistent (3),
  .BR keyctl_get_security (3),

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html