Abstract:
A processing system is disclosed along with a concept for controlling access of a processing unit of the processing system to firmware code. It is proposed to identify a valid key stored in a first region of memory based on validation data of a second region of the memory, the validation data indicating whether a key is valid or not. The firmware code is processed in accordance with a predetermined verification algorithm to compute a verification value for the firmware code. The verification value and the valid key are analysed to determine if the firmware code is trusted. Access of the processing unit to the firmware code is controlled based on whether the firmware code is determined to be trusted or not.

Description:
FIELD OF THE INVENTION 
       [0001]    This invention relates to processing systems, and more particularly to controlling access of a processing unit of a processing system to firmware stored by the processing system. 
       BACKGROUND 
       [0002]    Security is an important consideration for processing systems such as microcontrollers. For example, it may be desirable to ensure that a processor only executes a specific task which is described by a piece of executable program code (or equivalent set of instructions, such as a script for example). However, the code and/or execution of the code may be subject to attacks. Attacks may include any of the following exemplary list:
       unauthorized modification of stored program code;   modification of code during execution;   code dumping (e.g. reading out code for the purposes of reverse engineering);   unauthorized changing of memory access privileges;   execution of unauthorized code from data segments       
 
         [0008]    Firmware, for example basic input/output system (BIOS) code or core system software code, is typically operative to recognize and initialize hardware subsystems and components of a processing system or electronic device. Consequently, reverse engineering of firmware by a third-party may provide indications of hardware architecture of a system employing the firmware integrated circuit. Also, successful attacks (such as those listed above) on firmware may enable a third-party to alter the operation of a processing system, prevent the processing system from operating correctly, and/or transmit viruses to components or other systems/devices. 
         [0009]    It is known to protect firmware using hardware-based security, such as storing firmware in non-volatile memory (such as Read-Only-Memory, ROM, for example) so that it cannot be modified within the memory. However, this may not provide adequate protection from a third-party accessing the firmware and analysing it for undesired or unauthorized purposes. 
         [0010]    It is known to provide a security feature known as “Secure Boot” on embedded devices that attempts to ensure that processor only executes firmware that is authorized by the issuer of the device. The Secure Boot process employs a cryptographic key to verify the integrity of the firmware. The integrity of firmware is verified using a verification algorithm which performs a function on the firmware and checks the outcome of the function against a cryptographic key. If the verification algorithm verifies the integrity of firmware, the processor is allowed to execute the firmware. 
         [0011]    The Secure Boot concept thus attempts to provide protection against passive attacks or software attacks that happen before a reset, for example, in the absence of exploitable bugs in the firmware. To comply with such a security model, the Secure Boot relies on a root of trust in hardware. 
         [0012]    The conventional Secure Boot concept has the following shortcomings:
       Firmware verification key requires more One-Time Programmable (OTP) memory: Using a verification key requires much more OTP memory and/or requires the use of a cryptographic algorithm which is uncommon in low cost devices, even in software. For instance, an exemplary signature may require 2048-bit keys in order to be considered secure for the next two or three decades.   There is a risk of key compromise: Even if the underlying cryptographic algorithm is strong, the key may still be compromised, due to improper protection and/or incorrect handling during a firmware update, for example. The robustness of the Secure Boot mechanism thus relies on the robustness of the procedures put in place to protect the confidentiality of the key. If the key is compromised, it may not be possible to prevent unauthorized firmware from being executed.       
 
       BRIEF SUMMARY OF THE INVENTION 
       [0015]    According to an embodiment of the invention, there is provided a method of controlling access of a processing unit of a processing system to firmware code stored by a memory of the processing system, the method comprising the steps of: identifying a valid key stored in a first region of memory based on validation data of a second region of the memory, the validation data indicating whether a key is valid or not; processing the firmware code in accordance with a predetermined verification algorithm to compute a verification value for the firmware code; analysing the verification value and the valid key to determine if the firmware code is trusted; and controlling access of the processing unit to the firmware code based on whether the firmware code is determined to be trusted or not. 
         [0016]    Thus, there is proposed a concept for controlling access to firmware code of a processing system. Embodiments may employ multiple keys which provide embedded and secured firmware execution within a system-on-chip system. Embodiments may therefore restrict or prevent execution of firmware code. 
         [0017]    In an embodiment, if it is determined that the firmware code is not trusted, validation data of the second region of memory may be modified to indicate that the key is no longer valid. Thus, a compromised key may be detected and preventative action taken so as to render the compromised key invalid. 
         [0018]    A plurality of keys may be employed so that a new key can be used after a previous key has been compromised or has expired. This may allow embodiments to remain functional and secure for longer time periods than systems employing conventional security concept such as Secure Boot. 
         [0019]    The validation data of the second region of memory may simply comprise a flag or bit value for each key which indicates whether the key is valid or not. Also, the second region of memory may comprise one-time programmable memory so that once validation data has been modified (e.g. to indicate that a key is not valid) it cannot be modified further. This may help to prevent the validation data being unauthorised modification. 
         [0020]    In an embodiment, it may be determined that the valid key is an end-of-life key which indicates that there are no more valid keys stored in the first region of memory. If it is determined that the valid key is an end-of-life key, a predetermined end-of-life algorithm may be executed. In this way, embodiments may employ a concept which addresses a situation where all keys have been compromised. The end-of-life algorithm may, for example, permanently disable the processing system so that is can no longer be used. 
         [0021]    In embodiments, the first region of memory may comprise non-volatile memory, and the second region of memory may comprise OTP memory. Use of OTP memory for the second region of memory may enable validation data to be modified only a single time so as to allow key validity to be changed from valid to invalid and then no longer changed after that. Thus, it may be possible to invalidate a key (assuming they are all marked valid after issuance), but then impossible to revert the operation (e.g. to validate a key that has been marked ‘invalid’). This may help to ensure that the keys remain invalidated even in the case of software attacks. 
         [0022]    Trusted memory of the processing system may comprise ROM so that it is protected from being modified using hardware-based security. 
         [0023]    According to another aspect of the invention there is provided a computer program product for controlling access of a processing unit of a processing system to firmware code stored by a memory of the processing system. The computer program product may comprise a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code configured to perform all of the steps of a method according to an embodiment of the invention. 
         [0024]    According to yet another aspect of the invention there is provided a processing system according to independent claim  11 . 
         [0025]    The system may be adapted to modify data of the second memory region so that the key is no longer valid if it is determined that the firmware code is not trusted. 
         [0026]    In embodiments, the system may be adapted to determine if the valid key is an end-of-life key indicating that there are no more valid keys stored in the first memory region. If it is determined that the valid key is an end-of-life key, the system may execute a predetermined end-of-life algorithm. 
         [0027]    The processing system may be a microcontroller, a microprocessor, a microchip or a processing platform. Therefore the processor may be a central processing unit (CPU) or a processor core. 
         [0028]    Proposed embodiments may employ components that are typically present in a processing system (a processor unit or CPU, memory, and peripherals, all connected by a communication bus/bridge). 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0029]    Preferred embodiments of the present invention will now be described, by way of example only, with reference to the following drawings in which: 
           [0030]      FIG. 1  is a schematic block diagram depicting the memory regions of a processing system employing a conventional Secure Boot process; 
           [0031]      FIG. 2  is a schematic block diagram depicting the memory regions of a processing system according to an embodiment; 
           [0032]      FIG. 3  depicts an example of invalidating a key according to an embodiment; 
           [0033]      FIG. 4  is a flow diagram of a method according to an embodiment; 
           [0034]      FIG. 5  is a flow diagram of a method according to another embodiment; and 
           [0035]      FIG. 6  is a schematic block diagram of a system according to an embodiment of the invention. 
       
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
       [0036]    Here, reference to firmware code should be understood to mean a combination of persistent memory and program code and data stored in it, such as the BIOS code or core system software code for a processing system, which is typically provided in non-volatile memory by the manufacturer or supplier of the processing system. Firmware code is different from application code in that application code is typically designed to implement higher-level or supplementary functions in addition to the function(s) provided by firmware code, and application code is typically a set of machine-readable instructions (most often in the form of a computer program) stored on volatile memory that directs a processor to perform specific operations. Thus, firmware code is typically permanently stored in hardware (specifically in non-volatile memory), whereas application code is typically stored in volatile or programmable memory so that can be modified. 
         [0037]    Put another way, firmware code is inherited by a hardware implementation, independent from its application. Two different types of services are supported by firmware code: Low-Level services, including generic interface control handling and the hardware abstraction layer (register control, power management, etc.); and Secure private functions, including a boot sequence, services protected (e.g. access-restriction) from an end user, and system supervision. This code is typically protected from an end user (to prevent unauthorised modification for example). 
         [0038]    Conversely, application code is dedicated to a final use of the processing system, independent from the hardware implementation solution. Any application code can be developed by reusing the low-layer level functions (part of firmware code). 
         [0039]    In the next section, we consider the case of low cost embedded devices with a single central processor (or CPU), a Boot Read-Only Memory (ROM) region, and a One-Time-Programmable (OTP) memory region. The Boot ROM is the initial hardware root of trust. The Boot ROM will typically contain bootstrap software that is executed by the processor right after reset. Since the bootstrap software is stored in ROM that is protected from modification, there may be no need to verify the boot strap software. The role of the OTP memory is similar to Boot ROM (e.g. to provide a hardware root of trust), but is programmable (a single time) so that the manufacturer may configure options or parameters of the system. Without OTP, there may be no diversity between devices and, thus, all CPUs with the same Boot ROM may only boot one and the same firmware. The kind of OTP memory may depends on the actual security model. Typically, OTP memory only supports bit programming in one direction (e.g. from 1 to 0), and there is usually an additional OTP Lock flag in OTP memory that prevents further writing in OTP after it has been programmed. There is no way to revert the locking by any software or hardware means. 
         [0040]    On-chip solutions (e.g. ROM and OTP on the same die or at least in the same package as the CPU) may offer better protection than off-chip solutions (e.g. separate discrete components), but if one only considers software attacks, both solutions are identical. 
         [0041]    Referring now to  FIG. 1 , there is firstly provided a high-level description of the conventional Secure Boot process as programmed in the Boot ROM  10 . This conventional security approach relies on the computation of a “digest” (or authentication value) of the firmware binary code  20 , and then the comparison of that digest with a reference key value stored in OTP  30 . To provide significant protection, the digest function is preferably a state-of-the-art cryptographic one-way function (for example, a so-called cryptographic hash function like the SHA-1/2/3 standards), and such that: (i) it is extremely difficult to find two binaries that gives the exact same digest value; and (ii) it is extremely difficult given a digest value to find a binary that gives that same value after hashing, 
         [0042]    The proposed concept may provide same flexibility as the conventional Secure Boot process depicted in  FIG. 1 , but may also allow reaction in case of key compromise. Furthermore, it may only require a little more OTP memory than the conventional Secure Boot process. Also, the proposed concept may maintain the simplicity of the firmware update process and may not require additional software interfaces. 
         [0043]      FIG. 2  is a schematic block diagram depicting the memory regions of a processing system according to an embodiment. 
         [0044]    The proposed concept for dealing with key compromise is to allow for several firmware signature keys. Embodiments may allow for this whilst minimizing the impact on OTP memory. 
         [0045]    Proposed is the addition of another step in the boot sequence. In the first step, the Boot ROM loads the code and data of a Boot Loader, the integrity of which is protected via a hash stored in OTP. In the second step, the Boot Loader loads the code and data of the firmware, the integrity of which is protected via a signature. This two-step approach benefits from low hardware impact and maximal security guarantee of a hash-based Secure Boot, while still allowing for the flexibility offered by a signature-based Secure Boot. 
         [0046]    Splitting the boot sequence into two steps may not resolve the issue of key compromise. To address this, it is proposed to employ a plurality of signature verification keys in the boot loader  35 . This allows the issuance of firmware code signed with a new key when the previous key is considered compromised or invalid. The integrity of all signature verification keys may be protected by the hash function in OTP since it covers the whole Boot Loader  35  code and data. It may therefore not be possible to tamper with the keys nor to change the set of trusted keys after issuance of the device/system. Thus, for some embodiments, the system manufacturer may have to carefully choose the number of keys panned for the lifetime of the system. 
         [0047]    However, since the Boot Loader  35  and keys can be stored in regular Non-Volatile (NV) memory, the cost of additional keys may be negligible. 
         [0048]    When a key is compromised, there is provided a way to tell the Boot Loader  35  not to use such a key. This is done by assigning a validity bit  40  for each key. Prior to using a key for verification of the firmware signature, the Boot Loader  35  first reads the validity bit  40  for that key from the OTP, and only uses that key if it is identified as being valid. 
         [0049]    By storing the validity bits in the OTP it is possible to invalidate a key (assuming they are all marked valid after issuance), but it is then not possible to revert the operation (e.g. to validate a key that has been marked ‘invalid’). The simplicity of this mechanism may reduce the overhead in OTP memory usage to a minimum. 
         [0050]    In embodiments, when the Boot Loader  35  successfully verifies the firmware  20  signature  20   a  with a given key in the key store, it may, prior executing that firmware  20 , mark all previous keys in the key store as invalid. Thus, the manufacturer may easily invalidate a key remotely by issuing a new firmware (or the same firmware) signed with the next key in the key store. 
         [0051]    It is noted that since the Boot Loader  35  code may not be updated, it is preferable that this code is as simple as possible in order to reduce the odds of finding an exploitable bug. Also, in order to prevent denial-of-service attacks, it is preferable that prior to executing the firmware  20 , the Boot Loader  35  locks write access to the OTP memory. This way even if some malicious software could gain privileged access through an exploit, it cannot tamper with the validity bits  40 . 
         [0052]    In preferred embodiments, the validity bit of previous keys is updated before running the new firmware. This is depicted in  FIG. 3  which illustrates an example of invalidating a key according to an embodiment. Here the verification data of the OTP is modified so that the validity bit for the previous key (key1) is changed to a value (e.g. logical zero) which indicates that it is invalid. This may help to ensure that the keys are invalidated even in the case of software attacks. 
         [0053]    It is noted that modern firmware update processes usually include a recovery mechanism that allows fall-back to the previous firmware in case the new firmware does not boot properly. The usual practice is to keep a copy of the previous firmware in memory, and boot that one if a problem is detected (this of course requires a CPU reset). The proposed key invalidation mechanism may interfere with that mechanism since the boot loader will no longer accept to boot the previous firmware. In order to not reduce the robustness of the key invalidation mechanism, it is proposed to use the same firmware as currently loaded in the device when invalidating a key. This simply consists in updating the signature in the device. This way there is no risk that the device fails to boot properly after key invalidation. If the firmware must also be updated, this should be done in two phases: first update the signature using the next key (keeping same firmware binary), then update both signature and firmware. 
         [0054]    Method steps of an exemplary embodiment may be summarised as follows: 
         [0055]    SETUP 
         [0056]    i) Generate new boot loader code M BL    
         [0057]    ii) Generate a set of n private/public key pairs {SK i ,PK i } (i=1 . . . n) 
         [0058]    iii) Compute digest over the boot loader code and key store, H BL  =HASH(M BL |PK 1 | . . . |PK n ) 
         [0059]    iv) Write the digest H BL  into device OTP, and the boot loader code and key store M BL |PK 1 | . . . |PK n  into device NV memory 
         [0060]    v) Keep the private keys {SK i } in a secure location with strict access control 
         [0061]    vi) Keep index of the current active private key. Let current=1. 
         [0062]    KEY COMPROMISE 
         [0063]    This process is executed if key SK j  is compromised, where j≧current. 
         [0064]    i) Let current=j+1 
         [0065]    ii) Compute firmware signature S FW =SIGN SK,current (M FW ) 
         [0066]    Note that we reuse the same firmware as currently loaded in the device. 
         [0067]    iii) Write the signature S FW  into device NV memory 
         [0068]    FIRMWARE WRITE/UPDATE 
         [0069]    i) Generate new firmware M FW    
         [0070]    ii) Compute firmware signature S FW =SIGN SK,current (M FW ). 
         [0071]    iii) Write the firmware M FW  and signature S FW  into device NV memory 
         [0072]    BOOT LOADER BOOT 
         [0073]    i) The CPU is reset, and starts executing the program located in the Boot ROM. 
         [0074]    ii) The CPU reads the boot loader binary M BL  stored in (unprotected) non-volatile memory, and compute a digest H over that firmware binary using a secure state-of-the-art cryptographic hash function. 
         [0075]    h=HASH(M FW ) 
         [0076]    iii) If h is identical to reference digest value H BL , the CPU executes the boot loader. Otherwise, the CPU halts definitively until next reset. 
         [0077]    MULTI-KEY FIRMWARE BOOT 
         [0078]    This process is depicted in the flow diagram of  FIG. 4 . 
         [0079]      100 ) The process begins and it is checked if the key store is empty. If the Key Store is empty, the boot loader loads and executes the firmware immediately  200  without verification. This allows for deployment of new firmware during development. 
         [0080]      102 ) If the key store is not empty, the CPU loads the firmware and checks to see if the firmware is signed. If the firmware is not signed, the CPU halts definitively (e.g. freezes)  210  until next reset. 
         [0081]      104 ) If the firmware is signed, the next key is selected. 
         [0082]      106 ) Information about the validity of the selected key is retrieved by reading the validation data stored in the OTP (e.g. the associated validity bit for the selected key). 
         [0083]      108 ) Based on the read validation data, it is determined whether the selected key is valid. 
         [0084]      110 ) If the key is determined to not be valid, it is checked to see if there are more keys. If there are no more keys to be selected, the CPU halts definitively (e.g. freezes)  210  until next reset. However, if there are more keys, the method returns to  104  to select the next key. Thus, the steps of  104 - 110  find a valid key PK, in the Key Store. 
         [0085]      112 ) After finding a valid key PK,, the CPU reads the firmware signature S FW  and the firmware binary M FW  from NV memory, and attempts to verify the firmware signature 
         [0086]    {0,1}←VERIFY PK,i (M FW ,S FW ) 
         [0087]      114 ) Based on the read verification step  112 , it is determined whether the firmware signature is verified. If firmware signature is not verified, the process returns to step  110  to see if another key can be selected and used for verification. If the firmware signature is verified, the method proceeds to step  116   
         [0088]      116 ) The CPU modifies the validation data so as to set the validity bit for all previous keys to “invalid” (only if i&gt;1), and then executes  200  the firmware located in non-volatile memory. 
         [0089]    Handling End-Of-Life 
         [0090]    As will have been seen from the above description, employing multiple signature verification keys in the boot loader addresses the issue of key compromise by invalidating a compromised key and switching to another key. However, there may remain the issue of all keys in the boot loader being compromised. 
         [0091]    With no way to change the predetermined set of keys, it may be preferable to employ a concept which permanently disables the system in the situation that all keys have been compromised. This may be referred to as handling the end-of-life of a system. The following two concepts for handling end-of-life are proposed: 
         [0092]    First end-of-life concept—End-Of-Life firmware 
         [0093]    The embodiments detailed above with reference to  FIGS. 3 and 4  are not adapted to invalidate the last key in the boot loader key store. Accordingly, it is proposed to address the end-of-life issue (without requiring any change to the standard boot loader process) by employing preliminary preparation before issuing a processing system/device. More particularly, the proposed concept is to grant a special role to the last key in the boot loader key store. Here, the corresponding private key is only used once to sign a special end-of-life firmware, and is then permanently destroyed afterwards. For such embodiments, if the manufacturer wants to terminate a system/device remotely, it simply sends the end-of-life firmware, along with the signature, to the system/device. Since the key is no longer available, there is no risk for key compromise and there is no way to update the device with another firmware. 
         [0094]    It is noted that this approach requires updating of both the firmware and the verification keys, which is typically preferred to be avoided. However, for such embodiments this is acceptable since the purpose is termination of the system/device anyway. 
         [0095]    The end-of-life firmware may, for example, display a warning message stating that the device can no longer be used, and that the user must contact the device vendor or manufacturer for replacement. The firmware may also delete sensitive data, send confirmation to the issuer host, etc. 
         [0096]    Method steps of an exemplary embodiment employing such an end-of-life concept may be summarised as follows (wherein there are no changes to other processes). 
         [0097]    SETUP—END-OF-LIFE 
         [0098]    i) Generate an end-of-life private/public key pair {SK EOL ,PK EOL } 
         [0099]    ii) Generate end-of-life firmware M FW,EOL    
         [0100]    iii) Compute firmware signature S FW,EOL =Sign SK,EOL (M FW,EOL ). 
         [0101]    iv) Destroy end-of-life private key SK EOL    
         [0102]    v) Add the end-of-life public key PK EOL  as the last key in the boot loader key store (this is done before computing the boot loader hash). 
         [0103]    vi) Store end-of-life signature in a secure location with strict access control. End-of-life firmware stored as well, but there is no need for strict access control beyond preventing deletion and modification. 
         [0104]    TERMINATE DEVICE 
         [0105]    i) Write the end-of-life firmware M FW,EOL  and signature S FW,EOL  into device NV memory 
         [0106]    It may be preferable to take some precautions in order to avoid denial-of-service attacks. 
         [0107]    Since the end-of-life firmware and signature may not be encrypted, they may be easily read by a malicious user if he/she has access to a terminated device. If that user manages to send or write this firmware to other devices that have the same end-of-life verification key in the key store, the user may terminate these devices without consent from the issuer. A proposed concept for addressing this issue is the generation of e a unique end-of-life key pair and signature for each system/device. Each system/device may then have its own version of the end-of-life verification key. After generation, the end-of-life signature for each device will preferably be kept in a secure location with strict access control. 
         [0108]    It is noted that the end-of-life firmware may be the same for all the systems/device. In such a situation, whenever the manufacturer/issuer wishes to terminate a system/device, it will send/write the generic end-of-life firmware along with the end-of-life signature corresponding to that particular system/device. 
         [0109]    Second end-of-life concept—Immediate End-Of-Life 
         [0110]    An alternative concept may employ a modification of the boot loader process described with reference to  FIG. 4 . Like the first end-of-life concept described above, the second concept grants a special role to the last key in the key store. In this second concept however, when the boot loader successfully verifies a new firmware using the last key in the key store, it will immediately invalidate all the keys in the key store, and then enter an infinite freeze loop. Thus, the new firmware is never executed. 
         [0111]    Such a modified boot loader process is depicted in the flow diagram of  FIG. 5 . It will be seen that the modified bootloader process is the same as that depicted in  FIG. 4  except that it includes an additional steps (steps  118  and  120 ) after the step  116  of marking prior keys invalid. 
         [0112]    More specifically, after step  116  of modifying the validation data so as to set the validity bit for all previous keys to “invalid” (only if i&gt;1), step  118  is undertaken in which it is checked if the key is the last key in the key store. If, in step  118 , it is determined that the key is not the last key in the key store, the method simply proceeds to step  200  in which the firmware located in non-volatile memory is executed. 
         [0113]    If, however, .in step  118 , it is determined that the key is the last key in the key store, the method proceeds to step  120  in which all the keys in the key store are invalidated (by modifying the verification data appropriately). After invalidating all of the keys, the method proceeds to step  210  is which the CPU halts definitively (e.g. freezes). 
         [0114]    Referring now to  FIG. 6 , there is shown a schematic block diagram of a processing system  200  according to an embodiment of the invention. The system comprises a processor unit or CPU  202  connected to communication bus  204 . Also connected to the communication bus  204  are volatile  206  and non-volatile  208  memory units, peripherals  210 , and a ROM unit  212 . 
         [0115]    Here, the ROM unit  212  stores: a firmware boot code sequence for booting/initializing the system  200 ; secured firmware code to be protected during third-party application execution; and services implementation derived manufacturer internal firmware. 
         [0116]    The volatile memory  206  comprises a Random Access Memory (RAM) unit  206   a  and one-time programmable memory  206   b  such as flash memory or EEPROM. The RAM unit  206   a  is for storing data used by the CPU  202  during either boot code execution or application code execution. The one-time programmable memory  206   b  is adapted to store a hash function and verification data for identifying the validity of keys. The one-time programmable memory  206   b  may also store firmware code (if not located in the ROM unit  208 ). 
         [0117]    The non-volatile memory unit  208  is adapted to store bootloader code, one or more keys, firmware code, and a file system for the processing system  200 . It therefore to be understood that, unlike conventional processing systems, the system  200  of  FIG. 6  is adapted to employ memory regions like that depicted in  FIG. 2  wherein a plurality of keys are stored in non-volatile memory and verification data representing the validity of the keys is stored in one-time programmable memory. 
         [0118]    Embodiments may be captured in a computer program product for execution on a processor of a computer, e.g. a personal computer or a network server, where the computer program product, if executed on the computer, causes the computer to implement the steps of a method according to an embodiment. Since implementation of these steps into a computer program product requires routine skill only for a skilled person, such an implementation will not be discussed in further detail for reasons of brevity only. 
         [0119]    In an embodiment, the computer program product is stored on a computer-readable medium. Any suitable computer-readable medium, e.g. a CD-ROM, DVD, 
         [0120]    USB stick, memory card, network-area storage device, internet-accessible data repository, and so on, may be considered. 
         [0121]    Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practising the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measured cannot be used to advantage. A computer program may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope.