-
- Downloads
extmod/moducryptolib: Add ucryptolib module with crypto functions.
The API follows guidelines of https://www.python.org/dev/peps/pep-0272/, but is optimized for code size, with the idea that full PEP 0272 compatibility can be added with a simple Python wrapper mode. The naming of the module follows (u)hashlib pattern. At the bare minimum, this module is expected to provide: * AES128, ECB (i.e. "null") mode, encrypt only Implementation in this commit is based on axTLS routines, and implements following: * AES 128 and 256 * ECB and CBC modes * encrypt and decrypt
Showing
- extmod/moducryptolib.c 195 additions, 0 deletionsextmod/moducryptolib.c
- ports/unix/mpconfigport_coverage.h 1 addition, 0 deletionsports/unix/mpconfigport_coverage.h
- py/builtin.h 1 addition, 0 deletionspy/builtin.h
- py/mpconfig.h 4 additions, 0 deletionspy/mpconfig.h
- py/objmodule.c 3 additions, 0 deletionspy/objmodule.c
- py/py.mk 1 addition, 0 deletionspy/py.mk
extmod/moducryptolib.c
0 → 100644
Please register or sign in to comment