aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hash.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update to nightly: explicit Copy traitValerii Hiora2014-12-111-0/+1
|
* Hasher: static contract checking, context reuseGleb Kozyrev2014-11-261-22/+63
| | | | | | | | | | | | - Store EVP_MD_CTX in a separate struct. - Add with_context() constructor that uses an existing context. - Switch to EVP_Digest(Init|Final)_ex for efficient context reuse. - Make update() borrow &mut self. - Make finalize() consume self. Add finalize_reuse() that also returns the context which can be passed to from_context() constructor for reuse. These changes let the type system prevent illegal calls to update() and finalize().
* Fixed compilation errors related to namedspaced enumsJames Hurst2014-11-171-12/+12
|
* Move AES XTS support to a featureSteven Fackler2014-11-161-1/+1
|
* Hasher::write(): add basic testCody P Schafer2014-11-071-0/+13
|
* crypto/hash: impl Writer for Hasher to allow use of Reader-Writer ↵Cody P Schafer2014-11-071-0/+8
| | | | convenience functions
* Correct init mutexes and locking functionValerii Hiora2014-10-141-0/+2
| | | | | | | | | `libcrypto` uses locks quite intensively even without SSL. So they should be initialized before everything else to function properly in multi-threaded apps in which SSL operations are absent or delayed. Finishes #79
* "final" is now a reserved word, so change occurrences to "finalize".Samuel Fredrickson2014-10-091-2/+2
|
* single `ffi` moduleValerii Hiora2014-09-301-54/+17
|
* Update for rust rfc 52 changesMichael Gehring2014-09-171-1/+1
|
* Fix lints for non snake-case functionsAndrew Dunham2014-09-041-0/+1
|
* Add repr(C) to C structsMichael Gehring2014-08-221-0/+3
|
* Add new HashType RIPEMD160Jeremy Ruten2014-08-041-1/+15
|
* Shift directory structureSteven Fackler2014-08-031-0/+187
|
* Prepare rustcrypto to merge into rust-opensslSteven Fackler2013-12-281-177/+0
|
* update to rust 0.9-pre (a5fa1d9)Erick Tryzelaar2013-12-271-47/+37
|
* Switch over to rustpkgErick Tryzelaar2013-12-181-0/+187