diff options
Diffstat (limited to 'man/fido_cred_set_authdata.3')
-rw-r--r-- | man/fido_cred_set_authdata.3 | 25 |
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 . |
150 | At the moment, only the | 153 | At the moment, only the |
151 | .Dv FIDO_EXT_HMAC_SECRET | 154 | .Dv FIDO_EXT_HMAC_SECRET |
152 | extension is supported. | 155 | and |
156 | .Dv FIDO_EXT_CRED_PROTECT | ||
157 | extensions are supported. | ||
153 | If | 158 | If |
154 | .Fa flags | 159 | .Fa flags |
155 | is zero, the extensions of | 160 | is zero, the extensions of |
@@ -157,6 +162,24 @@ is zero, the extensions of | |||
157 | are cleared. | 162 | are cleared. |
158 | .Pp | 163 | .Pp |
159 | The | 164 | The |
165 | .Fn fido_cred_set_prot | ||
166 | function sets the protection of | ||
167 | .Fa cred | ||
168 | to the scalar | ||
169 | .Fa prot . | ||
170 | At the moment, only the | ||
171 | .Dv FIDO_CRED_PROT_UV_OPTIONAL , | ||
172 | .Dv FIDO_CRED_PROT_UV_OPTIONAL_WITH_ID , | ||
173 | and | ||
174 | .Dv FIDO_CRED_PROT_UV_REQUIRED | ||
175 | protections are supported. | ||
176 | If | ||
177 | .Fa prot | ||
178 | is zero, the protection of | ||
179 | .Fa cred | ||
180 | is cleared. | ||
181 | .Pp | ||
182 | The | ||
160 | .Fn fido_cred_set_rk | 183 | .Fn fido_cred_set_rk |
161 | and | 184 | and |
162 | .Fn fido_cred_set_uv | 185 | .Fn fido_cred_set_uv |