extract some pbkdf2 constants into macros