Searched refs:auth_tok (Results 1 – 5 of 5) sorted by relevance
/fs/ecryptfs/ |
D | debug.c | 32 void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok) in ecryptfs_dump_auth_tok() argument 38 auth_tok); in ecryptfs_dump_auth_tok() 39 if (auth_tok->flags & ECRYPTFS_PRIVATE_KEY) { in ecryptfs_dump_auth_tok() 43 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok() 47 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok() 51 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok() 57 auth_tok->session_key.flags); in ecryptfs_dump_auth_tok() 58 if (auth_tok->session_key.flags in ecryptfs_dump_auth_tok() 62 if (auth_tok->session_key.flags in ecryptfs_dump_auth_tok() 66 if (auth_tok->session_key.flags & ECRYPTFS_CONTAINS_DECRYPTED_KEY) { in ecryptfs_dump_auth_tok() [all …]
|
D | keystore.c | 466 struct ecryptfs_auth_tok **auth_tok) in ecryptfs_verify_auth_tok_from_key() argument 470 (*auth_tok) = ecryptfs_get_key_payload_data(auth_tok_key); in ecryptfs_verify_auth_tok_from_key() 471 if (ecryptfs_verify_version((*auth_tok)->version)) { in ecryptfs_verify_auth_tok_from_key() 479 if ((*auth_tok)->token_type != ECRYPTFS_PASSWORD in ecryptfs_verify_auth_tok_from_key() 480 && (*auth_tok)->token_type != ECRYPTFS_PRIVATE_KEY) { in ecryptfs_verify_auth_tok_from_key() 493 struct ecryptfs_auth_tok **auth_tok, in ecryptfs_find_global_auth_tok_for_sig() argument 500 (*auth_tok) = NULL; in ecryptfs_find_global_auth_tok_for_sig() 522 walker->global_auth_tok_key, auth_tok); in ecryptfs_find_global_auth_tok_for_sig() 562 struct ecryptfs_auth_tok **auth_tok, in ecryptfs_find_auth_tok_for_sig() argument 568 rc = ecryptfs_find_global_auth_tok_for_sig(auth_tok_key, auth_tok, in ecryptfs_find_auth_tok_for_sig() [all …]
|
D | ecryptfs_kernel.h | 52 void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok); 64 struct ecryptfs_auth_tok *auth_tok; member 115 struct ecryptfs_auth_tok *auth_tok; in ecryptfs_get_key_payload_data() local 117 auth_tok = ecryptfs_get_encrypted_key_payload_data(key); in ecryptfs_get_key_payload_data() 118 if (!auth_tok) in ecryptfs_get_key_payload_data() 122 return auth_tok; in ecryptfs_get_key_payload_data() 350 struct ecryptfs_auth_tok auth_tok; member 661 struct ecryptfs_auth_tok **auth_tok,
|
D | crypto.c | 260 struct ecryptfs_global_auth_tok *auth_tok, *auth_tok_tmp; in ecryptfs_destroy_mount_crypt_stat() local 265 list_for_each_entry_safe(auth_tok, auth_tok_tmp, in ecryptfs_destroy_mount_crypt_stat() 268 list_del(&auth_tok->mount_crypt_stat_list); in ecryptfs_destroy_mount_crypt_stat() 269 if (auth_tok->global_auth_tok_key in ecryptfs_destroy_mount_crypt_stat() 270 && !(auth_tok->flags & ECRYPTFS_AUTH_TOK_INVALID)) in ecryptfs_destroy_mount_crypt_stat() 271 key_put(auth_tok->global_auth_tok_key); in ecryptfs_destroy_mount_crypt_stat() 272 kmem_cache_free(ecryptfs_global_auth_tok_cache, auth_tok); in ecryptfs_destroy_mount_crypt_stat()
|
D | main.c | 204 struct ecryptfs_auth_tok *auth_tok; in ecryptfs_init_global_auth_toks() local 211 &global_auth_tok->global_auth_tok_key, &auth_tok, in ecryptfs_init_global_auth_toks()
|