Added CBC and CTR modes to AES.