summaryrefslogtreecommitdiff
path: root/pkg/hostap/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-11-15 20:25:11 -0800
committerMichael Forney <mforney@mforney.org>2019-11-15 20:25:11 -0800
commit8d227327dfa4fff51e5a6cc74afdd89dfa742746 (patch)
tree91911644b01133eeaac02d2fdf19d2663051035a /pkg/hostap/gen.lua
parent933cf7fb10a2645901ae01d7274d974b54a1891f (diff)
hostap: Switch from OpenSSL crypto to BearSSL + internal
Diffstat (limited to 'pkg/hostap/gen.lua')
-rw-r--r--pkg/hostap/gen.lua19
1 files changed, 12 insertions, 7 deletions
diff --git a/pkg/hostap/gen.lua b/pkg/hostap/gen.lua
index 6a8e1724..7d66085a 100644
--- a/pkg/hostap/gen.lua
+++ b/pkg/hostap/gen.lua
@@ -2,12 +2,12 @@ cflags{
'-include $dir/config.h',
'-I $srcdir/src/utils',
'-I $srcdir/src',
- '-I $builddir/pkg/libressl/include',
+ '-I $buildidr/pkg/bearssl/include',
'-I $builddir/pkg/libnl/include',
}
pkg.deps = {
- 'pkg/libressl/headers',
+ 'pkg/bearssl/headers',
'pkg/libnl/headers',
}
@@ -26,8 +26,15 @@ exe('bin/wpa_supplicant', [[
wpa_common.c
)
src/crypto/(
- crypto_openssl.c
+ aes-internal-dec.c
+ aes-internal-enc.c
+ aes-internal.c
+ aes-unwrap.c
+ aes-wrap.c
+ crypto_bearssl.c
random.c
+ rc4.c
+ sha1-pbkdf2.c
sha1-prf.c
sha256-prf.c
tls_none.c
@@ -73,10 +80,8 @@ exe('bin/wpa_supplicant', [[
wpas_glue.c
)
libcommon.a
- $builddir/pkg/(
- libressl/libcrypto.a.d
- libnl/(libnl-3.a libnl-genl-3.a)
- )
+ $builddir/pkg/bearssl/libbearssl.a
+ $builddir/pkg/libnl/(libnl-3.a libnl-genl-3.a)
]])
file('bin/wpa_supplicant', '755', '$outdir/bin/wpa_supplicant')