Searched refs:client_pub (Results 1 – 8 of 8) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | kexsntrup761x25519.c | 69 kex->client_pub = buf; in kex_kem_sntrup761x25519_keypair() 83 const u_char *client_pub; in kex_kem_sntrup761x25519_enc() local 99 client_pub = sshbuf_ptr(client_blob); in kex_kem_sntrup761x25519_enc() 101 dump_digest("client public key sntrup761:", client_pub, in kex_kem_sntrup761x25519_enc() 104 client_pub + crypto_kem_sntrup761_PUBLICKEYBYTES, in kex_kem_sntrup761x25519_enc() 125 crypto_kem_sntrup761_enc(ciphertext, kem_key, client_pub); in kex_kem_sntrup761x25519_enc() 130 client_pub += crypto_kem_sntrup761_PUBLICKEYBYTES; in kex_kem_sntrup761x25519_enc() 131 if ((r = kexc25519_shared_key_ext(server_key, client_pub, buf, 1)) < 0) in kex_kem_sntrup761x25519_enc()
|
H A D | kexmlkem768x25519.c | 82 kex->client_pub = buf; in kex_kem_mlkem768x25519_keypair() 98 const u_char *client_pub; in kex_kem_mlkem768x25519_enc() local 117 client_pub = sshbuf_ptr(client_blob); in kex_kem_mlkem768x25519_enc() 119 dump_digest("client public key mlkem768:", client_pub, in kex_kem_mlkem768x25519_enc() 122 client_pub + crypto_kem_mlkem768_PUBLICKEYBYTES, in kex_kem_mlkem768x25519_enc() 126 memcpy(mlkem_pub.value, client_pub, crypto_kem_mlkem768_PUBLICKEYBYTES); in kex_kem_mlkem768x25519_enc() 153 client_pub += crypto_kem_mlkem768_PUBLICKEYBYTES; in kex_kem_mlkem768x25519_enc() 154 if ((r = kexc25519_shared_key_ext(server_key, client_pub, buf, 1)) < 0) in kex_kem_mlkem768x25519_enc()
|
H A D | kexc25519.c | 106 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 D | kexgen.c | 55 const struct sshbuf *client_pub, in kex_gen_hash() argument 77 (r = sshbuf_put_stringb(b, client_pub)) != 0 || in kex_gen_hash() 133 (r = sshpkt_put_stringb(ssh, kex->client_pub)) != 0 || in kex_gen_client() 218 kex->client_pub, in input_kex_gen_reply() 261 sshbuf_free(kex->client_pub); in input_kex_gen_reply() 262 kex->client_pub = NULL; in input_kex_gen_reply()
|
H A D | kexdh.c | 135 kex->client_pub = buf; in kex_dh_keypair()
|
H A D | kexecdh.c | 83 kex->client_pub = buf; in kex_ecdh_keypair()
|
H A D | kex.h | 185 struct sshbuf *client_pub; member
|
H A D | kex.c | 738 sshbuf_free(kex->client_pub); in kex_free()
|