Home
last modified time | relevance | path

Searched refs:password (Results 1 – 10 of 10) sorted by relevance

/fs/ecryptfs/
Ddebug.c29 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok()
33 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok()
37 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
Dkeystore.c760 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
761 s->auth_tok->token.password.session_key_encryption_key_bytes, in ecryptfs_write_tag_70_packet()
815 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
823 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
1031 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1039 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1104 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1463 memcpy((*new_auth_tok)->token.password.salt, in parse_tag_3_packet()
1467 (*new_auth_tok)->token.password.hash_iterations = in parse_tag_3_packet()
1483 (*new_auth_tok)->token.password.hash_algo = 0x01; /* MD5 */ in parse_tag_3_packet()
[all …]
/fs/cifs/
Dcifsencrypt.c281 rc = SMBNTencrypt(ses->password, ses->server->cryptkey, in setup_ntlm_response()
289 rc = E_md4hash(ses->password, temp_key, nls_cp); in setup_ntlm_response()
305 int calc_lanman_hash(const char *password, const char *cryptkey, bool encrypt, in calc_lanman_hash() argument
312 if (password) { in calc_lanman_hash()
314 if (!password[len]) in calc_lanman_hash()
317 memcpy(password_with_pad, password, len); in calc_lanman_hash()
512 E_md4hash(ses->password, nt_hash, nls_cp); in calc_ntlmv2_hash()
Dconnect.c1984 kfree_sensitive(vol->password); in cifs_parse_mount_options()
1985 vol->password = NULL; in cifs_parse_mount_options()
2022 kfree_sensitive(vol->password); in cifs_parse_mount_options()
2025 vol->password = kzalloc(temp_len+1, GFP_KERNEL); in cifs_parse_mount_options()
2026 if (vol->password == NULL) { in cifs_parse_mount_options()
2032 vol->password[j] = value[i]; in cifs_parse_mount_options()
2038 vol->password[j] = '\0'; in cifs_parse_mount_options()
2712 ses->password != NULL && in match_session()
2713 strncmp(ses->password, in match_session()
2714 vol->password ? vol->password : "", in match_session()
[all …]
Ddfs_cache.c1153 if (vol->password) { in dup_vol()
1154 new->password = kstrndup(vol->password, strlen(vol->password), in dup_vol()
1156 if (!new->password) in dup_vol()
1194 kfree_sensitive(new->password); in dup_vol()
Dcifsglob.h538 char *password; member
998 char *password; member
1100 char *password; /* for share-level security */ member
Dmisc.c106 kfree_sensitive(buf_to_free->password); in sesInfoFree()
151 kfree_sensitive(buf_to_free->password); in tconInfoFree()
Dsess.c215 vol.password = ses->password; in cifs_ses_add_channel()
1002 rc = calc_lanman_hash(ses->password, ses->server->cryptkey, in sess_auth_lanman()
DKconfig91 security mechanisms. These hash the password more securely
Dcifsproto.h506 extern int calc_lanman_hash(const char *password, const char *cryptkey,