i was not able to build RTL8821CU driver, keep getting the following error :
/usr/bin/aarch64-linux-gnu-ld: drivers/net/wireless/rtl8811cu/core/crypto/aes-internal-enc.o: in function `aes_encrypt':
aes-internal-enc.c:(.text+0x74): multiple definition of `aes_encrypt'; lib/crypto/aes.o:(.text+0x7c4): first defined here
make: *** [Makefile:1286: vmlinux] Error 1
There seems to be a duplicate implementation of aes_encrypt function between rtl8811cu source code and linux_rockchip64 kernel source code which blocking the armbian build.
any suggestion how to fix this ?