Searched refs:auth_tok (Results 1 – 3 of 3) sorted by relevance
19 u8 *ecryptfs_get_auth_tok_key(struct ecryptfs_auth_tok *auth_tok) in ecryptfs_get_auth_tok_key() argument21 return auth_tok->token.password.session_key_encryption_key; in ecryptfs_get_auth_tok_key()48 int ecryptfs_fill_auth_tok(struct ecryptfs_auth_tok *auth_tok, in ecryptfs_fill_auth_tok() argument54 auth_tok->version = (((uint16_t)(major << 8) & 0xFF00) in ecryptfs_fill_auth_tok()56 auth_tok->token_type = ECRYPTFS_PASSWORD; in ecryptfs_fill_auth_tok()57 strscpy_pad(auth_tok->token.password.signature, key_desc); in ecryptfs_fill_auth_tok()58 auth_tok->token.password.session_key_encryption_key_bytes = in ecryptfs_fill_auth_tok()66 auth_tok->token.password.flags |= in ecryptfs_fill_auth_tok()69 auth_tok->session_key.encrypted_key[0] = 0; in ecryptfs_fill_auth_tok()70 auth_tok->session_key.encrypted_key_size = 0; in ecryptfs_fill_auth_tok()[all …]
22 u8 *ecryptfs_get_auth_tok_key(struct ecryptfs_auth_tok *auth_tok);24 int ecryptfs_fill_auth_tok(struct ecryptfs_auth_tok *auth_tok,
42 void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok);60 struct ecryptfs_auth_tok *auth_tok; member116 struct ecryptfs_auth_tok *auth_tok; in ecryptfs_get_key_payload_data() local119 auth_tok = ecryptfs_get_encrypted_key_payload_data(key); in ecryptfs_get_key_payload_data()120 if (auth_tok) in ecryptfs_get_key_payload_data()121 return auth_tok; in ecryptfs_get_key_payload_data()354 struct ecryptfs_auth_tok auth_tok; member641 struct ecryptfs_auth_tok **auth_tok,