Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-14 Thread Ben Laurie
Dr S N Henson wrote: Ben Laurie wrote: Dr S N Henson wrote: Eh? Isn't the IV length the same as the block length? Nope. Rijndael's biggest IV is 16 bytes, but the biggest block is 32 bytes. I haven't checked why, so if someone wants to enlighten me... Well they can

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-14 Thread Richard Levitte - VMS Whacker
From: Ben Laurie [EMAIL PROTECTED] ben Hmmm ... is there a Zipalike for *nix? zip and unzip from Info-ZIP :-). -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-14 Thread Lutz Jaenicke
On Tue, Nov 14, 2000 at 02:56:31PM +, Ben Laurie wrote: Note that I've only implemented ECB mode so far - ISTR the gamut of block/key sizes for other modes is more restrictive - but I can't check coz I'm in SF, the Rijndael source on the web is PKZipped, I forgot to put (the rest of) it

RE: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-13 Thread Svenning Soerensen
[Sorry if this is a duplicate - I seem to have problems sending mail] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rob Neff Eh? Isn't the IV length the same as the block length? Nope. Rijndael's biggest IV is 16 bytes, but the biggest

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-12 Thread Dr S N Henson
Ben Laurie wrote: [EMAIL PROTECTED] wrote: /* read in at offset 8, read the EVP_Cipher * documentation about why */ - i=BIO_read(b-next_bio,(ctx-buf[8]),ENC_BLOCK_SIZE); +

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-12 Thread Ben Laurie
Dr S N Henson wrote: Ben Laurie wrote: [EMAIL PROTECTED] wrote: /* read in at offset 8, read the EVP_Cipher * documentation about why */ - i=BIO_read(b-next_bio,(ctx-buf[8]),ENC_BLOCK_SIZE); +

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-12 Thread Ben Laurie
Dr S N Henson wrote: [EMAIL PROTECTED] wrote: Index: evp.h === RCS file: /e/openssl/cvs/openssl/crypto/evp/evp.h,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- evp.h

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-12 Thread Dr S N Henson
Ben Laurie wrote: Dr S N Henson wrote: Eh? Isn't the IV length the same as the block length? Nope. Rijndael's biggest IV is 16 bytes, but the biggest block is 32 bytes. I haven't checked why, so if someone wants to enlighten me... Well they can enlighten me too then. I can't see

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-12 Thread Rob Neff
Eh? Isn't the IV length the same as the block length? Nope. Rijndael's biggest IV is 16 bytes, but the biggest block is 32 bytes. I haven't checked why, so if someone wants to enlighten me... I too was under the assumption that the IV in use needed to be the same size as the block

Re: cvs commit: openssl/crypto/evp bio_enc.c evp.h

2000-11-11 Thread Ben Laurie
[EMAIL PROTECTED] wrote: /* read in at offset 8, read the EVP_Cipher * documentation about why */ - i=BIO_read(b-next_bio,(ctx-buf[8]),ENC_BLOCK_SIZE); + i=BIO_read(b-next_bio,(ctx-buf[BUF_OFFSET]),ENC_BLOCK_SIZE); BTW, AFAICS,