aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/backends/openssl/hmac.py
Commit message (Collapse)AuthorAgeFilesLines
* remove maccontext (#4803)Paul Kehrer2019-03-071-2/+1
|
* Simplify string formatting (#4757)Alex Gaynor2019-02-201-1/+1
|
* support byteslike in hmac update (#4705)Paul Kehrer2019-01-171-1/+2
| | | needed for some KDF keying material
* support bytes-like keys in CMAC and HMAC contexts (#4701)Paul Kehrer2019-01-161-1/+2
|
* create & use _evp_md_from_algorithm and _evp_md_non_null_from_algorithm (#4542)Paul Kehrer2018-10-291-3/+3
| | | | | | * create & use _evp_md_from_algorithm and _evp_md_non_null_from_algorithm * remove unused import
* add blake2b/blake2s support for hmac (#3873)Paul Kehrer2017-08-221-4/+3
| | | | | | | | | | * add blake2b/blake2s support for hmac This was a bug, but it turns out the noise protocol suggests using the HMAC construction with BLAKE2 (rather than BLAKE2's own keyed functionality) for a few reasons, so we should support it. * actually test the thing
* move MACContext to mac.py and eliminate interfaces.py (#3631)Paul Kehrer2017-05-291-2/+2
| | | | | | | | | | | | | * move MACContext to mac.py and eliminate interfaces.py finally * improve title * re-add and deprecate interfaces.MACContext * use pytest.warns instead of deprecated_call The pytest docs insist that deprecation warnings are handled differently and that you should use deprecated_call, but this works so okay then
* Removed 0.9.8 specific hmac code (#2995)Alex Gaynor2016-06-191-10/+4
|
* opaque HMAC_CTX, which requires some helper functionsPaul Kehrer2016-03-091-7/+6
|
* converted a few more assertsAlex Gaynor2015-09-261-1/+1
|
* convert the rest of the openssl backend to using openssl_assertPaul Kehrer2015-09-251-4/+4
|
* move hash interfacesPaul Kehrer2015-02-131-2/+2
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-12/+3
| | | | Fixes #1209
* Move the cryptography package into a src/ subdirectoryDonald Stufft2014-11-131-0/+90
Due to differences in how py.test determines which module to ``import`` the test suite actually runs against the cryptography which is in the *current* directory instead of the cryptography which is installed. The problem essentially boils down to when there is a tests/__init__.py then py.test adds the current directory to the front of the sys.path, causing it to take precedence over the installed location. This means that running the tests relies on the implicit compile that CFFI does instead of testing against what people will actually be runnning, which is the module compiled by setup.py.