Open the AES and SHA1 routines