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 /checks/validate.dat | |
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 'checks/validate.dat')
-rw-r--r-- | checks/validate.dat | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/checks/validate.dat b/checks/validate.dat index 594f7ed2f..d6d9c6699 100644 --- a/checks/validate.dat +++ b/checks/validate.dat @@ -60664,6 +60664,11 @@ C9A0B2622F13916036E29E7462E206E8BA5B50CE9212752EB8EA2A4AA7B40A4CC1BF:\ 350381FADEAEB560DC447AFC68A6B47E6EA1E7412F6CF7B2D82342FCCD11D3B4:\ A39B76C6EEC8374A11493AD08C246A3E40DFAE5064F4EE3489C273646178:64:1000 +[PBKDF2(CMAC(Blowfish))] +7871796668727865686965646C6865776E76626A:\ +43734BADB91F5D89DB20B469CD2EF376CAABC226EE3952872050428EFB5E3026:\ +24A1A50B17D63EE8394B69FC70887F4F94883D68:32:5 + # MARKER: Encoders/Decoders # Format is input:output |