Lines Matching refs:meth

55     if (ret->meth->set_group != NULL
56 && ret->meth->set_group(ret, ret->group) == 0) {
83 if (r->meth != NULL && r->meth->finish != NULL)
84 r->meth->finish(r);
90 if (r->group && r->group->meth->keyfinish)
91 r->group->meth->keyfinish(r);
111 if (src->meth != dest->meth) {
112 if (dest->meth->finish != NULL)
113 dest->meth->finish(dest);
114 if (dest->group && dest->group->meth->keyfinish)
115 dest->group->meth->keyfinish(dest);
128 src->group->meth);
152 if (src->group->meth->keycopy
153 && src->group->meth->keycopy(dest, src) == 0)
170 if (src->meth != dest->meth) {
176 dest->meth = src->meth;
179 if (src->meth->copy != NULL && src->meth->copy(dest, src) == 0)
215 if (eckey->meth->keygen != NULL) {
218 ret = eckey->meth->keygen(eckey);
232 ret = eckey->group->meth->keygen(eckey);
387 if (eckey->group->meth->keycheck == NULL) {
392 return eckey->group->meth->keycheck(eckey);
679 if (key->meth->set_group != NULL && key->meth->set_group(key, group) == 0)
701 if (key->group == NULL || key->group->meth == NULL)
716 if (key->group->meth->set_private != NULL
717 && key->group->meth->set_private(key, priv_key) == 0)
719 if (key->meth->set_private != NULL
720 && key->meth->set_private(key, priv_key) == 0)
797 if (key->meth->set_public != NULL
798 && key->meth->set_public(key, pub_key) == 0)
894 if ((key->group->meth->flags & EC_FLAGS_CUSTOM_CURVE) == 0)
902 if (eckey->group == NULL || eckey->group->meth == NULL)
904 if (eckey->group->meth->priv2oct == NULL) {
909 return eckey->group->meth->priv2oct(eckey, buf, len);
939 if (eckey->group == NULL || eckey->group->meth == NULL)
941 if (eckey->group->meth->oct2priv == NULL) {
945 ret = eckey->group->meth->oct2priv(eckey, buf, len);
991 if (eckey->group == NULL || eckey->group->meth == NULL
992 || (eckey->group->meth->flags & EC_FLAGS_NO_SIGN))