502
502
int ecryptfs_supports_hmac(uint32_t version);
503
503
int ecryptfs_supports_filename_encryption(uint32_t version);
504
504
int ecryptfs_supports_policy(uint32_t version);
505
506
#define ECRYPTFS_ASK_FOR_ALL_MOUNT_OPTIONS 0
506
507
#define ECRYPTFS_KEY_MODULE_ONLY 1
507
508
int ecryptfs_process_decision_graph(struct ecryptfs_ctx *ctx,
508
509
struct val_node **head, uint32_t version,
509
510
char *opts_str, int key_module_only);
510
513
int get_string(char *val, int len, int echo);
511
514
int get_string_stdin(char **val, char *prompt, int echo);
512
515
int stack_pop_val(struct val_node **head, void **val);