Commit Graph

5 Commits

Author SHA1 Message Date
Didactic Drunk
35fcda70aa SecureBuffer: raise when out of memory 2021-06-02 20:25:28 -07:00
Didactic Drunk
38bd985103 Keep identical state in Sodium::SecureBuffer#dup 2021-05-16 22:42:49 -07:00
Didactic Drunk
b212f6bacd Fix Sodium::SecureBuffer state transitions. 2019-09-13 21:33:21 -07:00
Didactic Drunk
ed7ba20082 Sodium::Kdf keep SecureBuffer in noaccess state except when in use. 2019-09-01 10:31:36 -07:00
Didactic Drunk
8cdb4cbf42 Sodium::SecureBuffer
Add State and transitions.
  New Exceptions.
  Raise instead of crashing when attempting to access buffer.
  Allow wiping more than once.
  Add specs.
2019-09-01 02:51:48 -07:00