On Thu, Feb 25, 2016 at 04:20:23AM -0800, txsan...@gmail.com wrote:
> 2016. február 17., szerda 18:16:09 UTC+1 időpontban txsa...@gmail.com a 
> következőt írta:
> > 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?
> 
> I mean at first test, when i've noticed that the files are wrong, i've copied 
> some originial and overwritten the wrongly decrypted files. Then i've 
> compared them and were identical. But after a restart of cubieboard, 
> re-mount, re-check the diff showed differences again, probably because first 
> time the file is read from cache, and not from the disk.
> 

Hello

I have added sync/dropcache in my lukstest tool.
But I still didnt trigger the problem.

Regards

LABBE Corentin

-- 
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.

Reply via email to