linux/drivers/staging/ks7010
YueHaibing 3e5bc68fa5 staging: ks7010: Fix build error
when CRYPTO is m and KS7010 is y, building fails:

drivers/staging/ks7010/ks_hostif.o: In function `michael_mic.constprop.13':
ks_hostif.c:(.text+0x560): undefined reference to `crypto_alloc_shash'
ks_hostif.c:(.text+0x580): undefined reference to `crypto_shash_setkey'
ks_hostif.c:(.text+0x5e0): undefined reference to `crypto_destroy_tfm'
ks_hostif.c:(.text+0x614): undefined reference to `crypto_shash_update'
ks_hostif.c:(.text+0x62c): undefined reference to `crypto_shash_update'
ks_hostif.c:(.text+0x648): undefined reference to `crypto_shash_finup'

Add CRYPTO and CRYPTO_HASH dependencies to fix this.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 8b523f2041 ("staging: ks7010: removed custom Michael MIC implementation.")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-21 16:46:17 +02:00
..
eap_packet.h staging: ks7010: remove not used definition WPA_CAPABILITY_PREAUTH 2018-05-14 14:07:05 +02:00
Kconfig staging: ks7010: Fix build error 2019-06-21 16:46:17 +02:00
ks7010_sdio.c staging: ks7010: Remove initialisation in ks7010_sdio.c 2019-05-30 14:09:46 -07:00
ks_hostif.c staging: ks7010: Merge multiple return variables in ks_hostif.c 2019-05-30 14:09:46 -07:00
ks_hostif.h staging: ks7010: change some casts from uint8_t to u8 in ks_hostif header 2018-05-06 18:58:38 -07:00
ks_wlan_ioctl.h staging: ks7010: add SPDX identifiers to all files 2018-05-06 18:58:36 -07:00
ks_wlan_net.c Staging: ks7010: Replace typecast to int 2019-03-01 09:05:01 +01:00
ks_wlan.h staging: ks7010: Remove unused define 2018-05-15 09:31:38 +02:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO staging: ks7010: removed custom Michael MIC implementation. 2019-02-28 19:14:53 +01:00