Home
last modified time | relevance | path

Searched refs:kex (Results 1 - 18 of 18) sorted by relevance

/third_party/libwebsockets/plugins/ssh-base/
H A Dkex-25519.c312 struct lws_kex *kex = pss->kex; in kex_ecdh() local
340 * 1) Generate ephemeral key pair [ eph_pri_key | kex->Q_S ] in kex_ecdh()
352 lws_get_random(pss->vhd->context, kex->eph_pri_key, LWS_SIZE_EC25519); in kex_ecdh()
353 kex->eph_pri_key[0] &= 248; in kex_ecdh()
354 kex->eph_pri_key[31] &= 127; in kex_ecdh()
355 kex->eph_pri_key[31] |= 64; in kex_ecdh()
366 crypto_scalarmult_curve25519(kex->Q_S, kex->eph_pri_key, basepoint); in kex_ecdh()
369 for (r = 0; r < (int)sizeof(kex in kex_ecdh()
[all...]
H A Dsshd.c301 struct lws_kex *kex = pss->kex; in handle_name() local
309 kex->match_bitfield |= 1; in handle_name()
321 kex->match_bitfield |= 2; in handle_name()
328 kex->match_bitfield |= 4; in handle_name()
332 kex->match_bitfield |= 8; in handle_name()
336 kex->match_bitfield |= 16; in handle_name()
340 kex->match_bitfield |= 32; in handle_name()
344 kex->match_bitfield |= 64; in handle_name()
348 kex in handle_name()
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dpmeth_lib.c166 && ctx->op.kex.algctx != NULL) in evp_pkey_ctx_state()
387 if (ctx->op.kex.algctx != NULL && ctx->op.kex.exchange != NULL) in evp_pkey_ctx_free_old_ops()
388 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
389 EVP_KEYEXCH_free(ctx->op.kex.exchange); in evp_pkey_ctx_free_old_ops()
390 ctx->op.kex.algctx = NULL; in evp_pkey_ctx_free_old_ops()
391 ctx->op.kex.exchange = NULL; in evp_pkey_ctx_free_old_ops()
505 if (pctx->op.kex.exchange != NULL) { in EVP_PKEY_CTX_dup()
506 rctx->op.kex in EVP_PKEY_CTX_dup()
[all...]
H A Dexchange.c335 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 in EVP_PKEY_derive()
[all...]
H A Dctrl_params_translate.c422 && ctx->pctx->op.kex.algctx == NULL) in default_fixup_args()
/third_party/openssl/crypto/evp/
H A Dpmeth_lib.c166 && ctx->op.kex.algctx != NULL) in evp_pkey_ctx_state()
386 if (ctx->op.kex.algctx != NULL && ctx->op.kex.exchange != NULL) in evp_pkey_ctx_free_old_ops()
387 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
388 EVP_KEYEXCH_free(ctx->op.kex.exchange); in evp_pkey_ctx_free_old_ops()
389 ctx->op.kex.algctx = NULL; in evp_pkey_ctx_free_old_ops()
390 ctx->op.kex.exchange = NULL; in evp_pkey_ctx_free_old_ops()
504 if (pctx->op.kex.exchange != NULL) { in EVP_PKEY_CTX_dup()
505 rctx->op.kex in EVP_PKEY_CTX_dup()
[all...]
H A Dexchange.c335 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 in EVP_PKEY_derive()
[all...]
H A Dctrl_params_translate.c422 && ctx->pctx->op.kex.algctx == NULL) in default_fixup_args()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djdarith.c442 int tbl, k, kex; in METHODDEF() local
462 for (kex = cinfo->Se; kex > 0; kex--) in METHODDEF()
463 if ((*block)[jpeg_natural_order[kex]]) break; in METHODDEF()
467 if (k > kex) in METHODDEF()
H A Djcarith.c598 int tbl, k, ke, kex; in METHODDEF() local
632 for (kex = ke; kex > 0; kex--) in METHODDEF()
633 if ((v = (*block)[jpeg_natural_order[kex]]) >= 0) { in METHODDEF()
643 if (k > kex) in METHODDEF()
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_ciph.c326 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()
/third_party/openssl/ssl/
H A Dssl_ciph.c326 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()
/third_party/node/deps/openssl/openssl/apps/
H A Dlist.c879 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()
/third_party/openssl/apps/
H A Dlist.c879 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()
/third_party/libwebsockets/plugins/ssh-base/include/
H A Dlws-ssh.h473 struct lws_kex *kex; member
/third_party/node/deps/openssl/openssl/include/crypto/
H A Devp.h56 } kex; member
/third_party/openssl/include/crypto/
H A Devp.h56 } kex; member
/third_party/mbedtls/tests/scripts/
H A Dall.sh2467 msg "test/build: depends.py kex (gcc)"
2468 tests/scripts/depends.py kex --unset-use-psa
2503 msg "test/build: depends.py kex (gcc) with MBEDTLS_USE_PSA_CRYPTO defined"
2504 tests/scripts/depends.py kex

Completed in 41 milliseconds