aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-08-21 20:16:24 +0000
committerlloyd <[email protected]>2010-08-21 20:16:24 +0000
commite7d9701a86658efbc316ccfeaf48cec8c094fc35 (patch)
treefa4a7bb4e91dc0eddaace256b7c18fb41dfa60ca /src/build-data
parentd34c9569af1c230c3ee52cef18aadf7d10bdf563 (diff)
When creating a PBKDF2, first check if the argument name is a known
MAC. If it is, use it as the PRF. Otherwise assume it is a hash function and use it with HMAC. Instead of instantiating the HMAC directly, go through the algorithm factory. Add a test using PBKDF2 with CMAC(Blowfish); Blowfish mainly because it supports arbitrarily large keys, and also the required 4 KiB of sbox tables actually would make it fairly useful in that it would make cracking using hardware or GPUs rather expensive. Have not confirmed this vector against any other implementation because I don't know of any other implementation of PBKDF2 that supports MACs other than HMAC.
Diffstat (limited to 'src/build-data')
0 files changed, 0 insertions, 0 deletions