Lines Matching refs:dctx
84 EC_PKEY_CTX *dctx; in pkey_ec_init() local
85 dctx = OPENSSL_malloc(sizeof(EC_PKEY_CTX)); in pkey_ec_init()
86 if (!dctx) { in pkey_ec_init()
89 OPENSSL_memset(dctx, 0, sizeof(EC_PKEY_CTX)); in pkey_ec_init()
91 ctx->data = dctx; in pkey_ec_init()
97 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local
102 dctx = dst->data; in pkey_ec_copy()
104 dctx->md = sctx->md; in pkey_ec_copy()
110 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_cleanup() local
111 if (!dctx) { in pkey_ec_cleanup()
115 EC_GROUP_free(dctx->gen_group); in pkey_ec_cleanup()
116 OPENSSL_free(dctx); in pkey_ec_cleanup()
180 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_ctrl() local
193 dctx->md = p2; in pkey_ec_ctrl()
197 *(const EVP_MD **)p2 = dctx->md; in pkey_ec_ctrl()
209 EC_GROUP_free(dctx->gen_group); in pkey_ec_ctrl()
210 dctx->gen_group = group; in pkey_ec_ctrl()
221 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_keygen() local
222 const EC_GROUP *group = dctx->gen_group; in pkey_ec_keygen()
242 EC_PKEY_CTX *dctx = ctx->data; in pkey_ec_paramgen() local
243 if (dctx->gen_group == NULL) { in pkey_ec_paramgen()
249 !EC_KEY_set_group(ec, dctx->gen_group)) { in pkey_ec_paramgen()