Save the key material in a correct way.
The attribute checks made this more visible.
E.g. CKA_VALUE for DSA looked like it came from the user,
but is generated by us.