Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssh/
H A Dkexsntrup761x25519.c65 kex->client_pub = buf; in kex_kem_sntrup761x25519_keypair()
79 const u_char *client_pub; in kex_kem_sntrup761x25519_enc() local
95 client_pub = sshbuf_ptr(client_blob); in kex_kem_sntrup761x25519_enc()
97 dump_digest("client public key sntrup761:", client_pub, in kex_kem_sntrup761x25519_enc()
100 client_pub + crypto_kem_sntrup761_PUBLICKEYBYTES, in kex_kem_sntrup761x25519_enc()
121 crypto_kem_sntrup761_enc(ciphertext, kem_key, client_pub); in kex_kem_sntrup761x25519_enc()
126 client_pub += crypto_kem_sntrup761_PUBLICKEYBYTES; in kex_kem_sntrup761x25519_enc()
127 if ((r = kexc25519_shared_key_ext(server_key, client_pub, buf, 1)) < 0) in kex_kem_sntrup761x25519_enc()
H A Dkexc25519.c106 kex->client_pub = buf; in kex_c25519_keypair()
119 const u_char *client_pub; in kex_c25519_enc() local
131 client_pub = sshbuf_ptr(client_blob); in kex_c25519_enc()
133 dump_digest("client public key 25519:", client_pub, CURVE25519_SIZE); in kex_c25519_enc()
148 if ((r = kexc25519_shared_key_ext(server_key, client_pub, buf, 0)) < 0) in kex_c25519_enc()
H A Dkexgen.c55 const struct sshbuf *client_pub, in kex_gen_hash() argument
77 (r = sshbuf_put_stringb(b, client_pub)) != 0 || in kex_gen_hash()
130 (r = sshpkt_put_stringb(ssh, kex->client_pub)) != 0 || in kex_gen_client()
211 kex->client_pub, in input_kex_gen_reply()
252 sshbuf_free(kex->client_pub); in input_kex_gen_reply()
253 kex->client_pub = NULL; in input_kex_gen_reply()
H A Dkexdh.c135 kex->client_pub = buf; in kex_dh_keypair()
H A Dkexecdh.c83 kex->client_pub = buf; in kex_ecdh_keypair()
H A Dkex.h183 struct sshbuf *client_pub; member
H A Dkex.c986 sshbuf_free(kex->client_pub); in kex_free()