[Ocf-linux-users] Support for stream cipher in OCF
Brought to you by:
david-m
|
From: Rakshith R. <rak...@gm...> - 2015-03-16 14:42:30
|
Hi,
I am using OCF. I downloaded ocf-20120127 and applied patch to
linux-3.12 kernel, generated cryptodev.ko and cryptosoft.ko, did insmod in
the development board. The problem I am facing is in the development board
I can use only CBC mode of AES alogorithm. It is failing in stream cipher
modes like CFB or OFB. When I give command 'openssl speed -evp
aes-256-cfb' in command line, instead of hardware mode the command got
executed in software mode.
when I looked into the source code, in file ocf/c7108/aes-7108.c, in
the function c7108_newsession() all other ciphers modes except CBC are
commented out. Is the problem I am facing because of this. Or any other
modification required?
Thank you,
Rakshith Rao M,
|