|
-
July 25th, 2012, 02:52 AM
#4
Re: RSA modular exponentation sending out wrong modules
 Originally Posted by EmaGht
Sure i did. Everything is just fine untile the call to that LongMod.
Sometimes it works and sometimes the result get messed up, even if inside that function everything works properly.
If everything would be "just fine" then you hadn't got any problems at all! If you get - then something is NOT fine. 
Besides:
- You mentioned some function, but haven't shown it.
- Your PotenzaModulare function produces memory leaks (a lot of malloc calls but there is no any free)
- Is there any very important reason for you to write plain C code avoiding all the advantages (like std and/or MFC container classes) that C++/VC++ give you?
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|