mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 00:10:04 +01:00
Refactor and unify naming conventions for internal keyring helpers.
Functions related to uploading/unlinking volume keys in user requested kernel keyrings are named as follows: crypt_single_volume_key_load_in_custom_keyring crypt_volume_key_load_in_custom_keyring crypt_unlink_key_from_custom_keyring helpers for unlinking LUKS2 volume keys from thread keyring: crypt_unlink_key_from_thread_keyring crypt_unlink_key_by_description_from_thread_keyring
This commit is contained in:
committed by
Milan Broz
parent
c9edd942e8
commit
5615488196
@@ -245,7 +245,11 @@ int crypt_keyring_get_key_by_name(struct crypt_device *cd,
|
||||
char **key,
|
||||
size_t *key_size);
|
||||
int crypt_use_keyring_for_vk(struct crypt_device *cd);
|
||||
void crypt_drop_keyring_key_by_description(struct crypt_device *cd, const char *key_description, key_type_t ktype);
|
||||
void crypt_unlink_key_from_thread_keyring(struct crypt_device *cd,
|
||||
key_serial_t key_id);
|
||||
void crypt_unlink_key_by_description_from_thread_keyring(struct crypt_device *cd,
|
||||
const char *key_description,
|
||||
key_type_t ktype);
|
||||
void crypt_drop_uploaded_keyring_key(struct crypt_device *cd, struct volume_key *vks);
|
||||
|
||||
static inline uint64_t compact_version(uint16_t major, uint16_t minor, uint16_t patch, uint16_t release)
|
||||
|
||||
Reference in New Issue
Block a user