diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-16 19:38:59 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-19 23:11:31 +0100 |
commit | 2fc244a152cef280b88ca1c33a1258aec3bbdc4b (patch) | |
tree | 0ca3adef8e08db1db5f1e09ab5d54576d23d0635 /src/compat | |
parent | d43629d000c2367462bc61ab8c3685abac8f2227 (diff) |
blake2s: add AVX implementation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/Kbuild.include | 4 | ||||
-rw-r--r-- | src/compat/i387/include/asm/fpu/api.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index 905e268..769477c 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -9,3 +9,7 @@ ifeq ($(wildcard $(srctree)/include/net/dst_cache.h),) ccflags-y += -I$(src)/compat/dst_cache/include wireguard-y += compat/dst_cache/dst_cache.o endif + +ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h),) +ccflags-y += -I$(src)/compat/i387/include +endif diff --git a/src/compat/i387/include/asm/fpu/api.h b/src/compat/i387/include/asm/fpu/api.h new file mode 100644 index 0000000..f3f9117 --- /dev/null +++ b/src/compat/i387/include/asm/fpu/api.h @@ -0,0 +1 @@ +#include <asm/i387.h> |