Home
last modified time | relevance | path

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

/external/openssh/
Dkexc25519.c120 u_char *server_pub; in kex_c25519_enc() local
140 if ((r = sshbuf_reserve(server_blob, CURVE25519_SIZE, &server_pub)) != 0) in kex_c25519_enc()
142 kexc25519_keygen(server_key, server_pub); in kex_c25519_enc()
151 dump_digest("server public key 25519:", server_pub, CURVE25519_SIZE); in kex_c25519_enc()
170 const u_char *server_pub; in kex_c25519_dec() local
179 server_pub = sshbuf_ptr(server_blob); in kex_c25519_dec()
181 dump_digest("server public key c25519:", server_pub, CURVE25519_SIZE); in kex_c25519_dec()
188 if ((r = kexc25519_shared_key_ext(kex->c25519_client_key, server_pub, in kex_c25519_dec()
Dkexsntrup4591761x25519.c78 u_char *kem_key, *ciphertext, *server_pub; in kex_kem_sntrup4591761x25519_enc() local
121 server_pub = ciphertext + crypto_kem_sntrup4591761_CIPHERTEXTBYTES; in kex_kem_sntrup4591761x25519_enc()
122 kexc25519_keygen(server_key, server_pub); in kex_kem_sntrup4591761x25519_enc()
130 dump_digest("server public key 25519:", server_pub, CURVE25519_SIZE); in kex_kem_sntrup4591761x25519_enc()
163 const u_char *ciphertext, *server_pub; in kex_kem_sntrup4591761x25519_dec() local
176 server_pub = ciphertext + crypto_kem_sntrup4591761_CIPHERTEXTBYTES; in kex_kem_sntrup4591761x25519_dec()
180 dump_digest("server public key c25519:", server_pub, CURVE25519_SIZE); in kex_kem_sntrup4591761x25519_dec()
192 if ((r = kexc25519_shared_key_ext(kex->c25519_client_key, server_pub, in kex_kem_sntrup4591761x25519_dec()
Dkexgen.c56 const struct sshbuf *server_pub, in kex_gen_hash() argument
78 (r = sshbuf_put_stringb(b, server_pub)) != 0 || in kex_gen_hash()