Lines Matching refs:token
5 * write authentication token-related packets with the underlying
445 * @auth_tok_key: key containing the authentication token
446 * @auth_tok: authentication token
760 (u8 *)s->auth_tok->token.password.session_key_encryption_key,
761 s->auth_tok->token.password.session_key_encryption_key_bytes,
815 s->auth_tok->token.password.session_key_encryption_key,
819 "rc = [%d]. s->auth_tok->token.password.session_key_"
823 s->auth_tok->token.password.session_key_encryption_key,
1031 s->auth_tok->token.password.session_key_encryption_key,
1035 "rc = [%d]. s->auth_tok->token.password.session_key_"
1039 s->auth_tok->token.password.session_key_encryption_key,
1104 (*sig) = auth_tok->token.password.signature;
1107 (*sig) = auth_tok->token.private_key.signature;
1119 * @auth_tok: The key authentication token used to decrypt the session key
1210 * a new authentication token will be placed at the
1294 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature,
1342 * a new authentication token will be placed at the end
1463 memcpy((*new_auth_tok)->token.password.salt,
1467 (*new_auth_tok)->token.password.hash_iterations =
1483 (*new_auth_tok)->token.password.hash_algo = 0x01; /* MD5 */
1639 * @auth_tok: The passphrase authentication token to use to encrypt the FEK
1658 auth_tok->token.password.session_key_encryption_key_bytes);
1660 auth_tok->token.password.session_key_encryption_key,
1661 auth_tok->token.password.session_key_encryption_key_bytes);
1707 tfm, auth_tok->token.password.session_key_encryption_key,
1748 * Returns Zero if a valid authentication token was retrieved and
1802 "authentication token "
1818 ecryptfs_to_hex(new_auth_tok->token.password.signature,
1820 new_auth_tok->token.password.signature[
1859 * authentication token that has the secret component(s)
1892 "authentication token\n");
1898 memcpy(&(candidate_auth_tok->token.private_key),
1899 &(matching_auth_tok->token.private_key),
1906 memcpy(&(candidate_auth_tok->token.password),
1907 &(matching_auth_tok->token.password),
1922 "session key for authentication token with sig "
1971 rc = write_tag_66_packet(auth_tok->token.private_key.signature,
2007 * @auth_tok_key: The authentication token key to unlock and put when done with
2009 * @auth_tok: The authentication token used for generating the tag 1 packet
2030 ecryptfs_from_hex(key_rec->sig, auth_tok->token.private_key.signature,
2046 auth_tok->token.private_key.key_size;
2164 * @auth_tok: Authentication token
2194 ecryptfs_from_hex(key_rec->sig, auth_tok->token.password.signature,
2239 if (auth_tok->token.password.flags &
2243 auth_tok->token.password.
2246 auth_tok->token.password.session_key_encryption_key,
2365 memcpy(&dest[(*packet_size)], auth_tok->token.password.salt,
2470 "authentication token type\n");