For context, I'm making a non-production grade reference implementation of the balloon hash function using the Web Crypto API. In order to make it less susceptible to certain attacks on common memory hard KDFs, the number of memory blocks should be reduced, meaning their size should increase. I am however restricted in the choice of cryptographic functions to the functions defined in the SubtleCrypto interface of the Web Crypto API. And that leads to the question:
Can HKDF be used in place of a cryptographic hash function? None of the SHA1 or SHA2 hash functions have large enough outputs for this application. Would a longer output, say 2048-4096 bits, from HKDF-SHA512 have near equivalent security properties to plain SHA512, or would they differ in some aspect?