nCipher callbacks shall return 0 on success, something else otherwise.