2 * Copyright (c) 2020 Yubico AB. All rights reserved.
3 * SPDX-License-Identifier: BSD-2-Clause
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 #ifndef _FIDO_CONFIG_H
30 #define _FIDO_CONFIG_H
35 #include "fido/param.h"
36 #include "fido/types.h"
40 #include <fido/param.h>
45 #endif /* __cplusplus */
47 int fido_dev_enable_entattest(fido_dev_t *, const char *);
48 int fido_dev_force_pin_change(fido_dev_t *, const char *);
49 int fido_dev_toggle_always_uv(fido_dev_t *, const char *);
50 int fido_dev_set_pin_minlen(fido_dev_t *, size_t, const char *);
51 int fido_dev_set_pin_minlen_rpid(fido_dev_t *, const char * const *, size_t,
56 #endif /* __cplusplus */
58 #endif /* !_FIDO_CONFIG_H */