I'm trying to use the HW AES acceleration on BBB with dm-crypt. So far my results have been mixed (see also https://github.com/beagleboard/kernel/issues/68):
While it didn't work at all on 3.8 kernels, with 3.12 kernels there were no errors, but I could not find any indications that dm-crypt is using the HW AES and the performance was less then expected (about 13MB/s measured with the methods described in the TI wiki linked below). I then tried the 3.2 kernel from TI: http://processors.wiki.ti.com/images/8/80/Enabling_DM_Crypt_V4_SDK6_00.pdf Unfortunately, I again could not reach the performance described here (about 13MB/s): http://processors.wiki.ti.com/index.php/AM335x_Crypto_Performance#AM335x_1GHz_OPP_Frequency but the method described in the PDF to verify that the HW AES is used suggested that it was the case (lots of edma interrupts generated). Now I'm a bit surprised: I've switched to the newest Ubuntu saucy image from Robert (again with a 3.12 kernel installed), and the performance is way higher (above 20MB/s) than listed in the TI wiki for HW accelerated dm-crypt, but this is again seems to be without the HW AES being used (performance does not depend on HW AES driver enabled/no edma interrupts generated even if it is enabled). If anyone has thoughts or comments on this, I'd be happy to hear them. In the meantime I'll try to investigate further. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
