Add optimized AES and SHA1 routines