-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hello, is this parameter responsible for division in the code?
if(FLAG_DIVISOR == 0 ) {
mpz_init_set_ui(divisor,0);
}
mpz_init(inversemultiplier);
mpz_invert(inversemultiplier,divisor,EC.n);
gmp_printf("inversemultiplier : %Zx\n",inversemultiplier);
if(str_output) {
OUTPUT = fopen(str_output,"a");
if(OUTPUT == NULL) {
fprintf(stderr,"can't opent file %s\n",str_output);
OUTPUT = stdout;
}
}
else {
OUTPUT = stdout;
}
I just want to change it, add multiplication and subtraction. But I can’t understand what exactly is responsible for the division. When I try to add multiplication, the output is just zeros.
Metadata
Metadata
Assignees
Labels
No labels