Revert "Revert "defconfig: enable aes + sha1 crypto""

This reverts commit b9695e35083089f7e825f3129a6d8ad0b4f74866.
Revert "fixed build warnings"

This reverts commit 8de56d5a90a05dbd1993bea41a18ab60eef2bc79.