I suppose the value of ivec could be a random value, but because you are using a block cipher I am not sure about the size of the ivec. I have not personally used this function you can probably ask Dr. Hensen for help. Sorry I could help anymore.
 
 

Paul Khavkine wrote:

So what is it supposed to be?
Can it be random or does it have to be specific values?

Thanx
Paul

Houman Ghaemi wrote:

> I am no expert in cryptography, but what you pointed out must be the
> initial vector. Because you are using Blowfish in CBC mode you need a
> block of data before you can start the encryption. That block of data
> is called initial vector as far as I know(hence ivec).
>
> Paul Khavkine wrote:
>
>> I'm fooling around trying to figure out how to use the OpenSSL C
>> API.
>> I've read the docs and some things are clear some are not.
>> In the functions BF_cbc_encrypt() what is the ivec variable.
>> What does it do and what is it for and what is it supposed to do?
>>
>> Thanx for any help.
>> Paul
>>
>> ____
>> _________________________________________________________________
>> OpenSSL Project
>> http://www.openssl.org
>> User Support Mailing List
>> [EMAIL PROTECTED]
>> Automated List Manager
>> [EMAIL PROTECTED]
>
> --
> ___________________________________________________________________
> Houman Ghaemi                       www.stormix.com
> Software Developer                  Tel: (604) 688-9137
> email: [EMAIL PROTECTED]
>
>

______________________________________________________________________
OpenSSL Project                                http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

-- 
___________________________________________________________________
Houman Ghaemi                       www.stormix.com     
Software Developer                  Tel: (604) 688-9137
email: [EMAIL PROTECTED]
 


Reply via email to