Details: OS: Windows 2000 Compiler Visual C++ 6.0 Exact Error message: CRYPTOPP\CRYPTOPP\pwdbased.h(54): assert(derivedLen <= MaxDerivedLength()); Stack trace: Didn't get that far
I wont even bother with a code snippet as this appears to be very simple. in pwdbased.h for PKCS5_PBKDF1 it uses MaxDerivedLength() whereas in PKCS5_PBKDF2_HMAC it uses MaxDerivedKeyLength(). MaxDerivedLength() exists nowhere in the library, MaxDerivedKeyLength() does. So is this just a typo? If so can we fix it? I know it is not recommended to use PKCS5_PBKDF1 by RSA, but still.... Cheers, Ian.
