diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-05-29 22:37:33 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-05-29 23:37:33 -0400 |
commit | cb0fa2e323fde10d5fa61bcc32d87a567690e34a (patch) | |
tree | a95dbfaf1d559021ad350b0eff39bb4b139b0d02 /src | |
parent | 6d7fe00c7066d8d474981b21cdadb16f021d3e6a (diff) | |
download | cryptography-cb0fa2e323fde10d5fa61bcc32d87a567690e34a.tar.gz cryptography-cb0fa2e323fde10d5fa61bcc32d87a567690e34a.tar.bz2 cryptography-cb0fa2e323fde10d5fa61bcc32d87a567690e34a.zip |
KBKDF cleanup (#2929)
* unicode characters make everything angry
* changelog entry and make skip msgs more informative
* typo fix
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/primitives/kdf/kbkdf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/primitives/kdf/kbkdf.py b/src/cryptography/hazmat/primitives/kdf/kbkdf.py index 70a0fdc6..29ac0fad 100644 --- a/src/cryptography/hazmat/primitives/kdf/kbkdf.py +++ b/src/cryptography/hazmat/primitives/kdf/kbkdf.py @@ -112,7 +112,7 @@ class KBKDFHMAC(object): output = [b''] # For counter mode, the number of iterations shall not be - # larger than 2^r-1, where r ≤ 32 is the binary length of the counter + # larger than 2^r-1, where r <= 32 is the binary length of the counter # This ensures that the counter values used as an input to the # PRF will not repeat during a particular call to the KDF function. r_bin = utils.int_to_bytes(1, self._rlen) |