On 02/27/2013 01:45 AM, Zi Zhou wrote: > I am new to cryptodev and HW acceleration. So my question is very > basic. I have built cryptodev module and loaded to my kernel, the HW > crypto driver is in development by other party, I don't quite know > how the 2 glue together. Is there any extra logic needed? If the HW > crypto driver is not ready yet, does cryptodev knows to use kernel > software crypto library?
In kernels that support it cryptodev can provide the userspace with information (see SIOP_FLAG_KERNEL_DRIVER_ONLY) on whether the driver for a particular algorithm is hardware accelerated or not. GnuTLS uses that information and does not use software algorithms in kernel. regards, Nikos _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel