Searched refs:crypt_device (Results 1 – 10 of 10) sorted by relevance
| /dflybsd-src/contrib/cryptsetup/lib/ |
| H A D | libcryptsetup.h | 9 struct crypt_device; /* crypt device handle */ 22 int crypt_init(struct crypt_device **cd, const char *device); 33 int crypt_init_by_name(struct crypt_device **cd, const char *name); 47 void crypt_set_log_callback(struct crypt_device *cd, 58 void crypt_log(struct crypt_device *cd, int level, const char *msg); 72 void crypt_set_confirm_callback(struct crypt_device *cd, 94 void crypt_set_password_callback(struct crypt_device *cd, 107 void crypt_set_timeout(struct crypt_device *cd, uint64_t timeout_sec); 108 void crypt_set_password_retry(struct crypt_device *cd, int tries); 109 void crypt_set_iterarion_time(struct crypt_device *cd, uint64_t iteration_time_ms); [all …]
|
| H A D | setup.c | 12 struct crypt_device { struct 55 void crypt_log(struct crypt_device *cd, int level, const char *msg) in crypt_log() argument 63 void logger(struct crypt_device *cd, int level, const char *file, in logger() 93 static char *process_key(struct crypt_device *cd, const char *hash_name, in process_key() 165 static int keyslot_verify_or_find_empty(struct crypt_device *cd, int *keyslot) in keyslot_verify_or_find_empty() 191 static int verify_other_keyslot(struct crypt_device *cd, in verify_other_keyslot() 227 static int find_keyslot_by_passphrase(struct crypt_device *cd, in find_keyslot_by_passphrase() 250 static int device_check_and_adjust(struct crypt_device *cd, in device_check_and_adjust() 284 static int luks_remove_helper(struct crypt_device *cd, in luks_remove_helper() 336 static int create_device_helper(struct crypt_device *cd, in create_device_helper() [all …]
|
| H A D | internal.h | 48 struct crypt_device; 49 int crypt_confirm(struct crypt_device *cd, const char *msg); 71 int dm_init(struct crypt_device *context, int check_kernel); 100 int device_ready(struct crypt_device *cd, const char *device, int mode); 101 int get_device_infos(const char *device, struct device_infos *infos, struct crypt_device *cd); 106 struct crypt_device *cd); 110 void logger(struct crypt_device *cd, int class, const char *file, int line, const char *format, ...… 121 int crypt_memlock_inc(struct crypt_device *ctx); 122 int crypt_memlock_dec(struct crypt_device *ctx);
|
| H A D | utils.c | 401 struct crypt_device *cd) in get_key() 519 int device_ready(struct crypt_device *cd, const char *device, int mode) in device_ready() 553 int get_device_infos(const char *device, struct device_infos *infos, struct crypt_device *cd) in get_device_infos() 643 int crypt_memlock_inc(struct crypt_device *ctx) in crypt_memlock_inc() 663 int crypt_memlock_dec(struct crypt_device *ctx) in crypt_memlock_dec()
|
| H A D | libdevmapper.c | 29 static struct crypt_device *_context = NULL; 112 int dm_init(struct crypt_device *context, int check_kernel) in dm_init()
|
| /dflybsd-src/contrib/cryptsetup/luks/ |
| H A D | luks.h | 97 struct crypt_device *ctx); 103 struct crypt_device *ctx); 110 struct crypt_device *ctx); 116 struct crypt_device *ctx); 122 struct crypt_device *ctx); 127 struct crypt_device *ctx); 138 struct crypt_device *ctx); 147 struct crypt_device *ctx); 153 struct crypt_device *ctx); 166 struct crypt_device *ctx); [all …]
|
| H A D | keymanage.c | 85 struct crypt_device *ctx) in LUKS_hdr_backup() 151 struct crypt_device *ctx) in LUKS_hdr_restore() 247 struct crypt_device *ctx) in _check_and_convert_hdr() 300 struct crypt_device *ctx) in LUKS_read_phdr_backup() 327 struct crypt_device *ctx) in LUKS_read_phdr() 360 struct crypt_device *ctx) in LUKS_write_phdr() 408 struct crypt_device *ctx) in LUKS_PBKDF2_performance_check() 429 struct crypt_device *ctx) in LUKS_generate_phdr() 522 struct crypt_device *ctx) in LUKS_set_key() 637 struct crypt_device *ctx) in LUKS_open_key() [all …]
|
| H A D | keyencryption.c | 58 int mode, struct crypt_device *ctx) in setup_mapping() 128 struct crypt_device *ctx) in LUKS_endec_template() 196 struct crypt_device *ctx) in LUKS_encrypt_to_storage() 208 struct crypt_device *ctx) in LUKS_decrypt_from_storage()
|
| /dflybsd-src/contrib/cryptsetup/src/ |
| H A D | cryptsetup.c | 93 static void clogger(struct crypt_device *cd, int level, const char *file, in clogger() 342 struct crypt_device *cd = NULL; in _action_luksFormat_useMK() 468 struct crypt_device *cd = NULL; in _action_luksAddKey_useMK() 546 struct crypt_device *cd = NULL; in action_luksSuspend() 559 struct crypt_device *cd = NULL; in action_luksResume() 581 struct crypt_device *cd = NULL; in action_luksBackup() 603 struct crypt_device *cd = NULL; in action_luksRestore()
|
| /dflybsd-src/contrib/cryptsetup/tests/ |
| H A D | api-test.c | 535 struct crypt_device *cd; in AddDevicePlain() 602 struct crypt_device *cd; in UseLuksDevice() 637 struct crypt_device *cd; in SuspendDevice() 668 struct crypt_device *cd; in AddDeviceLuks() 736 struct crypt_device *cd; in NonFIPSAlg()
|