{ /* these calls do not fail when called properly */\r
r = Update(&state,data,databitlen);\r
Final(&state,hashval);\r
- }\r
#ifdef SKEIN_DEBUG
- if (r == SUCCESS && getenv("SKEIN_DEEP_DUMP"))
- {
- printf("==== Hashbitlen = %d, DataBitLen = %llu, Data:\n%s\n==== Hash:\n",
- hashbitlen, (long long unsigned)databitlen, (const char*)data);
- int i;
- for (i = 0; i < hashbitlen / 8; i++)
- printf("%02X", hashval[i]);
- }
- printf("\n");
+ if (r == SUCCESS && getenv("SKEIN_DEEP_DUMP"))
+ {
+ int i;
+ printf("==== Hashbitlen = %d, DataBitLen = %llu, Data:\n%s\n==== Hash:\n",
+ hashbitlen, (long long unsigned)databitlen, (const char*)data);
+ for (i = 0; i < hashbitlen / 8; i++)
+ printf("%02X", hashval[i]);
+ printf("\n");
+ }
#endif
+ }\r
return r;\r
}\r