BLAKE2 / libb2

C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
Creative Commons Zero v1.0 Universal
132 stars 47 forks source link

Make secure_zero_memory() compile on HP-UX #26

Closed michael-o closed 5 years ago

michael-o commented 5 years ago

This reinstantiates the portable approach to this function dropped in b4b241a34824b51956a7866606329a065d397525. HP-UX does not have any of the fancy secure/explicit functions and the compiler does not support the inline assembly syntax.

This one first showed up in Python for me: https://github.com/python/cpython/commit/51aa35e9e17eef60d04add9619fe2a7eb938358c