Adding more RTL code to properly integrate and run the cipher.