Lines Matching refs:crypt_device
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);
110 void crypt_set_password_verify(struct crypt_device *cd, int password_verify);
121 int crypt_memory_lock(struct crypt_device *cd, int lock);
155 int crypt_format(struct crypt_device *cd,
173 int crypt_load(struct crypt_device *cd,
185 int crypt_suspend(struct crypt_device *cd,
199 int crypt_resume_by_passphrase(struct crypt_device *cd,
216 int crypt_resume_by_keyfile(struct crypt_device *cd,
227 void crypt_free(struct crypt_device *cd);
242 int crypt_keyslot_add_by_passphrase(struct crypt_device *cd,
263 int crypt_keyslot_add_by_keyfile(struct crypt_device *cd,
282 int crypt_keyslot_add_by_volume_key(struct crypt_device *cd,
299 int crypt_keyslot_destroy(struct crypt_device *cd, int keyslot);
319 int crypt_activate_by_passphrase(struct crypt_device *cd,
338 int crypt_activate_by_keyfile(struct crypt_device *cd,
356 int crypt_activate_by_volume_key(struct crypt_device *cd,
368 int crypt_deactivate(struct crypt_device *cd, const char *name);
383 int crypt_volume_key_get(struct crypt_device *cd,
399 int crypt_volume_key_verify(struct crypt_device *cd,
421 crypt_status_info crypt_status(struct crypt_device *cd, const char *name);
430 int crypt_dump(struct crypt_device *cd);
443 const char *crypt_get_cipher(struct crypt_device *cd);
444 const char *crypt_get_cipher_mode(struct crypt_device *cd);
445 const char *crypt_get_uuid(struct crypt_device *cd);
446 uint64_t crypt_get_data_offset(struct crypt_device *cd);
447 int crypt_get_volume_key_size(struct crypt_device *cd);
463 crypt_keyslot_info crypt_keyslot_status(struct crypt_device *cd, int keyslot);
474 int crypt_header_backup(struct crypt_device *cd,
487 int crypt_header_restore(struct crypt_device *cd,