Description of problem: We now want to calculate the key size of a key in CoolKey in order to support cryptographic operations such as signatures with keys larger than 1024 bit keys. To do so, it is convenient to get the size of the key from data already on the token. Bug #485829 addresses this functionality but the code can be optimized to be more efficient.