aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/chunk.c
Commit message (Collapse)AuthorAgeFilesLines
* chunk: Print chunks without separator if + modifier is usedTobias Brunner2013-08-241-2/+2
|
* chunk: Add predictable hash functionTobias Brunner2013-06-281-0/+22
| | | | | Since chunk_hash() is randomized its output is not predictable, that is, it is only within the same process.
* Randomly allocate chunk_hash() key during first useTobias Brunner2013-06-111-1/+46
| | | | This avoids hash flooding attacks.
* Replace chunk_hash() with output from chunk_mac()Tobias Brunner2013-06-111-75/+23
| | | | | | | 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-4Tobias Brunner2013-06-111-1/+117
|
* Moved chunk_t to utils folderTobias Brunner2012-10-241-0/+690