skom Posted March 16, 2016 Posted March 16, 2016 Hi,I have a Cubietruck with ARMBIAN Ubuntu 14.04.4 LTS 3.4.110-sun7i.I now want to use the Hardware acceleration for encryption. But I'm not able to do this and i have not found a lot of Information.I should load the sun4i_ss Kernel module, but i'm not able to find this on my cubietruck. Do I have to install an additional Package or do i have to compile the module by myself?By now my encryption is working by software: $ cat /proc/crypto name : ecb(arc4) driver : ecb(arc4-generic) module : kernel priority : 0 refcnt : 1 selftest : passed type : blkcipher blocksize : 1 min keysize : 1 max keysize : 256 ivsize : 0 geniv : <default> name : stdrng driver : krng module : kernel priority : 200 refcnt : 1 selftest : passed type : rng seedsize : 0 name : lzo driver : lzo-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : compression name : crc32c driver : crc32c-generic module : kernel priority : 100 refcnt : 2 selftest : passed type : shash blocksize : 1 digestsize : 4 name : zlib driver : zlib-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : pcomp name : deflate driver : deflate-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : compression name : arc4 driver : arc4-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : cipher blocksize : 1 min keysize : 1 max keysize : 256 name : aes driver : aes-generic module : kernel priority : 100 refcnt : 1 selftest : passed type : cipher blocksize : 16 min keysize : 16 max keysize : 32 name : twofish driver : twofish-generic module : kernel priority : 100 refcnt : 1 selftest : passed type : cipher blocksize : 16 min keysize : 16 max keysize : 32 name : des3_ede driver : des3_ede-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : cipher blocksize : 8 min keysize : 24 max keysize : 24 name : des driver : des-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : cipher blocksize : 8 min keysize : 8 max keysize : 8 name : sha1 driver : sha1-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : shash blocksize : 64 digestsize : 20 name : md5 driver : md5-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : shash blocksize : 64 digestsize : 16 name : md4 driver : md4-generic module : kernel priority : 0 refcnt : 1 selftest : passed type : shash blocksize : 64 digestsize : 16 I hope somebody can help me and knows how to activate the hardware encryption.Thanks for your Helpskom
tkaiser Posted March 16, 2016 Posted March 16, 2016 You would need to switch to mainline kernel but you don't want to do that since the module seems to be broken currently. Please compare with http://sunxi.montjoie.ovhand https://groups.google.com/forum/#!topic/linux-sunxi/InsDjSm3J6A%5B1-25%5D
disconnect Posted March 16, 2016 Posted March 16, 2016 If you want to use for disk encryption, then you should wait, as it's broken, and corrupts the files.
skom Posted March 25, 2016 Author Posted March 25, 2016 Thank you for the information and sorry for the late answer. It's sad that it's broken and i hope that it will be fixed soon... Where is the best way i can see, when a fix is released?
disconnect Posted March 25, 2016 Posted March 25, 2016 https://groups.google.com/forum/#!topic/linux-sunxi/InsDjSm3J6A probably when the developer gets an answer to this question: https://lkml.org/lkml/2016/3/13/64
disconnect Posted May 2, 2016 Posted May 2, 2016 Now with the patch which included in armbian 5.10 sunxi_ss seems to work correctly. 2
Recommended Posts