def METHOD_NAME(key, counter, nonce, rounds):
    """Generate a state of a single block"""
    state = ChaCha.constants + key + [counter] + nonce
    working_state = state[:]
    dbl_round = ChaCha.double_round
    for _ in range(0, rounds // 2):
        dbl_round(working_state)
    return [(st + wrkSt) & 0xffffffff for st, wrkSt
            in izip(state, working_state)]