This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, jfine2358, mark.dickinson, remi.lapeyre, rhettinger, serhiy.storchaka, steven.daprano, tim.peters, trrhodes
Date 2020-05-05.13:24:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588685046.19.0.203138483399.issue40028@roundup.psfhosted.org>
In-reply-to
Content
It seems we agree that prime functions only appear to be easy until you realize that they are far from trivial. :)

+1 to require a PEP. I'm happy to give my feedback on crypto and security-related part of the feature.

OpenSSL now uses 64 MR rounds for small and 128 for larger primes (https://github.com/openssl/openssl/blob/278260bfa238aefef5a1abe2043d2f812c3a4bd5/crypto/bn/bn_prime.c#L87-L99) and trial divisions to update to 2048 tests (https://github.com/openssl/openssl/blob/278260bfa238aefef5a1abe2043d2f812c3a4bd5/crypto/bn/bn_prime.c#L70-L85).
History
Date User Action Args
2020-05-05 13:24:06christian.heimessetrecipients: + christian.heimes, tim.peters, rhettinger, mark.dickinson, steven.daprano, serhiy.storchaka, remi.lapeyre, jfine2358, trrhodes
2020-05-05 13:24:06christian.heimessetmessageid: <1588685046.19.0.203138483399.issue40028@roundup.psfhosted.org>
2020-05-05 13:24:06christian.heimeslinkissue40028 messages
2020-05-05 13:24:06christian.heimescreate