[Swan-dev] hardware acceleration

Paul Wouters paul at nohats.ca
Tue Jun 19 16:45:49 UTC 2018


On Tue, 19 Jun 2018, Yotam Ramon wrote:

> We're working on hardware acceleration just for the encryption part.
> We will need Libreswan to start with the IKE protocol, and get the negotiated SA from that stage.
> Does anyone know how can i interface with Libreswans IKE daemon? Are there any hooks or something like that?

libreswan supports CONFIG_XFRM_OFFLOAD. That means you should only need
to write a proper kernel device driver for your device, and libreswan
will automatically use it after it detects a compatible hardware device.

No libreswan modifications are required.

Paul


More information about the Swan-dev mailing list