aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
| * | openssl initial bio support (refs #77)Paul Kehrer2013-10-153-1/+168
| | |
| * | Merge pull request #102 from reaperhulk/openssl-conf-supportAlex Gaynor2013-10-152-0/+27
| |\ \ | | | | | | | | skeleton openssl conf support refs #77
| | * | skeleton openssl conf support refs #77Paul Kehrer2013-10-142-0/+27
| | | |
| * | | add some openssl CRYPTO_* methods for memory debugging. refs #77Paul Kehrer2013-10-141-0/+10
| |/ /
| * | loop over functions and macros separately rather than using zipPaul Kehrer2013-10-121-3/+2
| | |
| * | Load types from all cffi modules before declaring functions or macrosPaul Kehrer2013-10-121-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change loads all the types via cdef & then loops over the macros & functions and cdefs them. The advantage of this approach is that you can define the types in the right modules without worrying about import order. For example, if you need the BIO typedef in the asn1 module but it is defined in the bio module you can still import the modules alphabetically and expect that BIO will be properly declared.
| * | Initial bindings for OpenSSL ENGINE support.Paul Kehrer2013-10-083-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | * These bindings are sufficient to allow a user to use the rdrand engine (if available) and set an instantiated engine as a default for various operations. * Reminder: OpenSSL engines require careful management of both structural and functional references or else you'll leak memory.
| * | add openssl err bindingsPaul Kehrer2013-10-082-0/+58
| |/
| * Make key_sizes a frozenset, since these are/should be immutableMarcin Wielgoszewski2013-10-061-1/+1
| |
| * rand bindings for openssl (refs #77)Paul Kehrer2013-10-052-0/+38
| | | | | | | | | | | | These bindings should be used with care as there are many opportunities to shoot yourself in the foot. Take special care to re-seed on process fork and for the love of god don't use DUAL_EC_DRBG
| * jokers to the left, pointers to the rightPaul Kehrer2013-10-051-1/+1
| |
| * too many rsas makes me rsa blindPaul Kehrer2013-10-051-1/+1
| |
| * remove local variable names from function declarationsPaul Kehrer2013-10-051-3/+3
| |
| * Bindings for OpenSSL's RSA. Refs #77Paul Kehrer2013-10-052-0/+32
| |
| * Merge branch 'master' into bind-dhAlex Gaynor2013-10-044-1/+60
| |\ | | | | | | | | | | | | Conflicts: cryptography/bindings/openssl/api.py
| | * Merge branch 'master' into bind-dsaAlex Gaynor2013-10-043-1/+29
| | |\ | | | | | | | | | | | | | | | | Conflicts: cryptography/bindings/openssl/api.py
| | | * Merge pull request #88 from pyca/bind-cryptoDonald Stufft2013-10-042-0/+28
| | | |\ | | | | | | | | | | Bind OpenSSL's crypto. Refs #77
| | | | * Bind OpenSSL's crypto. Refs #77Alex Gaynor2013-10-032-0/+28
| | | | |
| | | * | Switch all repositories over to the new locationDonald Stufft2013-10-041-1/+1
| | | |/
| | * / Added bindings for OpenSSL's DSA. Refs #77.Alex Gaynor2013-10-032-0/+31
| | |/
| * / Bind OpenSSL's DH. Refs #77Alex Gaynor2013-10-032-0/+29
| |/
| * Use a None default so composition is easierAlex Gaynor2013-10-031-1/+5
| |
| * Make default_api privateAlex Gaynor2013-10-032-3/+3
| |
| * Explicitly pass around the API, and run all tests under all available APIsAlex Gaynor2013-10-032-5/+22
| |
| * Remove this, it properly belongs to ASN1, and that's for a seperate PRAlex Gaynor2013-10-021-4/+0
| |
| * Thsi is a macroAlex Gaynor2013-10-021-2/+1
| |
| * Fixes to match teh C headersAlex Gaynor2013-10-021-2/+6
| |
| * Merge branch 'master' into bind-bignumAlex Gaynor2013-10-023-4/+25
| |\
| | * Merge pull request #78 from alex/check-cffiDonald Stufft2013-10-023-4/+22
| | |\ | | | | | | | | Be stricter in type checking the C prototypes
| | | * Added an explanatory commentAlex Gaynor2013-10-021-0/+8
| | | |
| | | * Move to a saner approachAlex Gaynor2013-10-023-13/+13
| | | |
| | | * Rewrite this commentAlex Gaynor2013-10-011-1/+1
| | | |
| | | * Try without thisAlex Gaynor2013-09-301-4/+2
| | | |
| | | * Give upAlex Gaynor2013-09-301-8/+1
| | | |
| | | * Everything but shut some offAlex Gaynor2013-09-301-1/+8
| | | |
| | | * A flag too farAlex Gaynor2013-09-301-1/+1
| | | |
| | | * only pass these on OS XAlex Gaynor2013-09-301-9/+12
| | | |
| | | * Some commentsAlex Gaynor2013-09-301-1/+6
| | | |
| | | * Different flagsAlex Gaynor2013-09-301-1/+4
| | | |
| | | * Do this alwaysAlex Gaynor2013-09-301-1/+2
| | | |
| | * | Added a EVP_CIPHER_CTX_init() callPaul Kehrer2013-09-302-0/+3
| | |/ | | | | | | | | | | | | | | | | | | * In OpenSSL when you alloc an EVP_CIPHER_CTX you must then init it (which just zeroes the allocated memory). If you do not then it is possible for things to kerplode when passing the uninitialized context to EVP_EncryptInit_ex(). This patch fixes that.
| * / Added bindings for OpenSSL's bn.hAlex Gaynor2013-09-302-0/+36
| |/
| * Make the lib and ffi public for the OpenSSL binding and document themAlex Gaynor2013-09-301-25/+25
| |
| * Corrected the copyrightAlex Gaynor2013-09-291-1/+1
| |
| * Dedent the C declarations to give us more space to work withAlex Gaynor2013-09-282-19/+21
| |
| * Inline this function, it didn't do muchAlex Gaynor2013-09-131-9/+3
| |
| * Slightly clean up the OpenSSL bindingAlex Gaynor2013-09-131-23/+15
| | | | | | | | | | - reduce the amount of state needed on the API instance - fixed import ordering
| * remove import function, rename attrs to upper in modulesPaul Kehrer2013-09-133-16/+9
| |
| * Various PR review fixesPaul Kehrer2013-09-135-67/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed some single quotes to double quotes * Moved the files in the cffi package back into the openssl package * evp, opensslv * Changed attrs from ALL CAPS * Fixed up docstrings * Stopped using fromlist=['*'] * No fallback on definition imports. You must supply includes, types, functions * Change includes, types, functions to be strings rather than lists for now * Removed teardown since we're not using it right now
| * API refactor to separate cffi declarationsPaul Kehrer2013-09-134-30/+103
| | | | | | | | | | | | | | * Moved to structure similar to OpenTLS * api modified to load the cffi modules * cffi verify methods broken out * Jarret Raim and I pair programmed this