Lines Matching refs:meth

56     if (ret->meth->set_group != NULL  in EC_KEY_new_by_curve_name_ex()
57 && ret->meth->set_group(ret, ret->group) == 0) { in EC_KEY_new_by_curve_name_ex()
84 if (r->meth != NULL && r->meth->finish != NULL) in EC_KEY_free()
85 r->meth->finish(r); in EC_KEY_free()
91 if (r->group && r->group->meth->keyfinish) in EC_KEY_free()
92 r->group->meth->keyfinish(r); in EC_KEY_free()
112 if (src->meth != dest->meth) { in EC_KEY_copy()
113 if (dest->meth->finish != NULL) in EC_KEY_copy()
114 dest->meth->finish(dest); in EC_KEY_copy()
115 if (dest->group && dest->group->meth->keyfinish) in EC_KEY_copy()
116 dest->group->meth->keyfinish(dest); in EC_KEY_copy()
129 src->group->meth); in EC_KEY_copy()
153 if (src->group->meth->keycopy in EC_KEY_copy()
154 && src->group->meth->keycopy(dest, src) == 0) in EC_KEY_copy()
171 if (src->meth != dest->meth) { in EC_KEY_copy()
177 dest->meth = src->meth; in EC_KEY_copy()
180 if (src->meth->copy != NULL && src->meth->copy(dest, src) == 0) in EC_KEY_copy()
216 if (eckey->meth->keygen != NULL) { in EC_KEY_generate_key()
219 ret = eckey->meth->keygen(eckey); in EC_KEY_generate_key()
233 ret = eckey->group->meth->keygen(eckey); in ossl_ec_key_gen()
476 if (eckey->group->meth->keycheck == NULL) { in EC_KEY_check_key()
481 return eckey->group->meth->keycheck(eckey); in EC_KEY_check_key()
774 if (key->meth->set_group != NULL && key->meth->set_group(key, group) == 0) in EC_KEY_set_group()
796 if (key->group == NULL || key->group->meth == NULL) in EC_KEY_set_private_key()
811 if (key->group->meth->set_private != NULL in EC_KEY_set_private_key()
812 && key->group->meth->set_private(key, priv_key) == 0) in EC_KEY_set_private_key()
814 if (key->meth->set_private != NULL in EC_KEY_set_private_key()
815 && key->meth->set_private(key, priv_key) == 0) in EC_KEY_set_private_key()
892 if (key->meth->set_public != NULL in EC_KEY_set_public_key()
893 && key->meth->set_public(key, pub_key) == 0) in EC_KEY_set_public_key()
989 if ((key->group->meth->flags & EC_FLAGS_CUSTOM_CURVE) == 0) in EC_KEY_oct2key()
997 if (eckey->group == NULL || eckey->group->meth == NULL) in EC_KEY_priv2oct()
999 if (eckey->group->meth->priv2oct == NULL) { in EC_KEY_priv2oct()
1004 return eckey->group->meth->priv2oct(eckey, buf, len); in EC_KEY_priv2oct()
1034 if (eckey->group == NULL || eckey->group->meth == NULL) in EC_KEY_oct2priv()
1036 if (eckey->group->meth->oct2priv == NULL) { in EC_KEY_oct2priv()
1040 ret = eckey->group->meth->oct2priv(eckey, buf, len); in EC_KEY_oct2priv()
1084 if (eckey->group == NULL || eckey->group->meth == NULL in EC_KEY_can_sign()
1085 || (eckey->group->meth->flags & EC_FLAGS_NO_SIGN)) in EC_KEY_can_sign()