2
* Copyright (C) 2006 International Business Machines
3
* Author(s): Michael C Thompson <mcthomps@us.ibm.com>
5
* I/O functions for mount helper header file
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License as
9
* published by the Free Software Foundation; either version 2 of the
10
* License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
25
int main_menu(uint32_t version);
26
int manager_menu(void);
27
int read_passphrase_salt(char *pass, char *salt);
28
int get_string_stdin(char **val, char *prompt, int echo);
29
void ecryptfs_get_crypto_modules(struct ecryptfs_cipher_elem *cipher_list_head,
30
struct cipher_str_name_map_elem* cipher_opt,
31
int *num_cipher_options, int max_cipher_opts,
33
int ecryptfs_verify_cipher(struct ecryptfs_cipher_elem *cipher_list_head,
34
char *cipher_name, int key_bytes);
35
int default_cipher(char **default_cipher, int *keysize,
36
struct ecryptfs_cipher_elem *cipher_list_head);
38
ecryptfs_select_crypto_module(struct ecryptfs_cipher_elem *cipher_list_head,
39
char **selected_cipher, int *keysize_bytes);
40
int ecryptfs_select_key_mod(struct ecryptfs_key_mod **key_mod,
41
struct ecryptfs_ctx *ctx);