if_wg.c | 1080 uint8_t privkey[static WG_EPHEMERAL_KEY_LEN]) 1085 cprng_strong(kern_cprng, privkey, WG_EPHEMERAL_KEY_LEN, 0); 1086 crypto_scalarmult_base(pubkey, privkey); 1091 const uint8_t privkey[static WG_STATIC_KEY_LEN], 1097 int ret __diagused = crypto_scalarmult(out, privkey, pubkey); 1442 uint8_t privkey[WG_EPHEMERAL_KEY_LEN]; local in function:wg_fill_msg_init 1464 wg_algo_generate_keypair(pubkey, privkey); 1477 wg_algo_dh_kdf(ckey, cipher_key, privkey, wgp->wgp_pubkey); 1522 memcpy(wgs->wgs_ephemeral_key_priv, privkey, sizeof(privkey)); 2014 uint8_t privkey[WG_EPHEMERAL_KEY_LEN]; local in function:wg_fill_msg_resp 4864 const void *privkey; local in function:wg_ioctl_set_private_key [all...] |