awnumar / memguard

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

Protect canary & simplify mutexes. #26

Closed awnumar closed 6 years ago

awnumar commented 6 years ago

The main change is protecting the canary in its own container. In addition to that, I have removed the csprngMutex that was protecting the CSPRNG. I don't think that it is needed.