Wykres commitów

8 Commity (b89114c8345e15d360c3707493450805c114bc8c)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 60de502676 all: setup.py: Switch to sdist_upip. 2018-02-02 20:30:52 +02:00
Paul Sokolovsky 2ff5940d92 all: setup.py: Consistently update author and maintainer fields. 2018-02-02 20:25:27 +02:00
Christopher Cooper 96c981b1ee hmac: Calculate correct digest when non-trivial key is used.
This incorrect behavior was a result of the function that performs
table-driven byte translation. The function first used the chr(...)
function to convert each resulting byte, represented as an integer,
to a string of length one. Then, the <str>.encode(...) function was
used to convert the string to a byte string with an intended length
of one. That didn't work well for bytes with high bit set, as they
were trated as UTF-8 chars. Instead, perform operations directly on
bytes.

This was an artifact of porting this to MicroPython, as the original
CPython module uses bytes.translate(...) method (not available in
uPy).
2017-08-13 14:52:52 +03:00
Paul Sokolovsky dfe4dee62a all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
Paul Sokolovsky 65fb3707ba all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
Paul Sokolovsky 2f2aeae14b hmac: Depends on warnings module. 2015-02-22 15:12:24 +02:00
slush0 0d938a20a3 hmac: Port to MicroPython (missing bytes.translate(), warnings). 2015-02-22 15:12:24 +02:00
Paul Sokolovsky b90d145a1d hmac: Add pristine from CPython 3.4.2. 2015-02-22 15:12:24 +02:00