awnumar / memguard

Secure software enclave for storage of sensitive information in memory.
Apache License 2.0
2.49k stars 124 forks source link

all: redesign errors in memguard and memguard/core #112

Closed nsajko closed 4 years ago

nsajko commented 4 years ago

Memcall is not touched yet. Otherwise this replaces sentinel error values with IsX exported predicate functions. This enables more effective error handling by the users and leaves much more freedom for changing the implementation in the future without breaking API.

Updates #111

nsajko commented 4 years ago

Since this pull request is closed I will continue discussion on the issue #111.