Home
last modified time | relevance | path

Searched refs:session_key (Results 1 – 6 of 6) sorted by relevance

/fs/ecryptfs/
Ddebug.c43 auth_tok->session_key.flags); in ecryptfs_dump_auth_tok()
44 if (auth_tok->session_key.flags in ecryptfs_dump_auth_tok()
48 if (auth_tok->session_key.flags in ecryptfs_dump_auth_tok()
52 if (auth_tok->session_key.flags & ECRYPTFS_CONTAINS_DECRYPTED_KEY) { in ecryptfs_dump_auth_tok()
56 auth_tok->session_key.decrypted_key_size); in ecryptfs_dump_auth_tok()
60 ecryptfs_dump_hex(auth_tok->session_key.decrypted_key, in ecryptfs_dump_auth_tok()
63 if (auth_tok->session_key.flags & ECRYPTFS_CONTAINS_ENCRYPTED_KEY) { in ecryptfs_dump_auth_tok()
67 auth_tok->session_key.encrypted_key_size); in ecryptfs_dump_auth_tok()
71 ecryptfs_dump_hex(auth_tok->session_key.encrypted_key, in ecryptfs_dump_auth_tok()
72 auth_tok->session_key. in ecryptfs_dump_auth_tok()
Dkeystore.c144 write_tag_64_packet(char *signature, struct ecryptfs_session_key *session_key, in write_tag_64_packet() argument
162 + session_key->encrypted_key_size); in write_tag_64_packet()
182 session_key->encrypted_key_size, in write_tag_64_packet()
190 memcpy(&message[i], session_key->encrypted_key, in write_tag_64_packet()
191 session_key->encrypted_key_size); in write_tag_64_packet()
192 i += session_key->encrypted_key_size; in write_tag_64_packet()
199 parse_tag_65_packet(struct ecryptfs_session_key *session_key, u8 *cipher_code, in parse_tag_65_packet() argument
257 session_key->decrypted_key_size = m_size - 3; in parse_tag_65_packet()
258 if (session_key->decrypted_key_size > ECRYPTFS_MAX_KEY_BYTES) { in parse_tag_65_packet()
261 session_key->decrypted_key_size, in parse_tag_65_packet()
[all …]
/fs/cifs/
Dcifsglob.h132 struct session_key { struct
729 struct session_key session_key; member
999 struct session_key auth_key;
Dcifsencrypt.c132 server->session_key.response, server->session_key.len); in cifs_calc_signature()
Dsess.c916 ses->server->session_key.response = in sess_establish_session()
919 if (!ses->server->session_key.response) { in sess_establish_session()
923 ses->server->session_key.len = in sess_establish_session()
Dconnect.c482 kfree(server->session_key.response); in cifs_reconnect()
483 server->session_key.response = NULL; in cifs_reconnect()
484 server->session_key.len = 0; in cifs_reconnect()
2520 kfree(server->session_key.response); in cifs_put_tcp_session()
2521 server->session_key.response = NULL; in cifs_put_tcp_session()
2522 server->session_key.len = 0; in cifs_put_tcp_session()