Searched refs:key_string (Results  1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/md/ | 
| D | dm-crypt.c | 148 	char *key_string;  member1902 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string)  in crypt_set_keyring_key()  argument
 1913 	if (contains_whitespace(key_string)) {  in crypt_set_keyring_key()
 1919 	key_desc = strpbrk(key_string, ":");  in crypt_set_keyring_key()
 1920 	if (!key_desc || key_desc == key_string || !strlen(key_desc + 1))  in crypt_set_keyring_key()
 1923 	if (strncmp(key_string, "logon:", key_desc - key_string + 1) &&  in crypt_set_keyring_key()
 1924 	    strncmp(key_string, "user:", key_desc - key_string + 1))  in crypt_set_keyring_key()
 1927 	new_key_string = kstrdup(key_string, GFP_KERNEL);  in crypt_set_keyring_key()
 1931 	key = request_key(key_string[0] == 'l' ? &key_type_logon : &key_type_user,  in crypt_set_keyring_key()
 1967 		kzfree(cc->key_string);  in crypt_set_keyring_key()
 [all …]
 
 | 
| D | dm-integrity.c | 144 	char *key_string;  member2982 				if (ic->a.key_string)			\  in dm_integrity_status()
 2983 					DMEMIT(":%s", ic->a.key_string);\  in dm_integrity_status()
 3266 		a->key_string = k + 1;  in get_alg_and_key()
 3267 		if (strlen(a->key_string) & 1)  in get_alg_and_key()
 3270 		a->key_size = strlen(a->key_string) / 2;  in get_alg_and_key()
 3274 		if (hex2bin(a->key, a->key_string, a->key_size))  in get_alg_and_key()
 
 | 
| /Linux-v5.4/Documentation/admin-guide/device-mapper/ | 
| D | dm-crypt.rst | 53     or it can be passed as <key_string> prefixed with single colon61 <key_string>
 
 |