The two functions looked identical, drop mschapv2_nt_password_hash and update callers to use mschap_nt_password_hash from mschaputil.c/.h.
Add the key-derivation and hash functions required for mschapv2. The eap-mschapv2 protocol can be implemented on top of these functions.