[PATCH v5 3/8] common: integrate crypt-based passwords