[Files] OpenSSH v3.7.1p2 (Rev#2) | ANN.lu |
Posted on 23-Dec-2003 03:39 GMT by dcr8520 | 16 comments View flat View list |
As requested I've recompiled this version for 68020+ users. in addition
I have used the latest OpenSSL
version and removed ssh-rand-helper usage..this will speed up a bit the
programs.
Click to Download
|
|
List of all comments to this articleSorted by date, most recent at bottom |
Comment 1 | Fluke Slystalker | | 23-Dec-2003 05:46 GMT |
Comment 2 | Francois Prowse | | 23-Dec-2003 07:18 GMT |
Comment 3 | Fluke Slystalker | | 23-Dec-2003 07:27 GMT |
Comment 4 | Kolbjørn Barmen | | 23-Dec-2003 07:58 GMT |
Comment 5 | Piru | | 23-Dec-2003 08:21 GMT |
Comment 6 | Kolbjørn Barmen | | 23-Dec-2003 09:21 GMT |
Comment 7 | dcr8520 | | 23-Dec-2003 17:25 GMT |
|
OpenSSH v3.7.1p2 (Rev#2) : Comment 8 of 16 | ANN.lu |
Posted by dcr8520 on 23-Dec-2003 17:31 GMT | In reply to Comment 5 (Piru): as said Barmen, I have used OpenSSL, which in the function RAND_poll() (crypto/rand/rand_unix.c)
I've replaced the unix stuff with amiga-friendly, getting the data to seed from the list of
devices or the datestamp..and some crap from memory.
In addition to OpenSSL I have used the follow directly from OpenSSH ( entropy.c:seed_rng() )
[.......]
unsigned char buf[RANDOM_SEED_SIZE];
struct DateStamp ds;
if (RAND_status() == 1) {
debug3("RNG is ready, skipping seeding");
return;
}
DateStamp(&ds);
snprintf( buf, RANDOM_SEED_SIZE, "%ld", (long)( ds.ds_Tick << RangeRand(ds.ds_Tick)));
RAND_add(buf, sizeof(buf), sizeof(buf));
memset(buf, '\0', sizeof(buf));
if (RAND_status() != 1)
fatal("PRNG is not seeded");
[.......]
with both methods I think is sufficient to generate proper entropy (atleast works fine and fast ;) |
|
List of all comments to this article (continued) |
|
- User Menu
-
- About ANN archives
- The ANN archives is powered by #AmigaZeux. It was updated daily (news last: 22-Oct-2004; comments last: 18-May-2005).
ANN.lu was created, previously owned and maintained by Christian Kemp, www.ckemp.com.
- Contribute
- Not possible at this time!
- Search ANN archives
- Advanced search
- Hosting
- ANN.lu was hosted by Dreamhost. Sign up through this link, mention "ckemp" as referrer and he will get a 10% commission on any account you purchase.
Please show your appreciation for any past, present and future work on ANN.lu by making a contribution via PayPal.
|