diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-08-27 20:33:03 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-08-27 20:33:03 +0200 |
commit | 0f97eb3a609cd892a0de1d61ef61e5b48be082d8 (patch) | |
tree | 5685c0bfe39b4fa9c29645cddf2152114660e86b /sys/src/cmd/python/Python/getmtime.c | |
parent | 8a73650874a68575fb7b93a44f3bba352c50288a (diff) |
kernel: add secalloc() and secfree() functions for secret memory allocation
The kernel needs to keep cryptographic keys and cipher states
confidential. secalloc() allocates memory from the secret pool
which is protected from debuggers reading the memory thru devproc.
secfree() releases the memory, overriding the data with garbage.
Diffstat (limited to 'sys/src/cmd/python/Python/getmtime.c')
0 files changed, 0 insertions, 0 deletions