From b2d02587fcd86f0c3910441d58c94dd0c9fea5b5 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 15 Sep 2012 08:55:50 +0200 Subject: Add support for kernel AES implementations This gives AES128 a slight boost on my system, but it is still slower than XSalsa20... I should probably write userspace code that can make use of AES-NI and CLMUL. Or directly jump to the kernel space with the whole forwarding code. Nevertheless, this might run nicely on Geode CPUs and similar hardware with AES acceleration, at least if the context switches aren't too expensive... --- src/fastd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index 80ec0d2..3981f46 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -216,6 +216,7 @@ struct _fastd_context { int sock6fd; int algfd_ghash; + int algfd_aesctr; size_t eth_addr_size; size_t n_eth_addr; -- cgit v1.2.3