[crypto] Make AES context size and algorithm structure externally available