• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/OpenSSH-189/openssh/

Lines Matching refs:pctx

374 	struct jpake_ctx *pctx = authctxt->jpake_ctx;
381 PRIVSEP(jpake_step1(pctx->grp,
382 &pctx->server_id, &pctx->server_id_len,
383 &pctx->x3, &pctx->x4, &pctx->g_x3, &pctx->g_x4,
387 PRIVSEP(auth2_jpake_get_pwdata(authctxt, &pctx->s,
391 JPAKE_DEBUG_CTX((pctx, "step 1 sending in %s", __func__));
396 packet_put_string(pctx->server_id, pctx->server_id_len);
397 packet_put_bignum2(pctx->g_x3);
398 packet_put_bignum2(pctx->g_x4);
426 struct jpake_ctx *pctx = authctxt->jpake_ctx;
434 if ((pctx->g_x1 = BN_new()) == NULL ||
435 (pctx->g_x2 = BN_new()) == NULL)
437 pctx->client_id = packet_get_string(&pctx->client_id_len);
438 packet_get_bignum2(pctx->g_x1);
439 packet_get_bignum2(pctx->g_x2);
445 JPAKE_DEBUG_CTX((pctx, "step 1 received in %s", __func__));
447 PRIVSEP(jpake_step2(pctx->grp, pctx->s, pctx->g_x3,
448 pctx->g_x1, pctx->g_x2, pctx->x4,
449 pctx->client_id, pctx->client_id_len,
450 pctx->server_id, pctx->server_id_len,
453 &pctx->b,
462 JPAKE_DEBUG_CTX((pctx, "step 2 sending in %s", __func__));
466 packet_put_bignum2(pctx->b);
484 struct jpake_ctx *pctx = authctxt->jpake_ctx;
491 if ((pctx->a = BN_new()) == NULL)
495 packet_get_bignum2(pctx->a);
500 JPAKE_DEBUG_CTX((pctx, "step 2 received in %s", __func__));
503 PRIVSEP(jpake_key_confirm(pctx->grp, pctx->s, pctx->a,
504 pctx->x4, pctx->g_x3, pctx->g_x4, pctx->g_x1, pctx->g_x2,
505 pctx->server_id, pctx->server_id_len,
506 pctx->client_id, pctx->client_id_len,
509 &pctx->k,
510 &pctx->h_k_sid_sessid, &pctx->h_k_sid_sessid_len));
516 JPAKE_DEBUG_CTX((pctx, "confirm sending in %s", __func__));
520 packet_put_string(pctx->h_k_sid_sessid, pctx->h_k_sid_sessid_len);
534 struct jpake_ctx *pctx = authctxt->jpake_ctx;
540 pctx->h_k_cid_sessid = packet_get_string(&pctx->h_k_cid_sessid_len);
544 JPAKE_DEBUG_CTX((pctx, "confirm received in %s", __func__));
547 if (PRIVSEP(jpake_check_confirm(pctx->k,
548 pctx->client_id, pctx->client_id_len,
550 pctx->h_k_cid_sessid, pctx->h_k_cid_sessid_len)) == 1)