[GitHub] [incubator-milagro-crypto-c] mcarrickscott commented on issue #90: Incorrect RSA private key generation and potentials for fault attack

2021-03-28 Thread GitBox
mcarrickscott commented on issue #90: URL: https://github.com/apache/incubator-milagro-crypto-c/issues/90#issuecomment-808917572 You make a fair point. A particular solution in the context of interoperation with OpenSSL would be to copy p,q,dp, dq and c directly into the Milagro

[GitHub] [incubator-milagro-crypto-c] mcarrickscott commented on issue #90: Incorrect RSA private key generation and potentials for fault attack

2021-03-28 Thread GitBox
mcarrickscott commented on issue #90: URL: https://github.com/apache/incubator-milagro-crypto-c/issues/90#issuecomment-808887175 The problem here is that p=1 mod 4 and q=3 mod 4 The Milagro code only works for primes that are 3 mod 4,and the primes it generates internally are all