| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | | | | | | raise TypeError if you attempt to get the tag attribute on a decrypt | Paul Kehrer | 2013-11-29 | 1 | -5/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * To support this the _AEADCipherContext in base.py now needs to be aware of whether it is encrypting/decrypting | |||||
| * | | | | | | | | simplify code for wrapping ciphercontext/aeadciphercontext | Paul Kehrer | 2013-11-29 | 1 | -22/+12 | |
| | | | | | | | | | ||||||
| * | | | | | | | | rename add_data to authenticate_additional_data for clarity (hopefully) | Paul Kehrer | 2013-11-29 | 3 | -5/+5 | |
| | | | | | | | | | ||||||
| * | | | | | | | | invalidtag exception for gcm | Paul Kehrer | 2013-11-29 | 2 | -2/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -1/+11 | |
| | | | | | | | | | ||||||
| * | | | | | | | | _AEADCipherContext refactor | Paul Kehrer | 2013-11-29 | 1 | -3/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...it does read better that way | |||||
| * | | | | | | | | add tag as abstractproperty for modewithaad | Paul Kehrer | 2013-11-29 | 1 | -1/+5 | |
| | | | | | | | | | ||||||
| * | | | | | | | | fix buffer size bug for gcm tag fetch | Paul Kehrer | 2013-11-29 | 1 | -2/+1 | |
| | | | | | | | | | ||||||
| * | | | | | | | | GCM support | Paul Kehrer | 2013-11-29 | 5 | -8/+118 | |
| | |_|/ / / / / |/| | | | | | | ||||||
| * | | | | | | | Merge pull request #227 from dreid/explicit-backend-in-hazmat | Alex Gaynor | 2013-11-26 | 4 | -17/+7 | |
| |\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | Explicit backend | |||||
| | * | | | | | | Use backend as keyword even when copying hmacs. | David Reid | 2013-11-25 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | Add a default_backend and start updating docs. | David Reid | 2013-11-20 | 1 | -1/+4 | |
| | | | | | | | | ||||||
| | * | | | | | | Explicit backend | David Reid | 2013-11-20 | 3 | -17/+4 | |
| | | |/ / / / | |/| | | | | ||||||
| * | | | | | | Useful error message | Alex Gaynor | 2013-11-22 | 1 | -2/+8 | |
| | | | | | | | ||||||
| * | | | | | | Change teh exception | Alex Gaynor | 2013-11-22 | 2 | -7/+3 | |
| | | | | | | | ||||||
| * | | | | | | Coverage | Alex Gaynor | 2013-11-22 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | include the error message | Alex Gaynor | 2013-11-22 | 1 | -1/+4 | |
| | | | | | | | ||||||
| * | | | | | | Better, but still not covered | Alex Gaynor | 2013-11-22 | 1 | -1/+3 | |
| | | | | | | | ||||||
| * | | | | | | Raise a correct error when content isn't padded correctly | Alex Gaynor | 2013-11-22 | 3 | -2/+31 | |
| |/ / / / / | ||||||
| * | | | | | Some docstrings. | David Reid | 2013-11-18 | 1 | -1/+8 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'master' into backend-interfaces | David Reid | 2013-11-18 | 1 | -1/+4 | |
| |\ \ \ \ \ | | |_|_|/ | |/| | | | ||||||
| | * | | | | de-opaque EVP_CIPHER_CTX a bit | Paul Kehrer | 2013-11-18 | 1 | -1/+4 | |
| | | | | | | ||||||
| * | | | | | Fix usages of interfaces.register | David Reid | 2013-11-18 | 1 | -6/+7 | |
| | | | | | | ||||||
| * | | | | | Change interface names to fit in the new smaller interface surface and | David Reid | 2013-11-18 | 2 | -70/+15 | |
| | | | | | | | | | | | | | | | | | | | | | correct method names on interfaces. | |||||
| * | | | | | flesh out method definitions. | David Reid | 2013-11-18 | 1 | -9/+65 | |
| | | | | | | ||||||
| * | | | | | Move register so it can be used by cryptography.hazmat.bindings.interfaces. | David Reid | 2013-11-18 | 9 | -30/+114 | |
| |/ / / / | ||||||
| * | | | | Simple macros | cyli | 2013-11-17 | 1 | -1/+37 | |
| | | | | | ||||||
| * | | | | Implement and document an interface for cipher algorithms | David Reid | 2013-11-15 | 3 | -0/+25 | |
| | | | | | ||||||
| * | | | | Merge pull request #258 from alex/already-finalized | David Reid | 2013-11-13 | 2 | -4/+7 | |
| |\ \ \ \ | | | | | | | | | | | Use AlreadyFinalized for symmetric ciphers | |||||
| | * | | | | Use AlreadyFinalized for symmetric ciphers | Alex Gaynor | 2013-11-13 | 2 | -4/+7 | |
| | | | | | | ||||||
| * | | | | | Add a message. | David Reid | 2013-11-13 | 1 | -4/+3 | |
| | | | | | | ||||||
| * | | | | | Make HMAC methods raise AlreadyFinalized. | David Reid | 2013-11-13 | 1 | -1/+11 | |
| |/ / / / | ||||||
| * | | | | Merge pull request #253 from dreid/hash-raise-after-finalize | Alex Gaynor | 2013-11-13 | 2 | -1/+12 | |
| |\ \ \ \ | | | | | | | | | | | 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 | 2 | -1/+12 | |
| | | | | | | ||||||
| * | | | | | Also remove teh ciphers specific class | Alex Gaynor | 2013-11-13 | 2 | -71/+63 | |
| | | | | | | ||||||
| * | | | | | Remove the hash and hmac specific classes, now that the logic is the Context ↵ | Alex Gaynor | 2013-11-13 | 3 | -26/+12 | |
| | | | | | | | | | | | | | | | | | | | | | classes they don't really add value | |||||
| * | | | | | Remove unnecesary slice bounds | Alex Gaynor | 2013-11-12 | 1 | -2/+2 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'master' into hmac-context-from-backend | David Reid | 2013-11-12 | 7 | -61/+58 | |
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/bindings/openssl/backend.py cryptography/hazmat/primitives/hmac.py | |||||
| | * | | | | Merge pull request #251 from alex/dont-query-openssl | David Reid | 2013-11-12 | 2 | -4/+4 | |
| | |\ \ \ \ | | | | | | | | | | | | | Don't query OpenSSL for block sizes, we already know them | |||||
| | | * | | | | Don't query OpenSSL for block sizes, we already know them | Alex Gaynor | 2013-11-12 | 2 | -4/+4 | |
| | | | | | | | ||||||
| | * | | | | | Drop random support for weird inheritance | Alex Gaynor | 2013-11-12 | 7 | -23/+9 | |
| | |/ / / / | ||||||
| | * | | | | Reflow Hashes.supported. | David Reid | 2013-11-12 | 1 | -3/+4 | |
| | | | | | | ||||||
| | * | | | | Get a HashContext from the backend like we do a CipherContext | David Reid | 2013-11-12 | 2 | -35/+48 | |
| | | | | | | ||||||
| * | | | | | Don't use self.__class__ | David Reid | 2013-11-12 | 2 | -2/+2 | |
| | | | | | | ||||||
| * | | | | | Get a HashContext from the hmac backend like we do a CipherContext | David Reid | 2013-11-12 | 2 | -34/+57 | |
| | | | | | | ||||||
| * | | | | | Fixed using copied hashes | Alex Gaynor | 2013-11-12 | 1 | -1/+1 | |
| |/ / / / | ||||||
| * | | | | Simple function declarations (no callbacks) | cyli | 2013-11-11 | 1 | -0/+55 | |
| | | | | | ||||||
| * | | | | Handle customizations in another PR as per @alex | cyli | 2013-11-11 | 1 | -25/+0 | |
| | | | | | ||||||
