Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chunk: Add predictable hash function | Tobias Brunner | 2013-06-28 | 1 | -1/+31 |
| | | | | | Since chunk_hash() is randomized its output is not predictable, that is, it is only within the same process. | ||||
* | Use local variable in chunk_from_str() | Tobias Brunner | 2013-06-11 | 1 | -2/+2 |
| | | | | | This allows using strdup() or other string functions as argument without calling them twice. | ||||
* | Replace chunk_hash() with output from chunk_mac() | Tobias Brunner | 2013-06-11 | 1 | -0/+8 |
| | | | | | | | The quality is way better, the calculation is a bit slower though. The key is statically initialized to zero, which will be changed later to prevent hash flooding. | ||||
* | Adding chunk_mac() which calculates a 64-bit MAC using SipHash-2-4 | Tobias Brunner | 2013-06-11 | 1 | -2/+16 |
| | |||||
* | Add a chunk_from_str() initializer that does not include 0-terminator | Martin Willi | 2013-01-15 | 1 | -0/+5 |
| | |||||
* | Moved utils.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved chunk_t to utils folder | Tobias Brunner | 2012-10-24 | 1 | -0/+318 |