Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | 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 | |
|/ / / / / / | ||||||
* | | | | | | Merge pull request #268 from reaperhulk/nist-loader-section-fix | David Reid | 2013-11-18 | 2 | -43/+53 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | modify nist loader to support multi-line GCM sections | |||||
| * | | | | | | simplify nist loader to completely ignore sections | Paul Kehrer | 2013-11-18 | 2 | -55/+37 | |
| | | | | | | | ||||||
| * | | | | | | modify nist loader to support multi-line GCM sections | Paul Kehrer | 2013-11-18 | 2 | -1/+29 | |
| | | | | | | | ||||||
* | | | | | | | 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 | 3 | -4/+138 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |
| | | | | | | | | ||||||
| * | | | | | | | GCM loader support | Paul Kehrer | 2013-11-12 | 2 | -1/+135 | |
| | | | | | | | | ||||||
* | | | | | | | | Get a HashContext from the hmac backend like we do a CipherContext | David Reid | 2013-11-12 | 1 | -2/+3 | |
|/ / / / / / / | ||||||
* | | | | | | | Merge pull request #246 from alex/delete-tests | David Reid | 2013-11-12 | 1 | -151/+15 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Simplify and make better hte tests for load_from_file | |||||
| * | | | | | | | flake8 | Alex Gaynor | 2013-11-12 | 1 | -0/+1 | |
| | | | | | | | | ||||||
| * | | | | | | | fixed bytes | Alex Gaynor | 2013-11-12 | 1 | -4/+4 | |
| | | | | | | | | ||||||
| * | | | | | | | simplify | Alex Gaynor | 2013-11-12 | 1 | -11/+17 | |
| | | | | | | | | ||||||
| * | | | | | | | Simplify and make better hte tests for load_from_file | Alex Gaynor | 2013-11-12 | 1 | -154/+11 | |
| |/ / / / / / | ||||||
* / / / / / / | 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 | 11 | -93/+83 | |
| | | | | | | | | | | | | | | | | | | | | | | | | All tests updated to work with the new simplified loader | |||||
* | | | | | | Removed some tests that are now duplicates | Alex Gaynor | 2013-11-11 | 1 | -159/+2 | |
| | | | | | | ||||||
* | | | | | | Ignore the sections of the NIST files | Alex Gaynor | 2013-11-11 | 7 | -33/+134 | |
| | | | | | | ||||||
* | | | | | | Simplify the code by doing the filtering earlier, rather than later | Alex Gaynor | 2013-11-11 | 1 | -5/+9 | |
| | | | | | | ||||||
* | | | | | | 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 | |
| | | | | |