~pedro/fido2-webauthn-client

fido2-webauthn-client/webauthn-assert.h -rw-r--r-- 561 bytes
084309c4pedro martelletto plug a mem leak in cbor_pack_item() 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2020 Pedro Martelletto. All rights reserved.
 * Use of this source code is governed by a BSD-style
 * license that can be found in the LICENSE file.
 */

#ifndef _WEBAUTHN_ASSERT_H_
#define _WEBAUTHN_ASSERT_H_

#include <fido.h>

struct webauthn_assert	*webauthn_assert_new(void);
void			 webauthn_assert_free(struct webauthn_assert **);
int			 webauthn_assert_begin(struct webauthn_assert *, const char *);
int			 webauthn_assert_get(struct webauthn_assert *, fido_dev_t *);
int			 webauthn_assert_finish(struct webauthn_assert *);

#endif