Searched refs:auth_tok (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ecryptfs/
H A Ddebug.c32 void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok) argument
38 auth_tok);
39 if (auth_tok->flags & ECRYPTFS_PRIVATE_KEY) {
45 ecryptfs_to_hex(salt, auth_tok->token.password.salt,
49 if (auth_tok->token.password.flags &
53 memcpy(sig, auth_tok->token.password.signature,
59 auth_tok->session_key.flags);
60 if (auth_tok->session_key.flags
64 if (auth_tok->session_key.flags
68 if (auth_tok
[all...]
H A Dkeystore.c401 * the given auth_tok.
407 struct ecryptfs_auth_tok *auth_tok,
418 &(auth_tok->session_key),
437 rc = parse_tag_65_packet(&(auth_tok->session_key),
444 auth_tok->session_key.flags |= ECRYPTFS_CONTAINS_DECRYPTED_KEY;
445 memcpy(crypt_stat->key, auth_tok->session_key.decrypted_key,
446 auth_tok->session_key.decrypted_key_size);
447 crypt_stat->key_size = auth_tok->session_key.decrypted_key_size;
548 (*new_auth_tok) = &auth_tok_list_item->auth_tok;
689 (*new_auth_tok) = &auth_tok_list_item->auth_tok;
405 decrypt_pki_encrypted_session_key( struct ecryptfs_mount_crypt_stat *mount_crypt_stat, struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat) argument
925 decrypt_session_key(struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat) argument
1240 pki_encrypt_session_key(struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_key_record *key_rec) argument
1290 write_tag_1_packet(char *dest, size_t max, struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, struct ecryptfs_key_record *key_rec, size_t *packet_size) argument
1447 write_tag_3_packet(char *dest, size_t max, struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_key_record *key_rec, size_t *packet_size) argument
1660 struct ecryptfs_auth_tok *auth_tok; local
[all...]
H A Dmain.c223 struct ecryptfs_auth_tok *auth_tok = NULL; local
372 auth_tok = ecryptfs_get_key_payload_data(auth_tok_key);
373 if (ecryptfs_verify_version(auth_tok->version)) {
382 if (auth_tok->token_type != ECRYPTFS_PASSWORD
383 && auth_tok->token_type != ECRYPTFS_PRIVATE_KEY) {
384 ecryptfs_printk(KERN_ERR, "Invalid auth_tok structure "
390 mount_crypt_stat->global_auth_tok = auth_tok;
H A Decryptfs_kernel.h156 void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok);
168 struct ecryptfs_auth_tok *auth_tok; member in struct:ecryptfs_auth_tok_list
302 /* auth_tok <=> encrypted_session_key mappings */
306 struct ecryptfs_auth_tok auth_tok; member in struct:ecryptfs_auth_tok_list_item

Completed in 93 milliseconds