Fixed race condition in keyschedule.
ICipher, const methods.