Hi, Am Mittwoch, 17. Februar 2016 18:16:09 UTC+1 schrieb txsa...@gmail.com: > Hi > > I have a Cubieboard2 device, is Allwinner A20 SOC, running and Armbian 5.00 > with kernel 4.4.1. > > As in the latest version the sun4i-ss module is added, i tried the hardware > crypto acceleration with my 2 TB LUKS encrypted HDD, with 256bit > AES-CBC-PLAIN64 encryption. > > It was fast, but i noticed that when playing videos from that HDD, there are > random errors coming from somewhere. As the same happened when streaming the > video on DLNA, and SAMBA, i did some tests. > > As the HDD is also used for a backup storage, i compared the original files > with the backup on the encrypted HDD, and the most of the bigger files were > different. > > So i've unloaded sun4i-ss module with "rmmod sun4i_ss" and everything become > OK, no video errors, the backup and the original files are identical. > > So there is something wrong with this module, as i see only the decryption > side is faulty, the encryption seems to be OK. > > Any suggestions?
If there are any easy-to-setup tests I could run to help identify this issue, I'd be happy to run some tests on a spare Banana Pi I have. If there really is a bug in the sun4i-ss driver or in the accelerator itself that causes data corruption, I'd rather have it found as soon as possible. @Correntin: Is it possible to let your cryptotest testsuite run tests specifically for large data blocks? Regards, Timo -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.