Searched refs:oldpin (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/libfido2/examples/ |
H A D | setpin.c | 19 setpin(const char *path, const char *pin, const char *oldpin) in setpin() argument 32 if ((r = fido_dev_set_pin(dev, pin, oldpin)) != FIDO_OK) in setpin()
|
H A D | README.adoc | 12 - <pin>, [oldpin] 45 - setpin <pin> [oldpin] <device> 47 Configures <pin> as the new PIN of <device>. If [oldpin] is provided, 48 the device's PIN is changed from [oldpin] to <pin>.
|
/freebsd/contrib/libfido2/src/ |
H A D | pin.c | 357 fido_dev_change_pin_tx(fido_dev_t *dev, const char *pin, const char *oldpin, in fido_dev_change_pin_tx() argument 373 (const unsigned char *)oldpin, strlen(oldpin)) < 0) { in fido_dev_change_pin_tx() 480 fido_dev_set_pin_wait(fido_dev_t *dev, const char *pin, const char *oldpin, in fido_dev_set_pin_wait() argument 485 if (oldpin != NULL) { in fido_dev_set_pin_wait() 486 if ((r = fido_dev_change_pin_tx(dev, pin, oldpin, in fido_dev_set_pin_wait() 512 fido_dev_set_pin(fido_dev_t *dev, const char *pin, const char *oldpin) in fido_dev_set_pin() argument 516 return (fido_dev_set_pin_wait(dev, pin, oldpin, &ms)); in fido_dev_set_pin()
|