On Fri, Jul 30, 2004 at 04:58:06AM +0300, Timo Sirainen wrote:
On Wed, 2004-07-28 at 22:57 +1000, Joshua Goodall wrote:
The attached files are a draft merge of the two, and the two new functions would be used by password-scheme-cram-md5.c and mech-cram-md5.c (and also wipe the ipad/opad after use). WARNING: Since Andrey's code isn't committed yet, I haven't tried to compile them, but this is how they should look, notwithstanding possible typos or missed #includes.
Committed. Did I break them?
You understood my intention 100%. It looks good in the dovecotpw verify mode and I'll test cram-md5 itself later. BTW, Andrey supplies hmac_md5_update(ctxptr, ...) for API cleanliness so you don't have to do md5_update(&ctx.ctx, ...).
regards Joshua.
-- Joshua Goodall "as modern as tomorrow afternoon" joshua@roughtrade.net - FW109