2023-02-06 13:53:02 -08:00
|
|
|
#ifndef SECP256K1_MODULE_BPPP_MAIN_H
|
|
|
|
#define SECP256K1_MODULE_BPPP_MAIN_H
|
2022-10-25 23:29:26 -07:00
|
|
|
|
2023-02-06 13:53:02 -08:00
|
|
|
/* this type must be completed before any of the modules/bppp includes */
|
|
|
|
struct secp256k1_bppp_generators {
|
2022-10-25 23:29:26 -07:00
|
|
|
size_t n;
|
|
|
|
/* n total generators; includes both G_i and H_i */
|
|
|
|
/* For BP++, the generators are G_i from [0..(n - 8)] and the last 8 values
|
|
|
|
are generators are for H_i */
|
|
|
|
secp256k1_ge* gens;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|