I would like to use AES-192 in all modes, including ECB and CBC.

For example with ECB :
My ECB object is created with KeyLength = 24 by 
        ECB_Mode<AES >::Encryption Enc(key, KeyLength, NULL);

When entering BlockOrientedCipherModeBase::ProcessData I get an error
because of 
        unsigned int s = BlockSize();
        assert(length % s == 0); 

since here s is equal to 16 instead of 24.
Is it possible to work with blocks having a length multiple of 8, but not of
16 ?

With the same functions AES-128 and AES-256 work perfectly.

Thanks in advance

Regards,



-- 
C�dric Mallet 

Reply via email to