270
270
#ifdef CONFIG_CIFS_WEAK_PW_HASH
271
void calc_lanman_hash(const char *password, const char *cryptkey, bool encrypt,
271
int calc_lanman_hash(const char *password, const char *cryptkey, bool encrypt,
275
276
char password_with_pad[CIFS_ENCPWD_SIZE];
277
278
memset(password_with_pad, 0, CIFS_ENCPWD_SIZE);