Home
last modified time | relevance | path

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

/external/libwebsockets/plugins/ssh-base/
Dkex-25519.c255 LWS_SIZE_EC25519)) in kex_ecdh_dv()
258 if (lws_genhash_update(&ctx, pool, LWS_SIZE_EC25519)) in kex_ecdh_dv()
263 m = LWS_SIZE_EC25519; in kex_ecdh_dv()
352 lws_get_random(pss->vhd->context, kex->eph_pri_key, LWS_SIZE_EC25519); in kex_ecdh()
390 kbi_len = lws_mpint_rfc4251(kbi, pss->K, LWS_SIZE_EC25519, 1); in kex_ecdh()
432 lws_p32((uint8_t *)&be, 8 + (int)strlen(keyt) + LWS_SIZE_EC25519); in kex_ecdh()
438 if (_genhash_update_len(&ctx, pss->K_S, LWS_SIZE_EC25519)) in kex_ecdh()
442 if (_genhash_update_len(&ctx, kex->Q_C, LWS_SIZE_EC25519)) in kex_ecdh()
444 if (_genhash_update_len(&ctx, kex->Q_S, LWS_SIZE_EC25519)) in kex_ecdh()
457 smlen = LWS_SIZE_EC25519 + 64; in kex_ecdh()
[all …]
/external/libwebsockets/plugins/ssh-base/include/
Dlws-ssh.h37 #define LWS_SIZE_EC25519 32 macro
404 uint8_t Q_C[LWS_SIZE_EC25519]; /* client eph public key aka 'e' */
405 uint8_t eph_pri_key[LWS_SIZE_EC25519]; /* server eph private key */
406 uint8_t Q_S[LWS_SIZE_EC25519]; /* server ephemeral public key */
467 uint8_t K[LWS_SIZE_EC25519]; /* shared secret */
507 uint8_t K_S[LWS_SIZE_EC25519]; /* server public key */