<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>You just reproduced it :)</div><div><br></div><div>Output for the file a.pem contains Private key, Public key and Parameter set; the one for tmp.pem does not.</div></blockquote><div><br></div><div>You are right, I was expecting some kind of error, and realized that there was something strange just after hitting the Send button, as usual!<br><br>Anyway, I think I found the problem, with the invaluable help of Billy Brumley in the backstage!<br><br>It's a bug in the current GFp_simple_ladder implementation that was not catched by existing regression testing.<br><br>I'll open a proper PR to fix this as soon as we finish to test the alternative implementation.<br><br>In the meantime you might open a proper issue in Github for this problem so that the bug will be properly tracked!</div><div><br></div><div><br></div><div>Thanks for reporting this,</div><div><br></div><div>Nicola Tuveri<br><br></div></div>