Sets the generator and its order/cofactor of a EC_GROUP object.
Synopsis
Declared in <openssl/ec.h>
int
EC_GROUP_set_generator(
EC_GROUP* group,
EC_POINT const* generator,
BIGNUM const* order,
BIGNUM const* cofactor);
Return Value
1 on success and 0 if an error occurred
Parameters
Name |
Description |
group |
EC_GROUP object |
generator |
EC_POINT object with the generator. |
order |
the order of the group generated by the generator. |
cofactor |
the index of the sub‐group generated by the generator in the group of all points on the elliptic curve. |
Created with MrDocs