SOFTHSM-83: Also make sure that CKA_VALUE_BITS is serialised.
Copy the serialisation code to RSA from DH.
Merge pull request #62 from bellgrim/fix-dh

Improve the serialisation code for DH and RSA