diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-11-24 10:26:47 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-11-24 16:54:33 -0600 |
| commit | c451b22255706989f58cfd88be486e5117979a28 (patch) | |
| tree | b448e050ae2175d4f6ede3fc04efa58e6620b300 /py/stackctrl.h | |
| parent | bafa0501d17eb55726a8decfe19d6f055190d6b1 (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 'py/stackctrl.h')
0 files changed, 0 insertions, 0 deletions
