ktls / af_ktls

Linux Kernel TLS/DTLS Module
GNU General Public License v2.0
159 stars 25 forks source link

Support async crypto API #94

Open djwatson opened 8 years ago

djwatson commented 8 years ago

For KTLS only there is no need for async crypto API, since all encryption and decryption is called from userspace (the only time cryptd is used is if in bh context).

Unfortunately it looks like KCM + KTLS may call decrypt in bh context sometimes, so at least decrypt it may be necessary to set the proper async crypto callback.