From 541ee8295e0fe1b7c51fa4aee74aaa12f696860b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 15 Sep 2012 07:25:56 +0200 Subject: Add support for using kernel implementations of GHASH This doesn't really improve performance on my Intel CPU (I guess due to the context switches), but more tests have to be made, in combination with offloading the AES to the kernel as well, and on different hardware. --- src/fastd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index e1c531b..80ec0d2 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -215,6 +215,8 @@ struct _fastd_context { int sockfd; int sock6fd; + int algfd_ghash; + size_t eth_addr_size; size_t n_eth_addr; fastd_peer_eth_addr *eth_addr; -- cgit v1.2.3