aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix error messagesJared Roesch2014-10-051-3/+3
| |
| * Address CR comments and add a testJared Roesch2014-10-051-9/+21
| |
| * Make errors human readableJared Roesch2014-10-053-9/+17
| | | | | | | | Change error messages from numeric codes to human readable strings. This makes debugging failures much easier.
| * Clean up warningsSteven Fackler2014-10-042-2/+2
| |
| * Changes made to support 0.12.0-dev ( October 2, 2014 )D.K2014-10-042-5/+3
| |
| * Merge pull request #64 from reem/fix/big-num-is-zeroSteven Fackler2014-10-041-2/+7
| |\ | | | | | | Add a dummy bn_is_zero C dependency to wrap BN_is_zero
| | * Add a dummy bn_is_zero C dependency to wrap BN_is_zeroJonathan Reem2014-10-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary because on some architectures BN_is_zero is a CPP macro, so trying to link against it in an `extern "C"` block causes a linker error. This also introduces a build command to Cargo to compile the bn_is_zero wrapper.
| * | Merge pull request #58 from vhbit/verify-dataSteven Fackler2014-10-044-3/+133
| |\ \ | | |/ | |/| User-provided data in verify
| | * Simpler setter for verify with dataValerii Hiora2014-10-042-3/+5
| | | | | | | | | | | | | | | There is no need in wrapping function in option as there is no sense in providing data without function.
| | * User-provided data in verifyValerii Hiora2014-10-024-3/+131
| | |
| * | Add bindings to CRYPTO_memcmpAlex Crichton2014-10-013-1/+43
| |/ | | | | | | This should help other projects use a constant-time memory comparison.
| * Unification and explicity in FFI type declsValerii Hiora2014-09-302-19/+19
| |
| * Fixed mut_null deprecation warningsValerii Hiora2014-09-302-5/+5
| |
| * single `ffi` moduleValerii Hiora2014-09-3015-649/+571
| |
| * Merge pull request #53 from vhbit/cert-genSteven Fackler2014-09-309-313/+782
| |\ | | | | | | Certificate/PKey generation & PEM export
| | * Addressed review commentsValerii Hiora2014-09-284-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed invalid file permissions - removed redundand mem::transmute - removed outdated FIXME's - removed redundand temporary variable - removed macro_export for internal macros
| | * Certificate/pkey generation & PEM exportValerii Hiora2014-09-269-313/+791
| | | | | | | | | Required quite a lot of refactoring
* | | Added mod_mul.Chris Cole2014-11-291-0/+7
|/ /
* | Removed BN_sub_word signature for the time being.Chris Cole2014-09-281-1/+0
| |
* | Removing unused signatures for the time being.Chris Cole2014-09-271-3/+0
| |
* | Use CRYPTO_free to free the result of BN_bn2bin.Chris Cole2014-09-271-6/+2
| |
* | Added signatures forBN_sub_word, BN_is_zero, BN_is_one, BN_is_word,Chris Cole2014-09-271-4/+53
|/ | | | | | | | and BN_is_odd. Fixed incorrect BN_mod_inverse signature. Added signature for BN_bn2dec. Added trait implementations for Zero, One, and fmt::Show. Added to_dec_str function to BigNum impl.
* Merge pull request #46 from vhbit/tls1-2-supportSteven Fackler2014-09-252-4/+27
|\ | | | | Enabling TLS1.2 support
| * TLS 1_1, 1_2, Ssl 2 is enabled by featuresValerii Hiora2014-09-232-5/+12
| |
| * Enabling TLS1.2 supportValerii Hiora2014-09-232-1/+17
| | | | | | | | | | | | | | Unfortunately OS X comes with 0.9.8 bundled. There is a way to install a recent version through homebrew, however it is extremely hard to make it link agains brewed version without tricking link version
* | Fix deprecation warningsMichael Gehring2014-09-232-29/+34
|/
* Get certificate fingerprintValerii Hiora2014-09-202-2/+28
|
* Merge pull request #47 from vhbit/cert-key-authSteven Fackler2014-09-192-7/+45
|\ | | | | Allow to set cert/key pair
| * Fixed documentation stringValerii Hiora2014-09-171-1/+1
| |
| * Allow to set cert/key pairValerii Hiora2014-09-172-7/+45
| |
* | Update for rust rfc 52 changesMichael Gehring2014-09-173-6/+6
| |
* | Switch to the more sane RSA PUBKEY functionMathijs van de Nes2014-09-121-4/+4
| | | | | | | | | | | | | | For differences, see: http://openssl.6102.n7.nabble.com/difference-between-i2d-PUBKEY-and-i2d-PublicKey-td43869.html This will break loading of *public* keys generated before this commit
* | Switch PKey load/save functions to RSA specificMathijs van de Nes2014-09-121-15/+17
|/
* Remove failing constructor wrappersSteven Fackler2014-09-052-45/+28
|
* Merge pull request #39 from andrew-d/andrew-support-tls-sniSteven Fackler2014-09-052-10/+44
|\ | | | | Allow setting hostname to support TLS-SNI
| * Make Ssl public, add new constructor to SslStream that takes an Ssl instanceAndrew Dunham2014-09-041-10/+15
| |
| * Allow setting hostname to support TLS-SNIAndrew Dunham2014-09-042-0/+29
| |
* | Merge pull request #38 from andrew-d/andrew-get-compressionSteven Fackler2014-09-042-0/+20
|\ \ | | | | | | Allow getting the compression used in a connection
| * | Allow getting the compression used in a connectionAndrew Dunham2014-09-042-0/+20
| |/
* | Merge pull request #37 from andrew-d/andrew-fix-lintsSteven Fackler2014-09-043-2/+3
|\ \ | | | | | | Fix lints for non snake-case functions
| * | Fix lints for non snake-case functionsAndrew Dunham2014-09-043-2/+3
| |/
* / Derive things on SslMethodAndrew Dunham2014-09-041-0/+1
|/
* Fix the ambiguous integer literal errorEunchong Yu2014-08-271-1/+1
| | | | | | | | | This commit fixes this: > src/crypto/symm.rs:95:25: 95:52 error: cannot determine a type for > this expression: cannot determine the type of this integer; add a > suffix to specify the type explicitly [E0101] > src/crypto/symm.rs:95 let v = if padding { 1 } else { 0 } as c_int;
* Add repr(C) to C structsMichael Gehring2014-08-223-0/+6
|
* Use BN_div instead of BN_modIsraël Hallé2014-08-201-2/+1
| | | | | BN_mod is not available on all plateform and can be replaced by BN_div with dv set as NULL.
* Derive thigs for error typesSteven Fackler2014-08-101-2/+2
|
* Add new HashType RIPEMD160Jeremy Ruten2014-08-042-8/+23
|
* Shift directory structureSteven Fackler2014-08-0313-0/+2827
|
* Prepare rustcrypto to merge into rust-opensslSteven Fackler2013-12-288-1226/+0
|
* update to rust 0.9-pre (a5fa1d9)Erick Tryzelaar2013-12-278-366/+279
|