diff options
author | lloyd <[email protected]> | 2010-08-21 20:16:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-08-21 20:16:24 +0000 |
commit | e7d9701a86658efbc316ccfeaf48cec8c094fc35 (patch) | |
tree | fa4a7bb4e91dc0eddaace256b7c18fb41dfa60ca /src/build-data/arch | |
parent | d34c9569af1c230c3ee52cef18aadf7d10bdf563 (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/arch')
0 files changed, 0 insertions, 0 deletions