aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/ecryptfs_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
-rw-r--r--fs/ecryptfs/ecryptfs_kernel.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h
index fd6dd585514c..78761e4bdab8 100644
--- a/fs/ecryptfs/ecryptfs_kernel.h
+++ b/fs/ecryptfs/ecryptfs_kernel.h
@@ -156,7 +156,6 @@ struct ecryptfs_auth_tok {
156 } token; 156 } token;
157} __attribute__ ((packed)); 157} __attribute__ ((packed));
158 158
159int ecryptfs_get_auth_tok_sig(char **sig, struct ecryptfs_auth_tok *auth_tok);
160void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok); 159void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok);
161extern void ecryptfs_to_hex(char *dst, char *src, size_t src_size); 160extern void ecryptfs_to_hex(char *dst, char *src, size_t src_size);
162extern void ecryptfs_from_hex(char *dst, char *src, int dst_size); 161extern void ecryptfs_from_hex(char *dst, char *src, int dst_size);
@@ -536,9 +535,6 @@ void ecryptfs_destroy_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat);
536void ecryptfs_destroy_mount_crypt_stat( 535void ecryptfs_destroy_mount_crypt_stat(
537 struct ecryptfs_mount_crypt_stat *mount_crypt_stat); 536 struct ecryptfs_mount_crypt_stat *mount_crypt_stat);
538int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat); 537int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat);
539int ecryptfs_crypto_api_algify_cipher_name(char **algified_name,
540 char *cipher_name,
541 char *chaining_modifier);
542#define ECRYPTFS_LOWER_I_MUTEX_NOT_HELD 0 538#define ECRYPTFS_LOWER_I_MUTEX_NOT_HELD 0
543#define ECRYPTFS_LOWER_I_MUTEX_HELD 1 539#define ECRYPTFS_LOWER_I_MUTEX_HELD 1
544int ecryptfs_write_inode_size_to_metadata(struct file *lower_file, 540int ecryptfs_write_inode_size_to_metadata(struct file *lower_file,
@@ -579,13 +575,10 @@ int ecryptfs_generate_key_packet_set(char *dest_base,
579 struct ecryptfs_crypt_stat *crypt_stat, 575 struct ecryptfs_crypt_stat *crypt_stat,
580 struct dentry *ecryptfs_dentry, 576 struct dentry *ecryptfs_dentry,
581 size_t *len, size_t max); 577 size_t *len, size_t max);
582int process_request_key_err(long err_code);
583int 578int
584ecryptfs_parse_packet_set(struct ecryptfs_crypt_stat *crypt_stat, 579ecryptfs_parse_packet_set(struct ecryptfs_crypt_stat *crypt_stat,
585 unsigned char *src, struct dentry *ecryptfs_dentry); 580 unsigned char *src, struct dentry *ecryptfs_dentry);
586int ecryptfs_truncate(struct dentry *dentry, loff_t new_length); 581int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
587int ecryptfs_process_key_cipher(struct crypto_blkcipher **key_tfm,
588 char *cipher_name, size_t *key_size);
589int ecryptfs_inode_test(struct inode *inode, void *candidate_lower_inode); 582int ecryptfs_inode_test(struct inode *inode, void *candidate_lower_inode);
590int ecryptfs_inode_set(struct inode *inode, void *lower_inode); 583int ecryptfs_inode_set(struct inode *inode, void *lower_inode);
591void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode); 584void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode);