Home
last modified time | relevance | path

Searched refs:key_string (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/md/
H A Ddm-crypt.c172 char *key_string;
2561 static int crypt_set_keyring_key(struct crypt_config *cc, const char *key_string) in set_key_trusted()
2570 * Reject key_string with whitespace. dm core currently lacks code for
2573 if (contains_whitespace(key_string)) { in crypt_set_keyring_key()
2579 key_desc = strchr(key_string, ':'); in crypt_set_keyring_key()
2580 if (!key_desc || key_desc == key_string || !strlen(key_desc + 1)) in crypt_set_keyring_key()
2583 if (!strncmp(key_string, "logon:", key_desc - key_string + 1)) { in crypt_set_keyring_key()
2586 } else if (!strncmp(key_string, "user:", key_desc - key_string in crypt_set_keyring_key()
171 char *key_string; global() member
2571 crypt_set_keyring_key(struct crypt_config * cc,const char * key_string) crypt_set_keyring_key() argument
2645 get_key_size(char ** key_string) get_key_size() argument
2670 crypt_set_keyring_key(struct crypt_config * cc,const char * key_string) crypt_set_keyring_key() argument
2675 get_key_size(char ** key_string) get_key_size() argument
[all...]
H A Ddm-integrity.c162 char *key_string; member
3850 if (ic->a.key_string) \ in dm_integrity_status()
3851 DMEMIT(":%s", ic->a.key_string);\ in dm_integrity_status()
4196 a->key_string = k + 1; in get_alg_and_key()
4197 if (strlen(a->key_string) & 1) in get_alg_and_key()
4200 a->key_size = strlen(a->key_string) / 2; in get_alg_and_key()
4204 if (hex2bin(a->key, a->key_string, a->key_size)) in get_alg_and_key()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst53 or it can be passed as <key_string> prefixed with single colon
61 <key_string>