Changeset View
Changeset View
Standalone View
Standalone View
cipher/primegen.c
Context not available. | |||||
mpi_set_bit (prime, 0); | mpi_set_bit (prime, 0); | ||||
/* We use 64 Rabin-Miller rounds which is better and thus | /* We use 64 Rabin-Miller rounds which is better and thus | ||||
sufficient. We do not have a Lucas test implementaion thus we | sufficient. We do not have a Lucas test implementation thus we | ||||
can't do it in the X9.31 preferred way of running a few | can't do it in the X9.31 preferred way of running a few | ||||
Rabin-Miller followed by one Lucas test. */ | Rabin-Miller followed by one Lucas test. */ | ||||
while ( !check_prime (prime, val_2, 64, NULL, NULL) ) | while ( !check_prime (prime, val_2, 64, NULL, NULL) ) | ||||
Context not available. |