| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | kexgexc.c | 60 struct kex *kex = ssh->kex; in kexgex_client() local 64 nbits = dh_estimate(kex->dh_need * 8); in kexgex_client() 66 kex->min = DH_GRP_MIN; in kexgex_client() 67 kex->max = DH_GRP_MAX; in kexgex_client() 68 kex->nbits = nbits; in kexgex_client() 70 kex->nbits = MINIMUM(kex->nbits, 4096); in kexgex_client() 73 (r = sshpkt_put_u32(ssh, kex->min)) != 0 || in kexgex_client() 74 (r = sshpkt_put_u32(ssh, kex->nbits)) != 0 || in kexgex_client() 75 (r = sshpkt_put_u32(ssh, kex->max)) != 0 || in kexgex_client() 79 kex->min, kex->nbits, kex->max); in kexgex_client() [all …]
|
| H A D | kexgexs.c | 71 struct kex *kex = ssh->kex; in input_kex_dh_gex_request() local 84 kex->nbits = nbits; in input_kex_dh_gex_request() 85 kex->min = min; in input_kex_dh_gex_request() 86 kex->max = max; in input_kex_dh_gex_request() 92 if (kex->max < kex->min || kex->nbits < kex->min || in input_kex_dh_gex_request() 93 kex->max < kex->nbits || kex->max < DH_GRP_MIN) { in input_kex_dh_gex_request() 99 kex->dh = mm_choose_dh(min, nbits, max); in input_kex_dh_gex_request() 100 if (kex->dh == NULL) { in input_kex_dh_gex_request() 106 DH_get0_pqg(kex->dh, &dh_p, NULL, &dh_g); in input_kex_dh_gex_request() 114 if ((r = dh_gen_key(kex->dh, kex->we_need * 8)) != 0) in input_kex_dh_gex_request() [all …]
|
| H A D | kexdh.c | 45 kex_dh_keygen(struct kex *kex) in kex_dh_keygen() argument 47 switch (kex->kex_type) { in kex_dh_keygen() 49 kex->dh = dh_new_group1(); in kex_dh_keygen() 53 kex->dh = dh_new_group14(); in kex_dh_keygen() 56 kex->dh = dh_new_group16(); in kex_dh_keygen() 59 kex->dh = dh_new_group18(); in kex_dh_keygen() 64 if (kex->dh == NULL) in kex_dh_keygen() 66 return (dh_gen_key(kex->dh, kex->we_need * 8)); in kex_dh_keygen() 70 kex_dh_compute_key(struct kex *kex, BIGNUM *dh_pub, struct sshbuf *out) in kex_dh_compute_key() argument 82 DHparams_print_fp(stderr, kex->dh); in kex_dh_compute_key() [all …]
|
| H A D | kexecdh.c | 45 kex_ecdh_dec_key_group(struct kex *, const struct sshbuf *, EC_KEY *key, 49 kex_ecdh_keypair(struct kex *kex) in kex_ecdh_keypair() argument 57 if ((client_key = EC_KEY_new_by_curve_name(kex->ec_nid)) == NULL) { in kex_ecdh_keypair() 79 kex->ec_client_key = client_key; in kex_ecdh_keypair() 80 kex->ec_group = group; in kex_ecdh_keypair() 82 kex->client_pub = buf; in kex_ecdh_keypair() 91 kex_ecdh_enc(struct kex *kex, const struct sshbuf *client_blob, in kex_ecdh_enc() argument 103 if ((server_key = EC_KEY_new_by_curve_name(kex->ec_nid)) == NULL) { in kex_ecdh_enc() 125 if ((r = kex_ecdh_dec_key_group(kex, client_blob, server_key, group, in kex_ecdh_enc() 137 kex_ecdh_dec_key_group(struct kex *kex, const struct sshbuf *ec_blob, in kex_ecdh_dec_key_group() argument [all …]
|
| H A D | serverloop.c | 683 ssh->kex->hostkey_alg)) == KEY_RSA) in server_input_hostkeys_prove() 684 kex_rsa_sigalg = ssh->kex->hostkey_alg; in server_input_hostkeys_prove() 697 if ((ndx = ssh->kex->host_key_index(key, 1, ssh)) == -1) { in server_input_hostkeys_prove() 721 else if (ssh->kex->flags & KEX_RSA_SHA2_512_SUPPORTED) in server_input_hostkeys_prove() 723 else if (ssh->kex->flags & KEX_RSA_SHA2_256_SUPPORTED) in server_input_hostkeys_prove() 731 ssh->kex->session_id)) != 0 || in server_input_hostkeys_prove() 733 (r = ssh->kex->sign(ssh, key_prv, key_pub, &sig, &slen, in server_input_hostkeys_prove()
|
| H A D | auth2-pubkey.c | 121 if (ssh->kex->initial_hostkey == NULL) in userauth_pubkey() 123 if (!sshkey_equal(hostkey, ssh->kex->initial_hostkey)) in userauth_pubkey() 198 if ((r = sshbuf_putb(b, ssh->kex->session_id)) != 0) in userauth_pubkey() 202 ssh->kex->session_id)) != 0) in userauth_pubkey() 222 (r = sshkey_puts(ssh->kex->initial_hostkey, b)) != 0) in userauth_pubkey()
|
| H A D | monitor.h | 87 struct kex **m_pkex;
|
| H A D | clientloop.c | 518 if (ssh->kex == NULL || (ssh->kex->flags & KEX_HAS_PING) == 0) in send_chaff() 1838 if ((r = ssh_agent_bind_hostkey(sock, ssh->kex->initial_hostkey, in client_request_agent() 1839 ssh->kex->session_id, ssh->kex->initial_sig, 1)) == 0) in client_request_agent() 2364 ssh->kex->hostkey_alg)) == KEY_RSA) in client_global_hostkeys_prove_confirm() 2365 rsa_kexalg = ssh->kex->hostkey_alg; in client_global_hostkeys_prove_confirm() 2382 ssh->kex->session_id)) != 0 || in client_global_hostkeys_prove_confirm()
|
| H A D | auth2-hostbased.c | 132 if ((r = sshbuf_put_stringb(b, ssh->kex->session_id)) != 0 || in userauth_hostbased()
|
| H A D | auth2-gss.c | 305 "gssapi-with-mic", ssh->kex->session_id); in input_gssapi_mic()
|
| H A D | monitor_wrap.c | 272 struct kex *kex = *pmonitor->m_pkex; in mm_sshkey_sign() local 274 u_int ndx = kex->host_key_index(key, 0, ssh); in mm_sshkey_sign()
|
| H A D | PROTOCOL | 146 "kex-strict-c-v00@openssh.com" to its kex_algorithms and the server 147 may append "kex-strict-s-v00@openssh.com". These pseudo-algorithms
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| H A D | exchange.c | 335 ctx->op.kex.exchange = exchange; in EVP_PKEY_derive_init_ex() 336 ctx->op.kex.algctx = exchange->newctx(ossl_provider_ctx(exchange->prov)); in EVP_PKEY_derive_init_ex() 337 if (ctx->op.kex.algctx == NULL) { in EVP_PKEY_derive_init_ex() 342 ret = exchange->init(ctx->op.kex.algctx, provkey, params); in EVP_PKEY_derive_init_ex() 390 if (!EVP_PKEY_CTX_IS_DERIVE_OP(ctx) || ctx->op.kex.algctx == NULL) in EVP_PKEY_derive_set_peer_ex() 393 if (ctx->op.kex.exchange->set_peer == NULL) { in EVP_PKEY_derive_set_peer_ex() 419 EVP_KEYEXCH_get0_provider(ctx->op.kex.exchange), in EVP_PKEY_derive_set_peer_ex() 433 return ctx->op.kex.exchange->set_peer(ctx->op.kex.algctx, provkey); in EVP_PKEY_derive_set_peer_ex() 519 if (ctx->op.kex.algctx == NULL) in EVP_PKEY_derive() 522 ret = ctx->op.kex.exchange->derive(ctx->op.kex.algctx, key, pkeylen, in EVP_PKEY_derive()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/ |
| H A D | ssl_ciph.c | 326 EVP_KEYEXCH *kex = NULL; in ssl_load_ciphers() local 369 kex = EVP_KEYEXCH_fetch(ctx->libctx, "DH", ctx->propq); in ssl_load_ciphers() 370 if (kex == NULL) in ssl_load_ciphers() 373 EVP_KEYEXCH_free(kex); in ssl_load_ciphers() 374 kex = EVP_KEYEXCH_fetch(ctx->libctx, "ECDH", ctx->propq); in ssl_load_ciphers() 375 if (kex == NULL) in ssl_load_ciphers() 378 EVP_KEYEXCH_free(kex); in ssl_load_ciphers()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/ |
| H A D | list.c | 879 static void collect_kex(EVP_KEYEXCH *kex, void *stack) in collect_kex() argument 883 if (is_keyexch_fetchable(kex) in collect_kex() 884 && sk_EVP_KEYEXCH_push(kex_stack, kex) > 0) in collect_kex() 885 EVP_KEYEXCH_up_ref(kex); in collect_kex()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/mips/ |
| H A D | mips-cpus.def | 124 MIPS_CPU ("24kex", PROCESSOR_24KF1_1, 33, 0)
|
| H A D | mips-tables.opt | 520 Enum(mips_arch_opt_value) String(24kex) Value(66) Canonical
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/mips/ |
| H A D | mips-cpus.def | 124 MIPS_CPU ("24kex", PROCESSOR_24KF1_1, MIPS_ISA_MIPS32R2, 0)
|
| H A D | mips-tables.opt | 520 Enum(mips_arch_opt_value) String(24kex) Value(66) Canonical
|
| /netbsd-src/crypto/external/bsd/openssl/dist/include/crypto/ |
| H A D | evp.h | 56 } kex; member
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/ |
| H A D | s_server.pod | 844 -allow-no-dhe-kex and -prioritize_chacha options were added in OpenSSL 1.1.1.
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/err/ |
| H A D | openssl.txt | 1390 SSL_R_MISSING_PSK_KEX_MODES_EXTENSION:310:missing psk kex modes extension
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/err/ |
| H A D | openssl.txt | 2750 SSL_R_MISSING_PSK_KEX_MODES_EXTENSION:310:missing psk kex modes extension
|
| /netbsd-src/external/gpl3/binutils/dist/gas/ |
| H A D | ChangeLog-2006 | 1426 24kex, 34kc, 34kf, 34kx, 25kf CPU definitions.
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/ |
| H A D | ChangeLog-2006 | 1426 24kex, 34kc, 34kf, 34kx, 25kf CPU definitions.
|