pkcs11 C_Digest() is too restrictive in input
Review Request #1146 - Created Aug. 3, 2018 and submitted
Issue found via the digest test framework from illumos#9697 -- Our PKCS#11 implementation returns an error when attempting to create a digest of a zero byte input. There is nothing in the PKCS#11 implemetation that requires this behavior.
Ran the digest tests with the fix applied and the run 1 failures previously seen (which are the 0-byte inputs) now complete successfully.