Return correct error codes when nvm_set_master_passphrase api is called with long passwords
Return correct error codes when nvm_set_master_passphrase api is called with long passwords

Add a check to determine if the supplied old password or new password for the api is longer
than maximum password length and return relevant error code.

Signed-off-by: James Sushanth Anandraj <5e55a276c5ad8927da565a0d87b619725f490f3e@intel.com>

intel/ipmctl,intel/ipmctl,intel/ipmctl,intel/ipmctl