Replace chunk_hash() with output from chunk_mac()
authorTobias Brunner <tobias@strongswan.org>
Tue, 26 Mar 2013 18:24:24 +0000 (19:24 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Jun 2013 09:03:11 +0000 (11:03 +0200)
commitd1953fe403a91d6f7a08fd4cdd0b01cf7106733d
tree5079b1f304e0a682a015ab70047d55ee94ab1fb7
parent1255de5a2076dc591dfa1ffefffea077bd218319
Replace chunk_hash() with output from chunk_mac()

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.
src/libstrongswan/utils/chunk.c
src/libstrongswan/utils/chunk.h