Commit graph

34 commits

Author SHA1 Message Date
Awn Umar
9478fa6285 sync 2021-02-27 13:46:28 +00:00
Awn Umar
0a691c2070 Some experimentation 2020-08-09 15:12:07 +01:00
Awn Umar
6ea70774c7
Update some things 2020-05-20 21:55:43 +01:00
Awn Umar
acb56a453c
Update some things 2020-05-20 21:38:00 +01:00
Jam Adams
022edf821f fix following dead lock problems
1. RLock -> RLock
2. RLock -> Lock
2020-04-20 17:04:12 +08:00
Awn Umar
5466a9dc33
buffer: wipe data asap in destroy 2019-10-27 13:04:48 +00:00
Awn Umar
c3ec34f4cd
patch: Exit: grab a copy of the buffer list 2019-10-25 15:18:16 +01:00
Awn Umar
3bc993994d
move buffer removal to wrapper function 2019-10-25 15:08:41 +01:00
Awn Umar
49ce9941dc
implement alternate strategy of handling failures in purge 2019-10-25 14:51:05 +01:00
Awn Umar
e265d81c7b
Add Inner method to Buffer object 2019-10-16 14:33:08 +01:00
Paul Zeinlinger
32c8762062 Updates memcall dependency 2019-08-11 10:42:27 +02:00
Awn Umar
a58248071c
Remove dependency on fastrand 2019-08-06 11:32:14 +01:00
Awn Umar
50c49b9b06
Use standalone memcall package 2019-08-01 14:14:03 +01:00
Awn Umar
ce6fc55dde
patch: acquire full lock in freeze/melt
Fixes #104
2019-07-26 10:12:56 +01:00
Awn
843870774d
optimise buffer state methods (#103) 2019-07-25 23:01:20 +01:00
Awn Umar
3c5e9f417c
Use fast entropy source for hot paths only 2019-07-18 22:39:14 +01:00
Awn Umar
a2fa811a85
canary: remove lower bound limit on length 2019-06-17 19:26:26 +01:00
Awn Umar
eb371074c7
critical: patch error in canary size 2019-06-17 14:35:45 +01:00
Awn Umar
55fa988242
Wipe before removing from list; so that purge still catches it 2019-06-02 15:00:52 +01:00
Awn Umar
a31b3b4446
docs: updates for clarity and readability 2019-05-30 10:04:45 +01:00
Awn Umar
520d091282
patch: if purge called, subsequent exit/panic would not wipe keys 2019-05-21 18:07:34 +01:00
Awn Umar
61e6b4f8d7
feature: add clone and {move/copy}at methods 2019-05-17 14:22:12 +01:00
Awn Umar
5094398556
make buffer list private & modify slice type cast behaviour 2019-05-15 17:47:28 +01:00
Awn Umar
60cf168a6e
Prefer panic to nil returns 2019-05-14 11:41:31 +01:00
Awn Umar
3c486c6cb9
Use variable length canaries with 32 <= len(canary) <= ~pagesize 2019-05-13 17:27:12 +01:00
Awn Umar
8265a2536d
crypto: use local custom emtropy pool 2019-05-13 17:08:37 +01:00
Awn Umar
a684db30dc
Make data field unexported in core; use method instead 2019-05-13 02:45:54 +01:00
Awn Umar
63466f748b
Move canary reference value 2019-05-03 05:11:22 +01:00
Awn Umar
c93b1b069c
patchset: some changes and streamlining
There are some known issues in this code at the moment and parts of the frontend API exist have not yet been stabalised or tested.
2019-05-01 18:13:17 +01:00
Awn Umar
8740253ea8
some improvements to errors 2019-03-21 22:28:44 +00:00
Awn Umar
5ec2b2fbe5
refactor: move buffer related functions into method fold 2019-03-21 20:30:09 +00:00
Awn Umar
5583953cd7
Port a bunch more things. Still need to work on Enclaves and writing tests and examples and docs. 2019-03-21 18:58:07 +00:00
Awn Umar
a6ccf280ec
api: ported data representation api and implemented basic seal/open functionality in frontend
Still need to write tests.
2019-03-21 05:34:28 +00:00
Awn Umar
fbef9a3b39 Rewrite and refactor. Core functionality moved to submodule. Many fixes and improvements. Todo: re-write frontend 2019-02-24 19:52:41 +00:00