config: enable optimized AES and SHA1 routines