Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename add_data to authenticate_additional_data for clarity (hopefully) | Paul Kehrer | 2013-11-29 | 1 | -5/+5 |
| | |||||
* | invalidtag exception for gcm | Paul Kehrer | 2013-11-29 | 1 | -2/+2 |
| | | | | | This exception is probably not safe. It depends on the assumption that if ERR_get_error returns a 0 then it is an AEAD tag error. | ||||
* | enforce AEAD add_data before update | Paul Kehrer | 2013-11-29 | 3 | -12/+14 |
| | |||||
* | _AEADCipherContext refactor | Paul Kehrer | 2013-11-29 | 1 | -0/+4 |
| | | | | | | * No longer extends _CipherContext * Remove _tag from _CipherContext * This change duplicates a small amount of code from _CipherContext | ||||
* | rename NotFinalized exception to NotYetFinalized because alex is right | Paul Kehrer | 2013-11-29 | 1 | -2/+2 |
| | | | | ...it does read better that way | ||||
* | GCM support | Paul Kehrer | 2013-11-29 | 4 | -5/+163 |
| | |||||
* | Fixed this test. It was passing for the wrong reason. | Alex Gaynor | 2013-11-27 | 1 | -2/+2 |
| | | | | Shame on us for letting something without coverage land. | ||||
* | Merge pull request #227 from dreid/explicit-backend-in-hazmat | Alex Gaynor | 2013-11-26 | 5 | -30/+22 |
|\ | | | | | Explicit backend | ||||
| * | Fix pep8 | David Reid | 2013-11-25 | 1 | -1/+2 |
| | | |||||
| * | Use keyword argument forms everywhere. | David Reid | 2013-11-25 | 3 | -15/+16 |
| | | |||||
| * | Test that openssl is the default backend. | David Reid | 2013-11-20 | 1 | -0/+4 |
| | | |||||
| * | Explicit backend | David Reid | 2013-11-20 | 4 | -37/+23 |
| | | |||||
* | | Fixed branch coverage | Alex Gaynor | 2013-11-23 | 1 | -0/+17 |
| | | |||||
* | | Change teh exception | Alex Gaynor | 2013-11-22 | 1 | -5/+3 |
| | | |||||
* | | Coverage | Alex Gaynor | 2013-11-22 | 1 | -0/+4 |
| | | |||||
* | | Raise a correct error when content isn't padded correctly | Alex Gaynor | 2013-11-22 | 1 | -1/+19 |
|/ | |||||
* | Move interfaces.register to utils.register_interface in preparation for more ↵ | David Reid | 2013-11-18 | 2 | -2/+4 |
| | | | | interface modules. | ||||
* | Implement and document an interface for cipher algorithms | David Reid | 2013-11-15 | 2 | -6/+18 |
| | |||||
* | Merge pull request #258 from alex/already-finalized | David Reid | 2013-11-13 | 2 | -5/+8 |
|\ | | | | | Use AlreadyFinalized for symmetric ciphers | ||||
| * | Use AlreadyFinalized for symmetric ciphers | Alex Gaynor | 2013-11-13 | 2 | -5/+8 |
| | | |||||
* | | Make HMAC methods raise AlreadyFinalized. | David Reid | 2013-11-13 | 1 | -0/+14 |
|/ | |||||
* | Merge pull request #253 from dreid/hash-raise-after-finalize | Alex Gaynor | 2013-11-13 | 1 | -0/+11 |
|\ | | | | | raise an exception if you try to use a HashContext after finalize is called. | ||||
| * | Import AlreadyFinalized instead of exceptions. | David Reid | 2013-11-13 | 1 | -3/+3 |
| | | |||||
| * | raise an exception if you try to use a HashContext after finalize is called. | David Reid | 2013-11-12 | 1 | -0/+11 |
| | | |||||
* | | Also remove teh ciphers specific class | Alex Gaynor | 2013-11-13 | 6 | -14/+14 |
| | | |||||
* | | Remove the hash and hmac specific classes, now that the logic is the Context ↵ | Alex Gaynor | 2013-11-13 | 4 | -26/+26 |
| | | | | | | | | classes they don't really add value | ||||
* | | Merge branch 'master' into hmac-context-from-backend | David Reid | 2013-11-12 | 1 | -3/+3 |
|\| | | | | | | | | | | | Conflicts: cryptography/hazmat/bindings/openssl/backend.py cryptography/hazmat/primitives/hmac.py | ||||
| * | Merge pull request #248 from dreid/hash-context-from-backend | Alex Gaynor | 2013-11-12 | 1 | -3/+3 |
| |\ | | | | | | | Get a HashContext from the backend like we do a CipherContext | ||||
| | * | Get a HashContext from the backend like we do a CipherContext | David Reid | 2013-11-12 | 1 | -3/+3 |
| | | | |||||
* | | | Get a HashContext from the hmac backend like we do a CipherContext | David Reid | 2013-11-12 | 1 | -2/+3 |
|/ / | |||||
* / | Fixed using copied hashes | Alex Gaynor | 2013-11-12 | 1 | -0/+6 |
|/ | |||||
* | Remove separate file loaders and replace with one | Paul Kehrer | 2013-11-11 | 9 | -48/+62 |
| | | | | All tests updated to work with the new simplified loader | ||||
* | Ignore the sections of the NIST files | Alex Gaynor | 2013-11-11 | 5 | -20/+18 |
| | |||||
* | Merge pull request #214 from reaperhulk/arc4-support | David Reid | 2013-11-09 | 4 | -2/+114 |
|\ | | | | | ARC4 Support | ||||
| * | add ARC4 keysize testing | Paul Kehrer | 2013-11-07 | 1 | -1/+20 |
| | | |||||
| * | ARC4 support | Paul Kehrer | 2013-11-07 | 3 | -1/+94 |
| | | |||||
* | | Fixed two bugs in the PKCS7 padding where unpadding would accept bad inputs. | Alex Gaynor | 2013-11-09 | 1 | -0/+2 |
|/ | |||||
* | block cipher rename | Paul Kehrer | 2013-11-06 | 9 | -57/+59 |
| | | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms | ||||
* | 79 cols | Alex Gaynor | 2013-11-04 | 1 | -1/+3 |
| | |||||
* | Replace assumption with some fakes | Alex Gaynor | 2013-11-04 | 1 | -7/+12 |
| | |||||
* | Merge branch 'master' into more-error-condition | Alex Gaynor | 2013-11-04 | 8 | -0/+1766 |
|\ | | | | | | | | | Conflicts: tests/hazmat/bindings/test_openssl.py | ||||
| * | Merge pull request #221 from alex/move-ffi-to-class | David Reid | 2013-11-04 | 1 | -1/+6 |
| |\ | | | | | | | Moved the cffi attributes on the OpenSSL backend to be class attributes | ||||
| | * | Rewrite this test to be good | Alex Gaynor | 2013-11-04 | 1 | -2/+4 |
| | | | |||||
| | * | coverage | Alex Gaynor | 2013-11-04 | 1 | -1/+4 |
| | | | |||||
| * | | Merge pull request #213 from reaperhulk/arc4-vectors | David Reid | 2013-11-04 | 7 | -0/+1761 |
| |\ \ | | |/ | |/| | ARC4 Vectors | ||||
| | * | add key 2 tests from rfc 6229 | Paul Kehrer | 2013-11-01 | 7 | -0/+882 |
| | | | |||||
| | * | ARC4 vectors from RFC 6229 reformatted for NIST loader | Paul Kehrer | 2013-11-01 | 7 | -0/+879 |
| | | | |||||
* | | | typo fix | Alex Gaynor | 2013-11-03 | 1 | -1/+1 |
| | | | |||||
* | | | Replaced an assertion in the OpenSSL backend with a proper exception | Alex Gaynor | 2013-11-03 | 1 | -3/+19 |
|/ / | |||||
* | | Changed excpetion name based on feedback from dreid | Alex Gaynor | 2013-11-02 | 1 | -3/+3 |
| | |