Lines Matching refs:sctx
86 DH_PKEY_CTX *dctx, *sctx; in pkey_dh_copy() local
90 sctx = src->data; in pkey_dh_copy()
92 dctx->prime_len = sctx->prime_len; in pkey_dh_copy()
93 dctx->subprime_len = sctx->subprime_len; in pkey_dh_copy()
94 dctx->generator = sctx->generator; in pkey_dh_copy()
95 dctx->paramgen_type = sctx->paramgen_type; in pkey_dh_copy()
96 dctx->pad = sctx->pad; in pkey_dh_copy()
97 dctx->md = sctx->md; in pkey_dh_copy()
98 dctx->param_nid = sctx->param_nid; in pkey_dh_copy()
100 dctx->kdf_type = sctx->kdf_type; in pkey_dh_copy()
101 dctx->kdf_oid = OBJ_dup(sctx->kdf_oid); in pkey_dh_copy()
104 dctx->kdf_md = sctx->kdf_md; in pkey_dh_copy()
105 if (sctx->kdf_ukm != NULL) { in pkey_dh_copy()
106 dctx->kdf_ukm = OPENSSL_memdup(sctx->kdf_ukm, sctx->kdf_ukmlen); in pkey_dh_copy()
109 dctx->kdf_ukmlen = sctx->kdf_ukmlen; in pkey_dh_copy()
111 dctx->kdf_outlen = sctx->kdf_outlen; in pkey_dh_copy()