231 if (dest->
seed == NULL)
255 if (a == NULL)
return NULL;
286 if (generator == NULL)
304 if (cofactor != NULL)
388 memcpy(group->
seed, p, len);
428 #ifndef OPENSSL_NO_EC2M
476 BIGNUM *a1, *a2, *a3, *b1, *b2, *b3;
550 void *(*dup_func)(
void *),
void (*
free_func)(
void *),
void (*clear_free_func)(
void *))
557 for (d = *ex_data; d != NULL; d = d->
next)
587 void *(*dup_func)(
void *),
void (*
free_func)(
void *),
void (*clear_free_func)(
void *))
591 for (d = ex_data; d != NULL; d = d->
next)
602 void *(*dup_func)(
void *),
void (*
free_func)(
void *),
void (*clear_free_func)(
void *))
609 for (p = ex_data; *p != NULL; p = &((*p)->next))
611 if ((*p)->dup_func == dup_func && (*p)->free_func ==
free_func && (*p)->clear_free_func == clear_free_func)
626 void *(*dup_func)(
void *),
void (*
free_func)(
void *),
void (*clear_free_func)(
void *))
633 for (p = ex_data; *p != NULL; p = &((*p)->next))
635 if ((*p)->dup_func == dup_func && (*p)->free_func ==
free_func && (*p)->clear_free_func == clear_free_func)
773 if (a == NULL)
return NULL;
776 if (t == NULL)
return(NULL);
859 #ifndef OPENSSL_NO_EC2M
893 #ifndef OPENSSL_NO_EC2M
923 return group->
meth->
add(group, r, a, b, ctx);
939 return group->
meth->
dbl(group, r, a, ctx);
1032 for (i = 0; i <
num; i++)
1034 if (group->
meth != points[i]->
meth)
1055 return ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
1057 return group->
meth->
mul(group, r, scalar, num, points, scalars, ctx);
1066 const BIGNUM *scalars[1];
1069 scalars[0] = p_scalar;
1071 return EC_POINTs_mul(group, r, g_scalar, (point != NULL && p_scalar != NULL), points, scalars, ctx);