Skip to content

AES CTR via Linux kernel Crypto API

Gijs Peskens requested to merge gpeskens/librist:linux-crypto-api into master

Uses the linux crypto API for AES CTR encryption, instead of builtin C code when on Linux, this allows usage of AES-NI when available, or falls back to kernel assemly or c routines otherwise. Based on libkcapi reference implementation.

Reduces CPU usage on test system from ~50% to ~8% when receiving a 18mbit stream.

Tested: receive Not tested (should work): send

Merge request reports

Loading