Home
last modified time | relevance | path

Searched refs:fido_dev_t (Results 1 – 25 of 25) sorted by relevance

/openbsd/lib/libfido2/src/
H A Dfido.h40 fido_dev_t *fido_dev_new(void);
44 void *fido_dev_io_handle(const fido_dev_t *);
49 void fido_dev_force_fido2(fido_dev_t *);
50 void fido_dev_force_u2f(fido_dev_t *);
51 void fido_dev_free(fido_dev_t **);
151 int fido_dev_cancel(fido_dev_t *);
152 int fido_dev_close(fido_dev_t *);
163 int fido_dev_open_with_info(fido_dev_t *);
165 int fido_dev_reset(fido_dev_t *);
218 bool fido_dev_has_pin(const fido_dev_t *);
[all …]
H A Dextern.h44 cbor_item_t *cbor_encode_assert_ext(fido_dev_t *,
49 cbor_item_t *cbor_encode_pin_opt(const fido_dev_t *);
129 int fido_dev_set_nfc(fido_dev_t *);
139 int fido_dev_set_pcsc(fido_dev_t *);
143 int fido_winhello_open(fido_dev_t *);
144 int fido_winhello_close(fido_dev_t *);
145 int fido_winhello_cancel(fido_dev_t *);
151 int fido_rx_cbor_status(fido_dev_t *, int *);
179 int u2f_register(fido_dev_t *, fido_cred_t *, int *);
181 int u2f_get_touch_begin(fido_dev_t *, int *);
[all …]
H A Ddev.c17 set_random_report_len(fido_dev_t *dev) in set_random_report_len()
312 fido_dev_close(fido_dev_t *dev) in fido_dev_close()
345 fido_dev_cancel(fido_dev_t *dev) in fido_dev_cancel()
411 fido_dev_t *
414 fido_dev_t *dev; in fido_dev_new()
431 fido_dev_t *
434 fido_dev_t *dev; in fido_dev_new_with_info()
464 fido_dev_free(fido_dev_t **dev_p) in fido_dev_free()
466 fido_dev_t *dev; in fido_dev_free()
484 fido_dev_major(const fido_dev_t *dev) in fido_dev_major()
[all …]
H A Dconfig.c41 config_tx(fido_dev_t *dev, uint8_t subcmd, cbor_item_t **paramv, size_t paramc, in config_tx()
102 config_enable_entattest_wait(fido_dev_t *dev, const char *pin, int *ms) in config_enable_entattest_wait()
114 fido_dev_enable_entattest(fido_dev_t *dev, const char *pin) in fido_dev_enable_entattest()
122 config_toggle_always_uv_wait(fido_dev_t *dev, const char *pin, int *ms) in config_toggle_always_uv_wait()
134 fido_dev_toggle_always_uv(fido_dev_t *dev, const char *pin) in fido_dev_toggle_always_uv()
142 config_pin_minlen_tx(fido_dev_t *dev, size_t len, bool force, in config_pin_minlen_tx()
182 config_pin_minlen(fido_dev_t *dev, size_t len, bool force, in config_pin_minlen()
195 fido_dev_set_pin_minlen(fido_dev_t *dev, size_t len, const char *pin) in fido_dev_set_pin_minlen()
203 fido_dev_force_pin_change(fido_dev_t *dev, const char *pin) in fido_dev_force_pin_change()
211 fido_dev_set_pin_minlen_rpid(fido_dev_t *dev, const char * const *rpid, in fido_dev_set_pin_minlen_rpid()
H A Dnfc.c21 tx_short_apdu(fido_dev_t *d, const iso7816_header_t *h, const uint8_t *payload, in tx_short_apdu()
62 nfc_do_tx(fido_dev_t *d, const uint8_t *apdu_ptr, size_t apdu_len) in nfc_do_tx()
95 fido_nfc_tx(fido_dev_t *d, uint8_t cmd, const unsigned char *buf, size_t count) in fido_nfc_tx()
146 rx_init(fido_dev_t *d, unsigned char *buf, size_t count, int ms) in rx_init()
186 tx_get_response(fido_dev_t *d, uint8_t count) in tx_get_response()
203 rx_apdu(fido_dev_t *d, uint8_t sw[2], unsigned char **buf, size_t *count, int *ms) in rx_apdu()
235 rx_msg(fido_dev_t *d, unsigned char *buf, size_t count, int ms) in rx_msg()
266 rx_cbor(fido_dev_t *d, unsigned char *buf, size_t count, int ms) in rx_cbor()
277 fido_nfc_rx(fido_dev_t *d, uint8_t cmd, unsigned char *buf, size_t count, int ms) in fido_nfc_rx()
300 fido_dev_set_nfc(fido_dev_t *d) in fido_dev_set_nfc()
H A Dio.c33 tx_pkt(fido_dev_t *d, const void *pkt, size_t len, int *ms)
50 tx_empty(fido_dev_t *d, uint8_t cmd, int *ms) in tx_empty()
70 tx_preamble(fido_dev_t *d, uint8_t cmd, const void *buf, size_t count, int *ms) in tx_preamble()
97 tx_frame(fido_dev_t *d, uint8_t seq, const void *buf, size_t count, int *ms) in tx_frame()
164 fido_tx(fido_dev_t *d, uint8_t cmd, const void *buf, size_t count, int *ms) in fido_tx()
180 rx_frame(fido_dev_t *d, struct frame *fp, int *ms) in rx_frame()
198 rx_preamble(fido_dev_t *d, uint8_t cmd, struct frame *fp, int *ms) in rx_preamble()
227 rx(fido_dev_t *d, uint8_t cmd, unsigned char *buf, size_t count, int *ms) in rx()
295 transport_rx(fido_dev_t *d, uint8_t cmd, void *buf, size_t count, int *ms) in transport_rx()
312 fido_rx(fido_dev_t *d, uint8_t cmd, void *buf, size_t count, int *ms) in fido_rx()
[all …]
H A Dbio.c385 bio_rx_enroll_begin(fido_dev_t *dev, fido_bio_template_t *t, in bio_rx_enroll_begin()
418 bio_enroll_begin_wait(fido_dev_t *dev, fido_bio_template_t *t, in bio_enroll_begin_wait()
446 fido_bio_dev_enroll_begin(fido_dev_t *dev, fido_bio_template_t *t, in fido_bio_dev_enroll_begin()
488 bio_rx_enroll_continue(fido_dev_t *dev, fido_bio_enroll_t *e, int *ms) in bio_rx_enroll_continue()
513 bio_enroll_continue_wait(fido_dev_t *dev, const fido_bio_template_t *t, in bio_enroll_continue_wait()
554 bio_enroll_cancel_wait(fido_dev_t *dev, int *ms) in bio_enroll_cancel_wait()
569 fido_bio_dev_enroll_cancel(fido_dev_t *dev) in fido_bio_dev_enroll_cancel()
577 bio_enroll_remove_wait(fido_dev_t *dev, const fido_bio_template_t *t, in bio_enroll_remove_wait()
655 bio_rx_info(fido_dev_t *dev, fido_bio_info_t *i, int *ms) in bio_rx_info()
679 bio_get_info_wait(fido_dev_t *dev, fido_bio_info_t *i, int *ms) in bio_get_info_wait()
[all …]
H A Dpin.c35 pin_sha256_enc(const fido_dev_t *dev, const fido_blob_t *shared, in pin_sha256_enc()
96 pin_pad64_enc(const fido_dev_t *dev, const fido_blob_t *shared, in pin_pad64_enc()
323 uv_token_wait(fido_dev_t *dev, uint8_t cmd, const char *pin, in uv_token_wait()
342 fido_dev_get_uv_token(fido_dev_t *dev, uint8_t cmd, const char *pin, in fido_dev_get_uv_token()
422 fido_dev_set_pin_tx(fido_dev_t *dev, const char *pin, int *ms) in fido_dev_set_pin_tx()
505 fido_dev_set_pin(fido_dev_t *dev, const char *pin, const char *oldpin) in fido_dev_set_pin()
549 fido_dev_get_retry_count_tx(fido_dev_t *dev, uint8_t subcmd, int *ms) in fido_dev_get_retry_count_tx()
580 fido_dev_get_pin_retry_count_rx(fido_dev_t *dev, int *retries, int *ms) in fido_dev_get_pin_retry_count_rx()
616 fido_dev_get_retry_count(fido_dev_t *dev, int *retries) in fido_dev_get_retry_count()
624 fido_dev_get_uv_retry_count_rx(fido_dev_t *dev, int *retries, int *ms) in fido_dev_get_uv_retry_count_rx()
[all …]
H A Dcredman.c114 credman_tx(fido_dev_t *dev, uint8_t subcmd, const void *param, const char *pin, in credman_tx()
225 credman_get_metadata_wait(fido_dev_t *dev, fido_credman_metadata_t *metadata, in credman_get_metadata_wait()
326 credman_rx_rk(fido_dev_t *dev, fido_credman_rk_t *rk, int *ms) in credman_rx_rk()
365 credman_rx_next_rk(fido_dev_t *dev, fido_credman_rk_t *rk, int *ms) in credman_rx_next_rk()
426 fido_credman_get_dev_rk(fido_dev_t *dev, const char *rp_id, in fido_credman_get_dev_rk()
435 credman_del_rk_wait(fido_dev_t *dev, const unsigned char *cred_id, in credman_del_rk_wait()
459 fido_credman_del_dev_rk(fido_dev_t *dev, const unsigned char *cred_id, in fido_credman_del_dev_rk()
535 credman_rx_rp(fido_dev_t *dev, fido_credman_rp_t *rp, int *ms) in credman_rx_rp()
574 credman_rx_next_rp(fido_dev_t *dev, fido_credman_rp_t *rp, int *ms) in credman_rx_next_rp()
603 credman_get_rp_wait(fido_dev_t *dev, fido_credman_rp_t *rp, const char *pin, in credman_get_rp_wait()
[all …]
H A Dauthkey.c25 fido_dev_authkey_tx(fido_dev_t *dev, int *ms) in fido_dev_authkey_tx()
61 fido_dev_authkey_rx(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey_rx()
82 fido_dev_authkey_wait(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey_wait()
94 fido_dev_authkey(fido_dev_t *dev, es256_pk_t *authkey, int *ms) in fido_dev_authkey()
H A Dreset.c10 fido_dev_reset_tx(fido_dev_t *dev, int *ms) in fido_dev_reset_tx()
23 fido_dev_reset_wait(fido_dev_t *dev, int *ms) in fido_dev_reset_wait()
40 fido_dev_reset(fido_dev_t *dev) in fido_dev_reset()
H A Dlargeblob.c156 largeblob_get_tx(fido_dev_t *dev, size_t offset, size_t count, int *ms) in largeblob_get_tx()
201 largeblob_get_rx(fido_dev_t *dev, fido_blob_t **chunk, int *ms) in largeblob_get_rx()
251 get_chunklen(fido_dev_t *dev) in get_chunklen()
422 largeblob_get_array(fido_dev_t *dev, cbor_item_t **item, int *ms) in largeblob_get_array()
637 largeblob_add(fido_dev_t *dev, const fido_blob_t *key, cbor_item_t *item, in largeblob_add()
681 largeblob_drop(fido_dev_t *dev, const fido_blob_t *key, const char *pin, in largeblob_drop()
715 fido_dev_largeblob_get(fido_dev_t *dev, const unsigned char *key_ptr, in fido_dev_largeblob_get()
761 fido_dev_largeblob_set(fido_dev_t *dev, const unsigned char *key_ptr, in fido_dev_largeblob_set()
806 fido_dev_largeblob_remove(fido_dev_t *dev, const unsigned char *key_ptr, in fido_dev_largeblob_remove()
832 fido_dev_largeblob_get_array(fido_dev_t *dev, unsigned char **cbor_ptr, in fido_dev_largeblob_get_array()
[all …]
H A Dtouch.c11 fido_dev_get_touch_begin(fido_dev_t *dev) in fido_dev_get_touch_begin()
83 fido_dev_get_touch_status(fido_dev_t *dev, int *touched, int ms) in fido_dev_get_touch_status()
H A Du2f.c143 send_dummy_register(fido_dev_t *dev, int *ms) in send_dummy_register()
191 key_lookup(fido_dev_t *dev, const char *rp_id, const fido_blob_t *key_id, in key_lookup()
297 do_auth(fido_dev_t *dev, const fido_blob_t *cdh, const char *rp_id, in do_auth()
642 u2f_register(fido_dev_t *dev, fido_cred_t *cred, int *ms) in u2f_register()
729 u2f_authenticate_single(fido_dev_t *dev, const fido_blob_t *key_id, in u2f_authenticate_single()
785 u2f_authenticate(fido_dev_t *dev, fido_assert_t *fa, int *ms) in u2f_authenticate()
832 u2f_get_touch_begin(fido_dev_t *dev, int *ms) in u2f_get_touch_begin()
881 u2f_get_touch_status(fido_dev_t *dev, int *touched, int *ms) in u2f_get_touch_status()
H A Dinfo.c284 fido_dev_get_cbor_info_tx(fido_dev_t *dev, int *ms) in fido_dev_get_cbor_info_tx()
299 fido_dev_get_cbor_info_rx(fido_dev_t *dev, fido_cbor_info_t *ci, int *ms) in fido_dev_get_cbor_info_rx()
320 fido_dev_get_cbor_info_wait(fido_dev_t *dev, fido_cbor_info_t *ci, int *ms) in fido_dev_get_cbor_info_wait()
336 fido_dev_get_cbor_info(fido_dev_t *dev, fido_cbor_info_t *ci) in fido_dev_get_cbor_info()
H A Dassert.c80 fido_dev_get_assert_tx(fido_dev_t *dev, fido_assert_t *assert, in fido_dev_get_assert_tx()
161 fido_dev_get_assert_rx(fido_dev_t *dev, fido_assert_t *assert, int *ms) in fido_dev_get_assert_rx()
202 fido_get_next_assert_tx(fido_dev_t *dev, int *ms) in fido_get_next_assert_tx()
215 fido_get_next_assert_rx(fido_dev_t *dev, fido_assert_t *assert, int *ms) in fido_get_next_assert_rx()
244 fido_dev_get_assert_wait(fido_dev_t *dev, fido_assert_t *assert, in fido_dev_get_assert_wait()
265 decrypt_hmac_secrets(const fido_dev_t *dev, fido_assert_t *assert, in decrypt_hmac_secrets()
285 fido_dev_get_assert(fido_dev_t *dev, fido_assert_t *assert, const char *pin) in fido_dev_get_assert()
H A Decdh.c115 do_ecdh(const fido_dev_t *dev, const es256_sk_t *sk, const es256_pk_t *pk, in do_ecdh()
167 fido_do_ecdh(fido_dev_t *dev, es256_pk_t **pk, fido_blob_t **ecdh, int *ms) in fido_do_ecdh()
H A Daes256.c188 aes256_cbc_enc(const fido_dev_t *dev, const fido_blob_t *secret, in aes256_cbc_enc()
196 aes256_cbc_dec(const fido_dev_t *dev, const fido_blob_t *secret, in aes256_cbc_dec()
H A Dcbor.c689 cbor_encode_pin_auth(const fido_dev_t *dev, const fido_blob_t *secret, in cbor_encode_pin_auth()
722 cbor_encode_pin_opt(const fido_dev_t *dev) in cbor_encode_pin_opt()
735 cbor_encode_change_pin_auth(const fido_dev_t *dev, const fido_blob_t *secret, in cbor_encode_change_pin_auth()
783 cbor_encode_hmac_secret_param(const fido_dev_t *dev, cbor_item_t *item, in cbor_encode_hmac_secret_param()
869 cbor_encode_assert_ext(fido_dev_t *dev, const fido_assert_ext_t *ext, in cbor_encode_assert_ext()
H A Dcred.c50 fido_dev_make_cred_tx(fido_dev_t *dev, fido_cred_t *cred, const char *pin, in fido_dev_make_cred_tx()
139 fido_dev_make_cred_rx(fido_dev_t *dev, fido_cred_t *cred, int *ms) in fido_dev_make_cred_rx()
182 fido_dev_make_cred_wait(fido_dev_t *dev, fido_cred_t *cred, const char *pin, in fido_dev_make_cred_wait()
195 fido_dev_make_cred(fido_dev_t *dev, fido_cred_t *cred, const char *pin) in fido_dev_make_cred()
/openbsd/lib/libfido2/src/fido/
H A Dconfig.h25 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,
H A Dbio.h81 int fido_bio_dev_enroll_begin(fido_dev_t *, fido_bio_template_t *,
83 int fido_bio_dev_enroll_cancel(fido_dev_t *);
84 int fido_bio_dev_enroll_continue(fido_dev_t *, const fido_bio_template_t *,
86 int fido_bio_dev_enroll_remove(fido_dev_t *, const fido_bio_template_t *,
88 int fido_bio_dev_get_info(fido_dev_t *, fido_bio_info_t *);
89 int fido_bio_dev_get_template_array(fido_dev_t *, fido_bio_template_array_t *,
91 int fido_bio_dev_set_template_name(fido_dev_t *, const fido_bio_template_t *,
H A Dcredman.h67 int fido_credman_del_dev_rk(fido_dev_t *, const unsigned char *, size_t,
69 int fido_credman_get_dev_metadata(fido_dev_t *, fido_credman_metadata_t *,
71 int fido_credman_get_dev_rk(fido_dev_t *, const char *, fido_credman_rk_t *,
73 int fido_credman_get_dev_rp(fido_dev_t *, fido_credman_rp_t *, const char *);
74 int fido_credman_set_dev_rk(fido_dev_t *, fido_cred_t *, const char *);
H A Dtypes.h274 } fido_dev_t; typedef
280 typedef struct fido_dev fido_dev_t; typedef
/openbsd/usr.bin/ssh/
H A Dsk-usbhid.c73 fido_dev_t *dev;
315 check_sk_options(fido_dev_t *dev, const char *opt, int *ret) in check_sk_options()
647 key_lookup(fido_dev_t *dev, const char *application, const uint8_t *user_id, in key_lookup()