Added optimized AES and SHA1 routines