summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/crypto-algorithms/sha256.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-22 16:16:38 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-24 09:12:06 +0000
commitdf4ce930e3a050401042ec949270d3e1a1ac9858 (patch)
tree059b90a92dc91447c4eaa9eb2d04437c6ed1be2c /extmod/crypto-algorithms/sha256.c
parent42a6364a311a96e376f3f1e2677007ee603b2ad6 (diff)
downloadmicropython-df4ce930e3a050401042ec949270d3e1a1ac9858.tar.gz
micropython-df4ce930e3a050401042ec949270d3e1a1ac9858.zip
py/modmicropython: Add stack_use, heap_lock and heap_unlock functions.
micropython.stack_use() returns an integer being the number of bytes used on the stack. micropython.heap_lock() and heap_unlock() can be used to prevent the memory manager from allocating anything on the heap. Calls to these are allowed to be nested.
Diffstat (limited to 'extmod/crypto-algorithms/sha256.c')
0 files changed, 0 insertions, 0 deletions