Re: Using fips AES OFB

2009-01-07 Thread Dr. Stephen Henson
On Wed, Jan 07, 2009, a_l t wrote: > Hi, > > I'm using the fips approved OpenSSL to do AES encryption in ISDN, therefore, > I need to use the fips_128_AES_OFB function. > If I understand correctly this function works on a 128bit (16 byte) block, > so if I want to use it on larger blocks I need to

Re: Using fips AES OFB

2009-01-07 Thread Ger Hobbelt
Don't know about FIPS, but this one should do it: /* The input and output encrypted as though 128bit ofb mode is being * used. The extra state information to record how much of the * 128bit block we have used is contained in *num; */ void AES_ofb128_encrypt(const unsigned char *in, unsigne

Using fips AES OFB

2009-01-07 Thread a_l t
Hi, I'm using the fips approved OpenSSL to do AES encryption in ISDN, therefore, I need to use the fips_128_AES_OFB function. If I understand correctly this function works on a 128bit (16 byte) block, so if I want to use it on larger blocks I need to call it in a loop. This is different from the A