Re: [twsocket] One Time Passwords

2007-11-14 Thread Francois PIETTE
> However I wonder how you translate the stuff below? > > /* > * copy the resulting 64 bits to the result buffer in little endian > * fashion (analogous to the way MD4Final() and MD5Final() do). > */ > for (i = 0, j = 0; j < 8; i++, j += 4) > { > result[j] =

Re: [twsocket] One Time Passwords

2007-11-14 Thread Angus Robertson - Magenta Systems Ltd
I've emailed you the OTP test program, maybe you can see something I've missed. > However I wonder how you translate the stuff below? > > copy the resulting 64 bits to the result buffer in little > endian fashion I think some of this stuff is Unix specific. Angus -- To unsubscribe or chan

Re: [twsocket] One Time Passwords

2007-11-14 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: > I've got opt-md5 working in the ICS FTP client (and shortly the FTP > server), but opt-md4 and opt-sha1 are not generating the expected > results. Just a little test with MD4, Count 0 gave me the expected result: MD4Init(Md4Ctx); Md4Update(Md4Ct

[twsocket] One Time Passwords

2007-11-14 Thread Angus Robertson - Magenta Systems Ltd
Has anyone implemented One Time Passwords (RFC2289) using the ICS hash components? I've got opt-md5 working in the ICS FTP client (and shortly the FTP server), but opt-md4 and opt-sha1 are not generating the expected results. Angus -- To unsubscribe or change your settings for TWSocket maili