| /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 | 37 #include "kex.h" 102 struct kex *kex = ssh->kex; local 105 switch (kex->kex_type) { 112 r = kex_dh_keypair(kex); 115 r = kex_ecdh_keypair(kex); 119 r = kex_c25519_keypair(kex); 122 r = kex_kem_sntrup761x25519_keypair(kex); 125 r = kex_kem_mlkem768x25519_keypair(kex); 145 struct kex *kex = ssh->kex; local 278 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 | 37 struct kex; 54 struct kex *kex; member in struct:ssh
|
| ssh_api.c | 54 * stubs for privsep calls in the server side implementation of kex. 124 ssh->kex->server = is_server; 127 ssh->kex->kex[KEX_DH_GRP1_SHA1] = kex_gen_server; 128 ssh->kex->kex[KEX_DH_GRP14_SHA1] = kex_gen_server; 129 ssh->kex->kex[KEX_DH_GRP14_SHA256] = kex_gen_server; 130 ssh->kex->kex[KEX_DH_GRP16_SHA512] = kex_gen_server 446 struct kex *kex = ssh->kex; local [all...] |
| sshd-auth.c | 78 #include "kex.h" 625 pmonitor->m_pkex = &ssh->kex; 779 struct kex *kex; local 799 kex = ssh->kex; 802 kex->kex[KEX_DH_GRP1_SHA1] = kex_gen_server; 803 kex->kex[KEX_DH_GRP14_SHA1] = kex_gen_server [all...] |
| kex.c | 1 /* $NetBSD: kex.c,v 1.39 2025/10/11 15:45:06 christos Exp $ */ 2 /* $OpenBSD: kex.c,v 1.189 2025/09/15 04:40:34 djm Exp $ */ 29 __RCSID("$NetBSD: kex.c,v 1.39 2025/10/11 15:45:06 christos Exp $"); 54 #include "kex.h" 74 "KEX algorithms", 99 const char **defprop = ssh->kex->server ? defpropserver : defpropclient; 109 if ((cp = kex_names_cat(kexalgos, ssh->kex->server ? 110 "ext-info-s,kex-strict-s-v00@openssh.com" : 111 "ext-info-c,kex-strict-c-v00@openssh.com")) == NULL) 198 /* extract kex init proposal strings * 481 struct kex *kex = ssh->kex; local 528 struct kex *kex = ssh->kex; local 575 struct kex *kex = ssh->kex; local 612 struct kex *kex = ssh->kex; local 674 struct kex *kex; local 929 struct kex *kex = ssh->kex; local 1090 struct kex *kex = ssh->kex; local 1155 struct kex *kex = ssh->kex; local 1193 struct kex *kex = ssh->kex; local 1214 struct kex *kex = ssh->kex; local [all...] |
| kex.h | 1 /* $NetBSD: kex.h,v 1.28 2025/10/11 15:45:06 christos Exp $ */ 2 /* $OpenBSD: kex.h,v 1.127 2025/08/11 10:55:38 djm Exp $ */ 103 /* kex->flags */ 112 /* kex->pq */ 140 struct kex { struct 173 int (*kex[KEX_MAX])(struct ssh *); member in struct:kex 174 /* kex specific state */ 202 struct kex *kex_new(void); 206 void kex_free(struct kex *); 229 int kex_dh_keypair(struct kex *); [all...] |
| monitor.c | 65 #include "kex.h" 635 (r = sshbuf_put_stringb(m, ssh->kex->server_version)) != 0 || 636 (r = sshbuf_put_stringb(m, ssh->kex->client_version)) != 0 || 726 * Supported KEX types use SHA1 (20 bytes), SHA256 (32 bytes), 732 * XXX perform similar check for KEX signature requests too? 734 * than the full kex structure... 780 is_proof ? "hostkey proof" : "KEX", siglen); 1469 * can't check ssh->kex->initial_hostkey directly at this point 1870 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]) 2529 struct kex *kex; local [all...] |
| /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/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/include/crypto/ |
| evp.h | 66 } kex; member in union:evp_pkey_ctx_st::__anon396
|
| /src/crypto/external/bsd/openssl/dist/include/crypto/ |
| evp.h | 56 } kex; member in union:evp_pkey_ctx_st::__anon1490
|