Lines Matching refs:ecxkey
381 static int set_property_query(ECX_KEY *ecxkey, const char *propq) in set_property_query() argument
383 OPENSSL_free(ecxkey->propq); in set_property_query()
384 ecxkey->propq = NULL; in set_property_query()
386 ecxkey->propq = OPENSSL_strdup(propq); in set_property_query()
387 if (ecxkey->propq == NULL) { in set_property_query()
397 ECX_KEY *ecxkey = key; in ecx_set_params() local
405 void *buf = ecxkey->pubkey; in ecx_set_params()
407 if (p->data_size != ecxkey->keylen in ecx_set_params()
408 || !OSSL_PARAM_get_octet_string(p, &buf, sizeof(ecxkey->pubkey), in ecx_set_params()
411 OPENSSL_clear_free(ecxkey->privkey, ecxkey->keylen); in ecx_set_params()
412 ecxkey->privkey = NULL; in ecx_set_params()
413 ecxkey->haspubkey = 1; in ecx_set_params()
418 || !set_property_query(ecxkey, p->data)) in ecx_set_params()