Hardcode broken parameters for now
This commit is contained in:
parent
563778716c
commit
6b64e0c18b
1 changed files with 5 additions and 0 deletions
5
main.c
5
main.c
|
@ -33,10 +33,15 @@ int main() {
|
||||||
|
|
||||||
enter_blink();
|
enter_blink();
|
||||||
|
|
||||||
|
#ifdef RANDOM
|
||||||
uint64_t p = gen_prime(1 << 15, 1 << 16);
|
uint64_t p = gen_prime(1 << 15, 1 << 16);
|
||||||
uint64_t q = p;
|
uint64_t q = p;
|
||||||
|
|
||||||
while (p == q) p = gen_prime(1 << 15, 1 << 16);
|
while (p == q) p = gen_prime(1 << 15, 1 << 16);
|
||||||
|
#else
|
||||||
|
uint64_t p = 56857;
|
||||||
|
uint64_t q = 47963;
|
||||||
|
#endif
|
||||||
|
|
||||||
uint64_t n = p * q;
|
uint64_t n = p * q;
|
||||||
uint64_t phi_n = (p - 1) * (q - 1);
|
uint64_t phi_n = (p - 1) * (q - 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue