summaryrefslogtreecommitdiff
path: root/shared-module/storage
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-11-24 10:26:47 -0600
committerJeff Epler <jepler@gmail.com>2020-11-24 16:54:33 -0600
commitc451b22255706989f58cfd88be486e5117979a28 (patch)
treeb448e050ae2175d4f6ede3fc04efa58e6620b300 /shared-module/storage
parentbafa0501d17eb55726a8decfe19d6f055190d6b1 (diff)
Disable 3-arg pow() function on m0 boards
`pow(a, b, c)` can compute `(a ** b) % c` efficiently (in time and memory). This can be useful for extremely specific applications, like implementing the RSA cryptosystem. For typical uses of CircuitPython, this is not an important feature. A survey of the bundle and learn system didn't find any uses. Disable it on M0 builds so that we can fit in needed upgrades to the USB stack.
Diffstat (limited to 'shared-module/storage')
0 files changed, 0 insertions, 0 deletions