Setup for key expansion