There are lots of ways to do it, but it will depend entirely on your application and without more information we cannot possibly help you. Is data loaded into the AES module in 128-bit words, serially, or something in between? Are you storing the JPEG data in a ROM in your FPGA/ASIC or is it being input to the device, and if so, is the input serial or parallel?
This is systems engineering - you need to join a few different blocks together, and it's your job to come up with the glue that holds it all together. That's why we get paid the big bucks!