Re: [Ocf-linux-users] hardware acceleration question
Brought to you by:
david-m
|
From: Max <ma...@da...> - 2009-05-18 08:46:38
|
Hello. After additional investigation it appeared that cryptotest choose wrong crypto_driver: after manually changing crypto_newsession() in crypto.c as follows: for (hid = 1; hid < crypto_drivers_num; hid++)... // note that hid is starting with 1 - that's where desired driver was // registered I was able to run cryptotest on aes-7108 driver (only once however - after that /dev/crypto also disappeared). Unfortunately results were bad: I got "decrypt mismatch" error. The next question is - what is the "iv" parameter printed by cryptotest? In order to clarify situation a bit I'd like to use reference aes implementation and to do so I need to get cleartext, cyphertext and key. That's pretty obvious except where is the key in cryptotest operations? best regards, Max. |