Yea, that's what the AES implementation does.