Lines Matching defs:roundKey
693 function addRoundKey(state, roundKey) {
695 state[0][j] ^= (roundKey[j] & 0xFF); // and XOR
696 state[1][j] ^= ((roundKey[j]>>8) & 0xFF);
697 state[2][j] ^= ((roundKey[j]>>16) & 0xFF);
698 state[3][j] ^= ((roundKey[j]>>24) & 0xFF);
743 function jcRound(state, roundKey) {
747 addRoundKey(state, roundKey);
750 function inverseRound(state, roundKey) {
751 addRoundKey(state, roundKey);
757 function finalRound(state, roundKey) {
760 addRoundKey(state, roundKey);
763 function inverseFinalRound(state, roundKey){
764 addRoundKey(state, roundKey);