summaryrefslogtreecommitdiff
path: root/man/fido_cred_set_authdata.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/fido_cred_set_authdata.3')
-rw-r--r--man/fido_cred_set_authdata.325
1 files changed, 24 insertions, 1 deletions
diff --git a/man/fido_cred_set_authdata.3 b/man/fido_cred_set_authdata.3
index 8b087fa..d28c61e 100644
--- a/man/fido_cred_set_authdata.3
+++ b/man/fido_cred_set_authdata.3
@@ -14,6 +14,7 @@
14.Nm fido_cred_set_rp , 14.Nm fido_cred_set_rp ,
15.Nm fido_cred_set_user , 15.Nm fido_cred_set_user ,
16.Nm fido_cred_set_extensions , 16.Nm fido_cred_set_extensions ,
17.Nm fido_cred_set_prot ,
17.Nm fido_cred_set_rk , 18.Nm fido_cred_set_rk ,
18.Nm fido_cred_set_uv , 19.Nm fido_cred_set_uv ,
19.Nm fido_cred_set_fmt , 20.Nm fido_cred_set_fmt ,
@@ -45,6 +46,8 @@ typedef enum {
45.Ft int 46.Ft int
46.Fn fido_cred_set_extensions "fido_cred_t *cred" "int flags" 47.Fn fido_cred_set_extensions "fido_cred_t *cred" "int flags"
47.Ft int 48.Ft int
49.Fn fido_cred_set_prot "fido_cred_t *cred" "int prot"
50.Ft int
48.Fn fido_cred_set_rk "fido_cred_t *cred" "fido_opt_t rk" 51.Fn fido_cred_set_rk "fido_cred_t *cred" "fido_opt_t rk"
49.Ft int 52.Ft int
50.Fn fido_cred_set_uv "fido_cred_t *cred" "fido_opt_t uv" 53.Fn fido_cred_set_uv "fido_cred_t *cred" "fido_opt_t uv"
@@ -149,7 +152,9 @@ to the bitmask
149.Fa flags . 152.Fa flags .
150At the moment, only the 153At the moment, only the
151.Dv FIDO_EXT_HMAC_SECRET 154.Dv FIDO_EXT_HMAC_SECRET
152extension is supported. 155and
156.Dv FIDO_EXT_CRED_PROTECT
157extensions are supported.
153If 158If
154.Fa flags 159.Fa flags
155is zero, the extensions of 160is zero, the extensions of
@@ -157,6 +162,24 @@ is zero, the extensions of
157are cleared. 162are cleared.
158.Pp 163.Pp
159The 164The
165.Fn fido_cred_set_prot
166function sets the protection of
167.Fa cred
168to the scalar
169.Fa prot .
170At the moment, only the
171.Dv FIDO_CRED_PROT_UV_OPTIONAL ,
172.Dv FIDO_CRED_PROT_UV_OPTIONAL_WITH_ID ,
173and
174.Dv FIDO_CRED_PROT_UV_REQUIRED
175protections are supported.
176If
177.Fa prot
178is zero, the protection of
179.Fa cred
180is cleared.
181.Pp
182The
160.Fn fido_cred_set_rk 183.Fn fido_cred_set_rk
161and 184and
162.Fn fido_cred_set_uv 185.Fn fido_cred_set_uv