Searched refs:key_string (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/md/ |
D | dm-crypt.c | 154 char *key_string; member 1998 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key() argument 2009 if (contains_whitespace(key_string)) { in crypt_set_keyring_key() 2015 key_desc = strpbrk(key_string, ":"); in crypt_set_keyring_key() 2016 if (!key_desc || key_desc == key_string || !strlen(key_desc + 1)) in crypt_set_keyring_key() 2019 if (strncmp(key_string, "logon:", key_desc - key_string + 1) && in crypt_set_keyring_key() 2020 strncmp(key_string, "user:", key_desc - key_string + 1)) in crypt_set_keyring_key() 2023 new_key_string = kstrdup(key_string, GFP_KERNEL); in crypt_set_keyring_key() 2027 key = request_key(key_string[0] == 'l' ? &key_type_logon : &key_type_user, in crypt_set_keyring_key() 2063 kzfree(cc->key_string); in crypt_set_keyring_key() [all …]
|
D | dm-integrity.c | 141 char *key_string; member 2487 if (ic->a.key_string) \ in dm_integrity_status() 2488 DMEMIT(":%s", ic->a.key_string);\ in dm_integrity_status() 2769 a->key_string = k + 1; in get_alg_and_key() 2770 if (strlen(a->key_string) & 1) in get_alg_and_key() 2773 a->key_size = strlen(a->key_string) / 2; in get_alg_and_key() 2777 if (hex2bin(a->key, a->key_string, a->key_size)) in get_alg_and_key()
|
/Linux-v4.19/Documentation/device-mapper/ |
D | dm-crypt.txt | 42 or it can be passed as <key_string> prefixed with single colon 50 <key_string>
|