summaryrefslogtreecommitdiff
path: root/src/message_digest_helper.cc
Commit message (Collapse)AuthorAgeFilesLines
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-17/+13
|
* Make clang (OSX) happy againNils Maier2015-06-241-0/+1
|
* Use user-defined literal for k, m, and g (powers of 1024)Tatsuhiro Tsujikawa2015-06-211-8/+7
|
* Use std::unique_ptr for MessageDigestTatsuhiro Tsujikawa2013-07-031-2/+2
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-3/+3
|
* Removed unused staticSHA1DigestTatsuhiro Tsujikawa2012-12-071-24/+0
|
* Removed *Handle typedefTatsuhiro Tsujikawa2012-09-281-1/+1
|
* Use int64_t instead of off_tTatsuhiro Tsujikawa2012-07-231-2/+2
| | | | | | | | Using off_t, at least, in DiskAdaptor layer is problematic because torrent can contain under 2GiB files but total sum of those files may exceed 2GiB limit, which makes off_t overflow in 32 bit system without large file support. So we use int64_t in API. We'll check the file length before download so that it does not exceed max off_t.
* Replaced uint64_t with off_t or int64_t.Tatsuhiro Tsujikawa2011-12-091-4/+4
| | | | | Since off_t is int64_t with LFS, we cannot take advantage of extra capacity of uint64_t.
* Stored hash value as raw byte string, instead of hex digest.Tatsuhiro Tsujikawa2011-10-131-4/+4
|
* Renamed MessageDigestHelper as message_digest_helperTatsuhiro Tsujikawa2011-02-051-0/+121
Static member variables in MessageDigestHelper class are now functions under message_digest namespace.