aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/kdf/hkdf.py
Commit message (Collapse)AuthorAgeFilesLines
* Move the cryptography package into a src/ subdirectoryDonald Stufft2014-11-131-124/+0
| | | | | | | | | | | | | 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.
* Make exceptions end with a period consistentlyAyrx2014-05-181-6/+6
|
* We don't need six.binary_type, it's always bytesAlex Gaynor2014-05-171-4/+4
|
* Simplified exception messageAyrx2014-05-171-16/+4
|
* Fixed TypeError and added documentationAyrx2014-05-171-10/+14
|
* Minor fixesAyrx2014-05-091-7/+1
|
* Modified HKDF to use HKDFExpandAyrx2014-05-071-34/+47
|
* Renamed HKDFExpandOnly to HKDFExpandAyrx2014-05-071-1/+1
|
* Fixed test failuresAyrx2014-05-061-0/+1
|
* Added HKDFExpandOnlyAyrx2014-05-051-0/+22
|
* Update tests and raise sitesAlex Stapleton2014-03-271-2/+4
|
* Fixed #809 -- switch back to always using UnsupportedAlgorithmAlex Gaynor2014-03-271-2/+2
|
* Small style cleanup for importsAlex Gaynor2014-03-151-2/+2
|
* Removed newline from start of methodsAyrx2014-03-151-1/+0
|
* Added backend check to kdf primitivesAyrx2014-03-151-1/+9
|
* Added future imports and licenses that are missingAlex Gaynor2014-03-081-0/+2
|
* Fix typoDavid Reid2014-02-031-1/+1
|
* Import exception classes instead of the exceptions module.David Reid2014-02-031-7/+4
|
* Don't expose extract and expand on this class yet because we don't know how ↵David Reid2014-02-031-16/+0
| | | | best to expose verify functionality, continue testing the stages using the private methods.
* Remove redundant type checks per @alex and @reaperhulk.David Reid2014-02-031-12/+0
|
* Consistently use double quotes.David Reid2014-02-031-1/+1
|
* Aggressively type-check for text.David Reid2014-02-031-0/+26
|
* Actually register the interface.David Reid2014-02-031-1/+5
|
* Expand, extract, verify.David Reid2014-02-031-4/+19
|
* Add test cases for length checking and already finalized.David Reid2014-02-031-3/+25
|
* Closer to proposed interface in #513.David Reid2014-02-031-27/+29
|
* Break up hkdf_derive into hkdf_extract and hkdf_expand.David Reid2014-02-031-23/+24
| | | | | | | | Testing each individually against all the vectors and actually asserting about the intermediate state. hkdf_derive is now just a helper function which copes with the default arguments.
* Refactor HKDF support and provide vectors for tests.David Reid2014-02-031-0/+52