xref: /freebsd/contrib/libfido2/src/fido/config.h (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1 /*
2  * Copyright (c) 2020 Yubico AB. All rights reserved.
3  * Use of this source code is governed by a BSD-style
4  * license that can be found in the LICENSE file.
5  */
6 
7 #ifndef _FIDO_CONFIG_H
8 #define _FIDO_CONFIG_H
9 
10 #ifdef _FIDO_INTERNAL
11 #include "blob.h"
12 #include "fido/err.h"
13 #include "fido/param.h"
14 #include "fido/types.h"
15 #else
16 #include <fido.h>
17 #include <fido/err.h>
18 #include <fido/param.h>
19 #endif
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif /* __cplusplus */
24 
25 int fido_dev_enable_entattest(fido_dev_t *, const char *);
26 int fido_dev_force_pin_change(fido_dev_t *, const char *);
27 int fido_dev_toggle_always_uv(fido_dev_t *, const char *);
28 int fido_dev_set_pin_minlen(fido_dev_t *, size_t, const char *);
29 int fido_dev_set_pin_minlen_rpid(fido_dev_t *, const char * const *, size_t,
30     const char *);
31 
32 #ifdef __cplusplus
33 } /* extern "C" */
34 #endif /* __cplusplus */
35 
36 #endif /* !_FIDO_CONFIG_H */
37