HomeSort by: relevance | last modified time | path
    Searched defs:kex (Results 1 - 14 of 14) sorted by relevancy

  /src/crypto/external/bsd/openssh/dist/
kexgexs.c 43 #include "kex.h"
72 struct kex *kex = ssh->kex; local
85 kex->nbits = nbits;
86 kex->min = min;
87 kex->max = max;
93 if (kex->max < kex->min || kex->nbits < kex->min |
128 struct kex *kex = ssh->kex; local
    [all...]
kexgen.c 38 #include "kex.h"
103 struct kex *kex = ssh->kex; local
106 switch (kex->kex_type) {
113 r = kex_dh_keypair(kex);
116 r = kex_ecdh_keypair(kex);
120 r = kex_c25519_keypair(kex);
123 r = kex_kem_sntrup761x25519_keypair(kex);
126 r = kex_kem_mlkem768x25519_keypair(kex);
146 struct kex *kex = ssh->kex; local
279 struct kex *kex = ssh->kex; local
    [all...]
kexgexc.c 45 #include "kex.h"
62 struct kex *kex = ssh->kex; local
66 nbits = dh_estimate(kex->dh_need * 8);
68 kex->min = DH_GRP_MIN;
69 kex->max = DH_GRP_MAX;
70 kex->nbits = nbits;
72 kex->nbits = MINIMUM(kex->nbits, 4096)
97 struct kex *kex = ssh->kex; local
147 struct kex *kex = ssh->kex; local
    [all...]
packet.h 38 struct kex;
55 struct kex *kex; member in struct:ssh
ssh_api.c 54 * stubs for privsep calls in the server side implementation of kex.
121 ssh->kex->server = is_server;
124 ssh->kex->kex[KEX_DH_GRP1_SHA1] = kex_gen_server;
125 ssh->kex->kex[KEX_DH_GRP14_SHA1] = kex_gen_server;
126 ssh->kex->kex[KEX_DH_GRP14_SHA256] = kex_gen_server;
127 ssh->kex->kex[KEX_DH_GRP16_SHA512] = kex_gen_server
443 struct kex *kex = ssh->kex; local
    [all...]
sshd-auth.c 80 #include "kex.h"
639 pmonitor->m_pkex = &ssh->kex;
790 struct kex *kex; local
820 kex = ssh->kex;
823 kex->kex[KEX_DH_GRP1_SHA1] = kex_gen_server;
824 kex->kex[KEX_DH_GRP14_SHA1] = kex_gen_server
    [all...]
kex.c 1 /* $NetBSD: kex.c,v 1.40 2026/04/08 18:58:40 christos Exp $ */
2 /* $OpenBSD: kex.c,v 1.193 2026/03/05 05:40:35 djm Exp $ */
29 __RCSID("$NetBSD: kex.c,v 1.40 2026/04/08 18:58:40 christos Exp $");
54 #include "kex.h"
72 "KEX algorithms",
97 const char **defprop = ssh->kex->server ? defpropserver : defpropclient;
107 if ((cp = kex_names_cat(kexalgos, ssh->kex->server ?
108 "ext-info-s,kex-strict-s-v00@openssh.com" :
109 "ext-info-c,kex-strict-c-v00@openssh.com")) == NULL)
196 /* extract kex init proposal strings *
487 struct kex *kex = ssh->kex; local
534 struct kex *kex = ssh->kex; local
581 struct kex *kex = ssh->kex; local
618 struct kex *kex = ssh->kex; local
680 struct kex *kex; local
935 struct kex *kex = ssh->kex; local
1096 struct kex *kex = ssh->kex; local
1161 struct kex *kex = ssh->kex; local
1199 struct kex *kex = ssh->kex; local
1220 struct kex *kex = ssh->kex; local
    [all...]
kex.h 1 /* $NetBSD: kex.h,v 1.29 2026/04/08 18:58:40 christos Exp $ */
2 /* $OpenBSD: kex.h,v 1.129 2026/03/05 05:40:36 djm Exp $ */
103 /* kex->flags */
113 /* kex->pq */
141 struct kex { struct
174 int (*kex[KEX_MAX])(struct ssh *); member in struct:kex
175 /* kex specific state */
203 struct kex *kex_new(void);
207 void kex_free(struct kex *);
230 int kex_dh_keypair(struct kex *);
    [all...]
monitor.c 66 #include "kex.h"
641 (r = sshbuf_put_stringb(m, ssh->kex->server_version)) != 0 ||
642 (r = sshbuf_put_stringb(m, ssh->kex->client_version)) != 0 ||
749 * Supported KEX types use SHA1 (20 bytes), SHA256 (32 bytes),
755 * XXX perform similar check for KEX signature requests too?
757 * than the full kex structure...
803 is_proof ? "hostkey proof" : "KEX", siglen);
1497 * can't check ssh->kex->initial_hostkey directly at this point
1898 struct kex *kex; local
    [all...]
packet.c 74 #include "kex.h"
232 (ssh->kex = kex_new()) == NULL ||
258 kex_free(ssh->kex);
283 (ssh->kex != NULL && ssh->kex->done == 0);
346 kex_free(ssh->kex);
347 ssh->kex = NULL;
736 kex_free(ssh->kex);
737 ssh->kex = NULL;
952 if (ssh->kex && ssh->kex->newkeys[mode])
2571 struct kex *kex; local
3022 struct kex *kex; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/ssl/
ssl_ciph.c 326 EVP_KEYEXCH *kex = NULL; local
369 kex = EVP_KEYEXCH_fetch(ctx->libctx, "DH", ctx->propq);
370 if (kex == NULL)
373 EVP_KEYEXCH_free(kex);
374 kex = EVP_KEYEXCH_fetch(ctx->libctx, "ECDH", ctx->propq);
375 if (kex == NULL)
378 EVP_KEYEXCH_free(kex);
  /src/crypto/external/apache2/openssl/dist/ssl/
ssl_ciph.c 318 EVP_KEYEXCH *kex = NULL; local
362 kex = EVP_KEYEXCH_fetch(ctx->libctx, "DH", ctx->propq);
363 if (kex == NULL)
366 EVP_KEYEXCH_free(kex);
367 kex = EVP_KEYEXCH_fetch(ctx->libctx, "ECDH", ctx->propq);
368 if (kex == NULL)
371 EVP_KEYEXCH_free(kex);
  /src/crypto/external/bsd/openssl/dist/include/crypto/
evp.h 56 } kex; member in union:evp_pkey_ctx_st::__anon1490
  /src/crypto/external/apache2/openssl/dist/include/crypto/
evp.h 66 } kex; member in union:evp_pkey_ctx_st::__anon88

Completed in 28 milliseconds