Lines Matching refs:ecxkey
361 static int set_property_query(ECX_KEY *ecxkey, const char *propq) in set_property_query() argument
363 OPENSSL_free(ecxkey->propq); in set_property_query()
364 ecxkey->propq = NULL; in set_property_query()
366 ecxkey->propq = OPENSSL_strdup(propq); in set_property_query()
367 if (ecxkey->propq == NULL) { in set_property_query()
377 ECX_KEY *ecxkey = key; in ecx_set_params() local
385 void *buf = ecxkey->pubkey; in ecx_set_params()
387 if (p->data_size != ecxkey->keylen in ecx_set_params()
388 || !OSSL_PARAM_get_octet_string(p, &buf, sizeof(ecxkey->pubkey), in ecx_set_params()
391 OPENSSL_clear_free(ecxkey->privkey, ecxkey->keylen); in ecx_set_params()
392 ecxkey->privkey = NULL; in ecx_set_params()
393 ecxkey->haspubkey = 1; in ecx_set_params()
398 || !set_property_query(ecxkey, p->data)) in ecx_set_params()