Enhanced the PKCS11 Digest implementation to support cloning Reviewed-by: vinnie
Reviewed-by: darcy, weijun