Home
last modified time | relevance | path

Searched refs:auth_tok (Results 1 – 2 of 2) sorted by relevance

/security/keys/encrypted-keys/
Decryptfs_format.c19 u8 *ecryptfs_get_auth_tok_key(struct ecryptfs_auth_tok *auth_tok) in ecryptfs_get_auth_tok_key() argument
21 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() argument
54 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 strncpy((char *)auth_tok->token.password.signature, key_desc, in ecryptfs_fill_auth_tok()
59 auth_tok->token.password.session_key_encryption_key_bytes = in ecryptfs_fill_auth_tok()
67 auth_tok->token.password.flags |= in ecryptfs_fill_auth_tok()
70 auth_tok->session_key.encrypted_key[0] = 0; in ecryptfs_fill_auth_tok()
71 auth_tok->session_key.encrypted_key_size = 0; in ecryptfs_fill_auth_tok()
[all …]
Decryptfs_format.h22 u8 *ecryptfs_get_auth_tok_key(struct ecryptfs_auth_tok *auth_tok);
24 int ecryptfs_fill_auth_tok(struct ecryptfs_auth_tok *auth_tok,