Home
last modified time | relevance | path

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

/freebsd/contrib/wireguard-tools/
H A Dshow.c78 static const char *maybe_key(const uint8_t maybe_key[static WG_KEY_LEN], bool have_it) in maybe_key() function
82 return key(maybe_key); in maybe_key()
260 printf("%s\t", maybe_key(device->private_key, device->flags & WGDEVICE_HAS_PRIVATE_KEY)); in dump_print()
261 printf("%s\t", maybe_key(device->public_key, device->flags & WGDEVICE_HAS_PUBLIC_KEY)); in dump_print()
271 printf("%s\t", maybe_key(peer->preshared_key, peer->flags & WGPEER_HAS_PRESHARED_KEY)); in dump_print()
298 printf("%s\n", maybe_key(device->public_key, device->flags & WGDEVICE_HAS_PUBLIC_KEY)); in ugly_print()
302 printf("%s\n", maybe_key(device->private_key, device->flags & WGDEVICE_HAS_PRIVATE_KEY)); in ugly_print()
361 printf("%s\n", maybe_key(peer->preshared_key, peer->flags & WGPEER_HAS_PRESHARED_KEY)); in ugly_print()