Searched refs:eph_pri_key (Results 1 – 2 of 2) sorted by relevance
352 lws_get_random(pss->vhd->context, kex->eph_pri_key, LWS_SIZE_EC25519); in kex_ecdh()353 kex->eph_pri_key[0] &= 248; in kex_ecdh()354 kex->eph_pri_key[31] &= 127; in kex_ecdh()355 kex->eph_pri_key[31] |= 64; in kex_ecdh()366 crypto_scalarmult_curve25519(kex->Q_S, kex->eph_pri_key, basepoint); in kex_ecdh()383 crypto_scalarmult_curve25519(pss->K, kex->eph_pri_key, kex->Q_C); in kex_ecdh()
414 uint8_t eph_pri_key[LWS_SIZE_EC25519]; /* server eph private key */ member