Lines Matching refs:pin
62 const char *pin, const fido_blob_t *token, int *ms)
84 if (pin || token) {
93 if (pin) {
98 if ((r = cbor_add_uv_params(dev, cmd, &hmac, pk, ecdh, pin,
106 fido_log_debug("%s: encode pin", __func__);
269 const char *pin, int *ms)
273 if ((r = bio_tx(dev, CMD_ENUM, NULL, 0, pin, NULL, ms)) != FIDO_OK ||
282 const char *pin)
286 if (pin == NULL)
289 return (bio_get_template_array_wait(dev, ta, pin, &ms));
294 const char *pin, int *ms)
307 if ((r = bio_tx(dev, CMD_SET_NAME, argv, 2, pin, NULL,
323 const char *pin)
327 if (pin == NULL || t->name == NULL)
330 return (bio_set_template_name_wait(dev, t, pin, &ms));
467 fido_bio_enroll_t *e, uint32_t timo_ms, const char *pin)
475 if (pin == NULL || e->token != NULL)
488 if ((r = fido_dev_get_uv_token(dev, CTAP_CBOR_BIO_ENROLL_PRE, pin, ecdh,
607 const char *pin, int *ms)
620 if ((r = bio_tx(dev, cmd, argv, 1, pin, NULL, ms)) != FIDO_OK ||
635 const char *pin)
639 return (bio_enroll_remove_wait(dev, t, pin, &ms));