summaryrefslogtreecommitdiff
path: root/src/message_digest_helper.h
Commit message (Collapse)AuthorAgeFilesLines
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-8/+4
|
* Fixed some typos in code commentsDan Fandrich2015-01-161-1/+1
|
* 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-5/+4
|
* Removed unused staticSHA1DigestTatsuhiro Tsujikawa2012-12-071-17/+0
|
* 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-2/+2
| | | | | 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-3/+3
|
* Renamed MessageDigestHelper as message_digest_helperTatsuhiro Tsujikawa2011-02-051-0/+90
Static member variables in MessageDigestHelper class are now functions under message_digest namespace.