Find strategy on getting 16 bytes of entropy and existing API (XML_SetHashSalt) together · Issue #47 · libexpat/libexpat · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt)
to provide sizeof(unsigned long) custom entropy bytes to Expat.
Now SipHash introduced with #39 can leverage up to 16 bytes of entropy and the new high quality sources of entropy from #30 can be made to serve 16 bytes to us.
Open questions are:
If we start extracting more than 16 bytes of entropy without user salt given, what should happen when users pass fewer tha 16 bytes by calling XML_SetHashSalt? (Ignore, error out, use and pad, use and mix, ...)
Do we need a new API function to set a callback function writing 16 bytes of entropy to us?
The text was updated successfully, but these errors were encountered:
Since version 2.1.0 Expat has a function
to provide
sizeof(unsigned long)
custom entropy bytes to Expat.Now SipHash introduced with #39 can leverage up to 16 bytes of entropy and the new high quality sources of entropy from #30 can be made to serve 16 bytes to us.
Open questions are:
XML_SetHashSalt
? (Ignore, error out, use and pad, use and mix, ...)The text was updated successfully, but these errors were encountered: