Searched refs:key_string (Results 1 – 2 of 2) sorted by relevance
/drivers/md/ |
D | dm-crypt.c | 148 char *key_string; member 1902 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; member 2982 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()
|