Lines Matching refs:token
763 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
764 s->auth_tok->token.password.session_key_encryption_key_bytes, in ecryptfs_write_tag_70_packet()
818 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
826 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
1034 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1042 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1107 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1110 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1297 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
1466 memcpy((*new_auth_tok)->token.password.salt, in parse_tag_3_packet()
1470 (*new_auth_tok)->token.password.hash_iterations = in parse_tag_3_packet()
1486 (*new_auth_tok)->token.password.hash_algo = 0x01; /* MD5 */ in parse_tag_3_packet()
1661 auth_tok->token.password.session_key_encryption_key_bytes); in decrypt_passphrase_encrypted_session_key()
1663 auth_tok->token.password.session_key_encryption_key, in decrypt_passphrase_encrypted_session_key()
1664 auth_tok->token.password.session_key_encryption_key_bytes); in decrypt_passphrase_encrypted_session_key()
1710 tfm, auth_tok->token.password.session_key_encryption_key, in decrypt_passphrase_encrypted_session_key()
1821 ecryptfs_to_hex(new_auth_tok->token.password.signature, in ecryptfs_parse_packet_set()
1823 new_auth_tok->token.password.signature[ in ecryptfs_parse_packet_set()
1901 memcpy(&(candidate_auth_tok->token.private_key), in ecryptfs_parse_packet_set()
1902 &(matching_auth_tok->token.private_key), in ecryptfs_parse_packet_set()
1909 memcpy(&(candidate_auth_tok->token.password), in ecryptfs_parse_packet_set()
1910 &(matching_auth_tok->token.password), in ecryptfs_parse_packet_set()
1974 rc = write_tag_66_packet(auth_tok->token.private_key.signature, in pki_encrypt_session_key()
2033 ecryptfs_from_hex(key_rec->sig, auth_tok->token.private_key.signature, in write_tag_1_packet()
2049 auth_tok->token.private_key.key_size; in write_tag_1_packet()
2197 ecryptfs_from_hex(key_rec->sig, auth_tok->token.password.signature, in write_tag_3_packet()
2242 if (auth_tok->token.password.flags & in write_tag_3_packet()
2246 auth_tok->token.password. in write_tag_3_packet()
2249 auth_tok->token.password.session_key_encryption_key, in write_tag_3_packet()
2368 memcpy(&dest[(*packet_size)], auth_tok->token.password.salt, in write_tag_3_packet()