Searched refs:key_string (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-crypt.c | 168 char *key_string; member 2543 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in crypt_set_keyring_key() argument 2555 if (contains_whitespace(key_string)) { in crypt_set_keyring_key() 2561 key_desc = strchr(key_string, ':'); in crypt_set_keyring_key() 2562 if (!key_desc || key_desc == key_string || !strlen(key_desc + 1)) in crypt_set_keyring_key() 2565 if (!strncmp(key_string, "logon:", key_desc - key_string + 1)) { in crypt_set_keyring_key() 2568 } else if (!strncmp(key_string, "user:", key_desc - key_string + 1)) { in crypt_set_keyring_key() 2572 !strncmp(key_string, "encrypted:", key_desc - key_string + 1)) { in crypt_set_keyring_key() 2576 !strncmp(key_string, "trusted:", key_desc - key_string + 1)) { in crypt_set_keyring_key() 2583 new_key_string = kstrdup(key_string, GFP_KERNEL); in crypt_set_keyring_key() [all …]
|
H A D | dm-integrity.c | 159 char *key_string; member 3451 if (ic->a.key_string) \ in dm_integrity_status() 3452 DMEMIT(":%s", ic->a.key_string);\ in dm_integrity_status() 3792 a->key_string = k + 1; in get_alg_and_key() 3793 if (strlen(a->key_string) & 1) in get_alg_and_key() 3796 a->key_size = strlen(a->key_string) / 2; in get_alg_and_key() 3800 if (hex2bin(a->key, a->key_string, a->key_size)) in get_alg_and_key()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-crypt.rst | 53 or it can be passed as <key_string> prefixed with single colon 61 <key_string>
|