summaryrefslogtreecommitdiffstats
path: root/lib/libfido2
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-11-27 05:07:21 +0000
committerdjm <djm@openbsd.org>2019-11-27 05:07:21 +0000
commitd69e40a200165f17da76d46da5e21cae93ed1693 (patch)
tree836566b145d0b30b04472009b3bf0329e58738a2 /lib/libfido2
parentuse error()+_exit() instead of fatal() to avoid running cleanup (diff)
downloadwireguard-openbsd-d69e40a200165f17da76d46da5e21cae93ed1693.tar.xz
wireguard-openbsd-d69e40a200165f17da76d46da5e21cae93ed1693.zip
sync upstream commit with manpage fixes from jmc@
> commit 437896dcafc67d9596774c3bb9f97bfdb4810bb1 > Author: pedro martelletto <pedro@yubico.com> > Date: Wed Nov 20 09:38:22 2019 +0100 > > man: mop up dangling .Xr's; Jason McIntyre <jmc@openbsd.org>
Diffstat (limited to 'lib/libfido2')
-rw-r--r--lib/libfido2/man/eddsa_pk_new.36
-rw-r--r--lib/libfido2/man/es256_pk_new.36
-rw-r--r--lib/libfido2/man/fido_assert_allow_cred.36
-rw-r--r--lib/libfido2/man/fido_assert_new.36
-rw-r--r--lib/libfido2/man/fido_assert_verify.36
-rw-r--r--lib/libfido2/man/fido_bio_dev_get_info.310
-rw-r--r--lib/libfido2/man/fido_bio_enroll_new.36
-rw-r--r--lib/libfido2/man/fido_bio_info_new.38
-rw-r--r--lib/libfido2/man/fido_bio_template.38
-rw-r--r--lib/libfido2/man/fido_cred_exclude.36
-rw-r--r--lib/libfido2/man/fido_cred_new.38
-rw-r--r--lib/libfido2/man/fido_cred_verify.36
-rw-r--r--lib/libfido2/man/fido_credman_metadata_new.38
-rw-r--r--lib/libfido2/man/fido_dev_get_assert.38
-rw-r--r--lib/libfido2/man/fido_dev_make_cred.38
-rw-r--r--lib/libfido2/man/fido_init.36
-rw-r--r--lib/libfido2/man/rs256_pk_new.36
17 files changed, 59 insertions, 59 deletions
diff --git a/lib/libfido2/man/eddsa_pk_new.3 b/lib/libfido2/man/eddsa_pk_new.3
index dac4b60c4c8..f11b7293853 100644
--- a/lib/libfido2/man/eddsa_pk_new.3
+++ b/lib/libfido2/man/eddsa_pk_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt EDDSA_PK_NEW 3
.Os
.Sh NAME
@@ -116,7 +116,7 @@ On error, a different error code defined in
.In fido/err.h
is returned.
.Sh SEE ALSO
-.Xr es256_pk 3 ,
+.Xr es256_pk_new 3 ,
.Xr fido_assert_verify 3 ,
.Xr fido_cred_pubkey_ptr 3 ,
-.Xr rs256_pk 3
+.Xr rs256_pk_new 3
diff --git a/lib/libfido2/man/es256_pk_new.3 b/lib/libfido2/man/es256_pk_new.3
index 7e3d1757d06..8b9c9c323b1 100644
--- a/lib/libfido2/man/es256_pk_new.3
+++ b/lib/libfido2/man/es256_pk_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt ES256_PK_NEW 3
.Os
.Sh NAME
@@ -116,7 +116,7 @@ On error, a different error code defined in
.In fido/err.h
is returned.
.Sh SEE ALSO
-.Xr eddsa_pk 3 ,
+.Xr eddsa_pk_new 3 ,
.Xr fido_assert_verify 3 ,
.Xr fido_cred_pubkey_ptr 3 ,
-.Xr rs256_pk 3
+.Xr rs256_pk_new 3
diff --git a/lib/libfido2/man/fido_assert_allow_cred.3 b/lib/libfido2/man/fido_assert_allow_cred.3
index e1817dc36d5..5c5d991f6f0 100644
--- a/lib/libfido2/man/fido_assert_allow_cred.3
+++ b/lib/libfido2/man/fido_assert_allow_cred.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_ASSERT_ALLOW_CRED 3
.Os
.Sh NAME
@@ -42,6 +42,6 @@ On success,
.Dv FIDO_OK
is returned.
.Sh SEE ALSO
-.Xr fido_assert 3 ,
-.Xr fido_assert_set 3 ,
+.Xr fido_assert_new 3 ,
+.Xr fido_assert_set_authdata 3 ,
.Xr fido_dev_get_assert 3
diff --git a/lib/libfido2/man/fido_assert_new.3 b/lib/libfido2/man/fido_assert_new.3
index 6ceaeec5c68..d06269ab730 100644
--- a/lib/libfido2/man/fido_assert_new.3
+++ b/lib/libfido2/man/fido_assert_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_ASSERT_NEW 3
.Os
.Sh NAME
@@ -72,7 +72,7 @@ type to be allocated, deallocated, and inspected.
For other operations on
.Vt fido_assert_t ,
please refer to
-.Xr fido_assert_set 3 ,
+.Xr fido_assert_set_authdata 3 ,
.Xr fido_assert_allow_cred 3 ,
.Xr fido_assert_verify 3 ,
and
@@ -185,6 +185,6 @@ without the
qualifier is invoked.
.Sh SEE ALSO
.Xr fido_assert_allow_cred 3 ,
-.Xr fido_assert_set 3 ,
+.Xr fido_assert_set_authdata 3 ,
.Xr fido_assert_verify 3 ,
.Xr fido_dev_get_assert 3
diff --git a/lib/libfido2/man/fido_assert_verify.3 b/lib/libfido2/man/fido_assert_verify.3
index 7b6333a4d3b..615c65e3845 100644
--- a/lib/libfido2/man/fido_assert_verify.3
+++ b/lib/libfido2/man/fido_assert_verify.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_ASSERT_VERIFY 3
.Os
.Sh NAME
@@ -75,5 +75,5 @@ then
.Dv FIDO_OK
is returned.
.Sh SEE ALSO
-.Xr fido_assert 3 ,
-.Xr fido_assert_set 3
+.Xr fido_assert_new 3 ,
+.Xr fido_assert_set_authdata 3
diff --git a/lib/libfido2/man/fido_bio_dev_get_info.3 b/lib/libfido2/man/fido_bio_dev_get_info.3
index 13d49dd599e..7bc05701ca0 100644
--- a/lib/libfido2/man/fido_bio_dev_get_info.3
+++ b/lib/libfido2/man/fido_bio_dev_get_info.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_BIO_DEV_GET_INFO 3
.Os
.Sh NAME
@@ -36,8 +36,8 @@ The functions described in this page allow biometric
templates on a FIDO2 authenticator to be listed, created,
removed, and customised.
For a description of the types involved, please refer to
-.Xr fido_bio_info 3 ,
-.Xr fido_bio_enroll 3 ,
+.Xr fido_bio_info_new 3 ,
+.Xr fido_bio_enroll_new 3 ,
and
.Xr fido_bio_template 3 .
.Pp
@@ -115,6 +115,6 @@ On success,
.Dv FIDO_OK
is returned.
.Sh SEE ALSO
-.Xr fido_bio_enroll 3 ,
-.Xr fido_bio_info 3 ,
+.Xr fido_bio_enroll_new 3 ,
+.Xr fido_bio_info_new 3 ,
.Xr fido_bio_template 3
diff --git a/lib/libfido2/man/fido_bio_enroll_new.3 b/lib/libfido2/man/fido_bio_enroll_new.3
index d97ac80d511..3b6c7a45043 100644
--- a/lib/libfido2/man/fido_bio_enroll_new.3
+++ b/lib/libfido2/man/fido_bio_enroll_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_BIO_ENROLL_NEW 3
.Os
.Sh NAME
@@ -52,7 +52,7 @@ type to be allocated, deallocated, and inspected.
For device operations on
.Vt fido_bio_enroll_t ,
please refer to
-.Xr fido_bio_dev 3 .
+.Xr fido_bio_dev_get_info 3 .
.Pp
The
.Fn fido_bio_enroll_new
@@ -91,5 +91,5 @@ function returns the number of samples left for
.Fa enroll
to complete.
.Sh SEE ALSO
-.Xr fido_bio_dev 3 ,
+.Xr fido_bio_dev_get_info 3 ,
.Xr fido_bio_template 3
diff --git a/lib/libfido2/man/fido_bio_info_new.3 b/lib/libfido2/man/fido_bio_info_new.3
index 41ef9353f99..eef7ec75e42 100644
--- a/lib/libfido2/man/fido_bio_info_new.3
+++ b/lib/libfido2/man/fido_bio_info_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_BIO_INFO_NEW 3
.Os
.Sh NAME
@@ -35,7 +35,7 @@ type to be allocated, deallocated, and inspected.
For device operations on
.Vt fido_bio_info_t ,
please refer to
-.Xr fido_bio_dev 3 .
+.Xr fido_bio_dev_get_info 3 .
.Pp
The
.Fn fido_bio_info_new
@@ -76,6 +76,6 @@ The
function returns the maximum number of successful samples
required for enrollment.
.Sh SEE ALSO
-.Xr fido_bio_dev 3 ,
-.Xr fido_bio_enroll 3 ,
+.Xr fido_bio_dev_get_info 3 ,
+.Xr fido_bio_enroll_new 3 ,
.Xr fido_bio_template 3
diff --git a/lib/libfido2/man/fido_bio_template.3 b/lib/libfido2/man/fido_bio_template.3
index 5d2968ced59..beeb3db4759 100644
--- a/lib/libfido2/man/fido_bio_template.3
+++ b/lib/libfido2/man/fido_bio_template.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_BIO_TEMPLATE 3
.Os
.Sh NAME
@@ -63,7 +63,7 @@ For device operations on
and
.Vt fido_bio_template_array_t ,
please refer to
-.Xr fido_bio_dev 3 .
+.Xr fido_bio_dev_get_info 3 .
.Pp
The
.Fn fido_bio_template_new
@@ -165,5 +165,5 @@ has an
.Fa idx
(index) value of 0.
.Sh SEE ALSO
-.Xr fido_bio_dev 3 ,
-.Xr fido_bio_enroll 3
+.Xr fido_bio_dev_get_info 3 ,
+.Xr fido_bio_enroll_new 3
diff --git a/lib/libfido2/man/fido_cred_exclude.3 b/lib/libfido2/man/fido_cred_exclude.3
index c24d0fd760b..52e2f497ac7 100644
--- a/lib/libfido2/man/fido_cred_exclude.3
+++ b/lib/libfido2/man/fido_cred_exclude.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_CRED_EXCLUDE 3
.Os
.Sh NAME
@@ -55,6 +55,6 @@ On success,
.Dv FIDO_OK
is returned.
.Sh SEE ALSO
-.Xr fido_cred 3 ,
-.Xr fido_cred_set 3 ,
+.Xr fido_cred_new 3 ,
+.Xr fido_cred_set_authdata 3 ,
.Xr fido_dev_make_cred 3
diff --git a/lib/libfido2/man/fido_cred_new.3 b/lib/libfido2/man/fido_cred_new.3
index 009f814dc33..3412f17a9a3 100644
--- a/lib/libfido2/man/fido_cred_new.3
+++ b/lib/libfido2/man/fido_cred_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_CRED_NEW 3
.Os
.Sh NAME
@@ -66,7 +66,7 @@ type to be allocated, deallocated, and inspected.
For other operations on
.Vt fido_cred_t ,
please refer to
-.Xr fido_cred_set 3 ,
+.Xr fido_cred_set_authdata 3 ,
.Xr fido_cred_exclude 3 ,
.Xr fido_cred_verify 3 ,
and
@@ -151,7 +151,7 @@ without the
qualifier is invoked.
.Sh SEE ALSO
.Xr fido_cred_exclude 3 ,
-.Xr fido_cred_set 3 ,
+.Xr fido_cred_set_authdata 3 ,
.Xr fido_cred_verify 3 ,
-.Xr fido_credman 3 ,
+.Xr fido_credman_metadata_new 3 ,
.Xr fido_dev_make_cred 3
diff --git a/lib/libfido2/man/fido_cred_verify.3 b/lib/libfido2/man/fido_cred_verify.3
index 9b93dd2f440..261cac6d8cf 100644
--- a/lib/libfido2/man/fido_cred_verify.3
+++ b/lib/libfido2/man/fido_cred_verify.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_CRED_VERIFY 3
.Os
.Sh NAME
@@ -60,5 +60,5 @@ passes verification, then
.Dv FIDO_OK
is returned.
.Sh SEE ALSO
-.Xr fido_cred 3 ,
-.Xr fido_cred_set 3
+.Xr fido_cred_new 3 ,
+.Xr fido_cred_set_authdata 3
diff --git a/lib/libfido2/man/fido_credman_metadata_new.3 b/lib/libfido2/man/fido_credman_metadata_new.3
index 008622b4ab7..286584d55d8 100644
--- a/lib/libfido2/man/fido_credman_metadata_new.3
+++ b/lib/libfido2/man/fido_credman_metadata_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_CREDMAN_METADATA_NEW 3
.Os
.Sh NAME
@@ -75,7 +75,7 @@ inspected, and removed.
Please note that not all authenticators support credential management.
To obtain information on what an authenticator supports, please
refer to
-.Xr fido_cbor_info 3 .
+.Xr fido_cbor_info_new 3 .
.Pp
The
.Vt fido_credman_metadata_t
@@ -295,5 +295,5 @@ is returned.
Functions returning pointers are not guaranteed to succeed, and
should have their return values checked for NULL.
.Sh SEE ALSO
-.Xr fido_cbor_info 3 ,
-.Xr fido_cred 3
+.Xr fido_cbor_info_new 3 ,
+.Xr fido_cred_new 3
diff --git a/lib/libfido2/man/fido_dev_get_assert.3 b/lib/libfido2/man/fido_dev_get_assert.3
index ba413783501..f1c45c23bda 100644
--- a/lib/libfido2/man/fido_dev_get_assert.3
+++ b/lib/libfido2/man/fido_dev_get_assert.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_DEV_GET_ASSERT 3
.Os
.Sh NAME
@@ -32,7 +32,7 @@ for an assertion according to the following parameters defined in
.El
.Pp
See
-.Xr fido_assert_set 3
+.Xr fido_assert_set_authdata 3
for information on how these values are set.
.Pp
If a PIN is not needed to authenticate the request against
@@ -72,5 +72,5 @@ On success,
.Dv FIDO_OK
is returned.
.Sh SEE ALSO
-.Xr fido_assert 3 ,
-.Xr fido_assert_set 3
+.Xr fido_assert_new 3 ,
+.Xr fido_assert_set_authdata 3
diff --git a/lib/libfido2/man/fido_dev_make_cred.3 b/lib/libfido2/man/fido_dev_make_cred.3
index f3dd3921ad4..a58a089efca 100644
--- a/lib/libfido2/man/fido_dev_make_cred.3
+++ b/lib/libfido2/man/fido_dev_make_cred.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_DEV_MAKE_CRED 3
.Os
.Sh NAME
@@ -37,7 +37,7 @@ defined in
.El
.Pp
See
-.Xr fido_cred_set 3
+.Xr fido_cred_set_authdata 3
for information on how these values are set.
.Pp
If a PIN is not needed to authenticate the request against
@@ -73,5 +73,5 @@ On success,
.Dv FIDO_OK
is returned.
.Sh SEE ALSO
-.Xr fido_cred 3 ,
-.Xr fido_cred_set 3
+.Xr fido_cred_new 3 ,
+.Xr fido_cred_set_authdata 3
diff --git a/lib/libfido2/man/fido_init.3 b/lib/libfido2/man/fido_init.3
index e98a101ac9e..8b862c50f0c 100644
--- a/lib/libfido2/man/fido_init.3
+++ b/lib/libfido2/man/fido_init.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt FIDO_INIT 3
.Os
.Sh NAME
@@ -34,7 +34,7 @@ Alternatively, the
.Ev FIDO_DEBUG
environment variable may be set.
.Sh SEE ALSO
-.Xr fido_assert 3 ,
-.Xr fido_cred 3 ,
+.Xr fido_assert_new 3 ,
+.Xr fido_cred_new 3 ,
.Xr fido_dev_info_manifest 3 ,
.Xr fido_dev_open 3
diff --git a/lib/libfido2/man/rs256_pk_new.3 b/lib/libfido2/man/rs256_pk_new.3
index 4b204e0cb6e..e6f2cb1d525 100644
--- a/lib/libfido2/man/rs256_pk_new.3
+++ b/lib/libfido2/man/rs256_pk_new.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: November 19 2019 $
+.Dd $Mdocdate: November 27 2019 $
.Dt RS256_PK_NEW 3
.Os
.Sh NAME
@@ -116,7 +116,7 @@ On error, a different error code defined in
.In fido/err.h
is returned.
.Sh SEE ALSO
-.Xr eddsa_pk 3 ,
-.Xr es256_pk 3 ,
+.Xr eddsa_pk_new 3 ,
+.Xr es256_pk_new 3 ,
.Xr fido_assert_verify 3 ,
.Xr fido_cred_pubkey_ptr 3