[PATCH 1/2] ecc: add API's to support EAP-PWD