Title: algorithimLLL Post by: krashfire on January 22, 2023, 01:04:51 AM Hi, below is the full code i modified from
https://blog.trailofbits.com/2020/06/11/ecdsa-handle-with-care/ (https://blog.trailofbits.com/2020/06/11/ecdsa-handle-with-care/) Code:
it keeps giving a result that is not to the right address after my input and its not random results. it just stays on the same 4 result even though with K (random) and Private Key (random). thats fine but its not pointing to the correct address. my question is, 1)where i am going wrong with my code? 2)what should i add or change? ??? ??? ??? :'( 3) i tried different loop codes that checks the "try_private_key" to the public key but its not working. how do i add a proper loop code to check the private key against public key? please give your own input in the xxx boxes to understand what i meant. Thanks for your help. Title: Re: algorithimLLL Post by: ymgve2 on January 22, 2023, 09:28:20 AM You are using external signatures, which will not work unless you KNOW they are biased in the exact same way as the example. You are not using the k1, k2 and private key variables at all.
As with the previous fault injection code, you seem to just throw external signatures in the middle of a program and don't care or understand the purpose of the program. |