diff options
author | Yonatan Goldschmidt <yon.goldschmidt@gmail.com> | 2019-04-23 12:39:05 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-05-06 18:09:48 +1000 |
commit | ef9843653b795b650e1fe77e22f87e3523bd0a08 (patch) | |
tree | 03e184551ea430f8e5d95cc40748f7af5c8773df /docs/library/ucryptolib.rst | |
parent | 906fb89fd778cb695ba81c871086fe1ce340e681 (diff) |
extmod/moducryptolib: Add AES-CTR support.
Selectable at compile time via MICROPY_PY_UCRYPTOLIB_CTR. Disabled by
default.
Diffstat (limited to 'docs/library/ucryptolib.rst')
-rw-r--r-- | docs/library/ucryptolib.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/library/ucryptolib.rst b/docs/library/ucryptolib.rst index c9e0bb71f..79471c2e9 100644 --- a/docs/library/ucryptolib.rst +++ b/docs/library/ucryptolib.rst @@ -22,9 +22,11 @@ Classes * *mode* is: * ``1`` (or ``ucryptolib.MODE_ECB`` if it exists) for Electronic Code Book (ECB). - * ``2`` (or ``ucryptolib.MODE_CBC`` if it exists) for Cipher Block Chaining (CBC) + * ``2`` (or ``ucryptolib.MODE_CBC`` if it exists) for Cipher Block Chaining (CBC). + * ``6`` (or ``ucryptolib.MODE_CTR`` if it exists) for Counter mode (CTR). * *IV* is an initialization vector for CBC mode. + * For Counter mode, *IV* is the initial value for the counter. .. method:: encrypt(in_buf, [out_buf]) |