OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:server_blob
(Results
1 - 6
of
6
) sorted by relevancy
/src/crypto/external/bsd/openssh/dist/
kexc25519.c
117
struct sshbuf *
server_blob
= NULL;
local
136
if ((
server_blob
= sshbuf_new()) == NULL) {
140
if ((r = sshbuf_reserve(
server_blob
, CURVE25519_SIZE, &server_pub)) != 0)
154
*server_blobp =
server_blob
;
156
server_blob
= NULL;
160
sshbuf_free(
server_blob
);
166
kex_c25519_dec(struct kex *kex, const struct sshbuf *
server_blob
,
175
if (sshbuf_len(
server_blob
) != CURVE25519_SIZE) {
179
server_pub = sshbuf_ptr(
server_blob
);
kexecdh.c
97
struct sshbuf *
server_blob
= NULL;
local
118
if ((
server_blob
= sshbuf_new()) == NULL) {
122
if ((r = sshbuf_put_ec(
server_blob
, pub_key, group)) != 0 ||
123
(r = sshbuf_get_u32(
server_blob
, NULL)) != 0)
128
*server_blobp =
server_blob
;
129
server_blob
= NULL;
132
sshbuf_free(
server_blob
);
199
kex_ecdh_dec(struct kex *kex, const struct sshbuf *
server_blob
,
204
r = kex_ecdh_dec_key_group(kex,
server_blob
, kex->ec_client_key,
kexdh.c
144
struct sshbuf *
server_blob
= NULL;
local
153
if ((
server_blob
= sshbuf_new()) == NULL) {
157
if ((r = sshbuf_put_bignum2(
server_blob
, pub_key)) != 0 ||
158
(r = sshbuf_get_u32(
server_blob
, NULL)) != 0)
162
*server_blobp =
server_blob
;
163
server_blob
= NULL;
167
sshbuf_free(
server_blob
);
kexmlkem768x25519.c
92
struct sshbuf *
server_blob
= NULL;
local
135
if ((
server_blob
= sshbuf_new()) == NULL) {
145
(r = sshbuf_put(
server_blob
, enc.fst.value, sizeof(enc.fst.value))) != 0 ||
146
(r = sshbuf_put(
server_blob
, server_pub, sizeof(server_pub))) != 0)
172
*server_blobp =
server_blob
;
174
server_blob
= NULL;
181
sshbuf_free(
server_blob
);
188
const struct sshbuf *
server_blob
, struct sshbuf **shared_secretp)
204
if (sshbuf_len(
server_blob
) != need) {
208
ciphertext = sshbuf_ptr(
server_blob
);
[
all
...]
kexsntrup761x25519.c
82
struct sshbuf *
server_blob
= NULL;
local
118
if ((
server_blob
= sshbuf_new()) == NULL) {
123
if ((r = sshbuf_reserve(
server_blob
, need, &ciphertext)) != 0)
152
*server_blobp =
server_blob
;
154
server_blob
= NULL;
159
sshbuf_free(
server_blob
);
166
const struct sshbuf *
server_blob
, struct sshbuf **shared_secretp)
178
if (sshbuf_len(
server_blob
) != need) {
182
ciphertext = sshbuf_ptr(
server_blob
);
kexgen.c
149
struct sshbuf *
server_blob
= NULL;
local
174
if ((r = sshpkt_getb_froms(ssh, &
server_blob
)) != 0 ||
187
r = kex_dh_dec(kex,
server_blob
, &shared_secret);
190
r = kex_ecdh_dec(kex,
server_blob
, &shared_secret);
194
r = kex_c25519_dec(kex,
server_blob
, &shared_secret);
197
r = kex_kem_sntrup761x25519_dec(kex,
server_blob
,
201
r = kex_kem_mlkem768x25519_dec(kex,
server_blob
,
221
server_blob
,
261
sshbuf_free(
server_blob
);
Completed in 18 milliseconds
Indexes created Wed Jun 17 00:25:26 UTC 2026