Searched refs:pkcs11_uri (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/cryptsetup/cryptsetup-tokens/ |
D | luks2-pkcs11.c | 106 const char *pkcs11_uri, in acquire_luks2_key_by_pin() argument 123 assert(pkcs11_uri); in acquire_luks2_key_by_pin() 128 r = pkcs11_find_token(pkcs11_uri, luks2_pkcs11_callback, &data); in acquire_luks2_key_by_pin() 140 const char *pkcs11_uri, in acquire_luks2_key_systemd() argument 154 assert(pkcs11_uri); in acquire_luks2_key_systemd() 165 r = pkcs11_find_token(pkcs11_uri, pkcs11_crypt_device_callback, &data); in acquire_luks2_key_systemd() 188 _cleanup_free_ char *pkcs11_uri = NULL; in acquire_luks2_key() local 196 r = parse_luks2_pkcs11_data(cd, json, &pkcs11_uri, &encrypted_key, &encrypted_key_size); in acquire_luks2_key() 205 pkcs11_uri, in acquire_luks2_key() 211 cd, pkcs11_uri, pin, pin_size, in acquire_luks2_key()
|
D | cryptsetup-token-systemd-pkcs11.c | 88 _cleanup_free_ char *pkcs11_uri = NULL, *key_str = NULL; in cryptsetup_token_dump() local 91 r = parse_luks2_pkcs11_data(cd, json, &pkcs11_uri, &pkcs11_key, &pkcs11_key_size); in cryptsetup_token_dump() 99 crypt_log(cd, "\tpkcs11-uri: %s\n", pkcs11_uri); in cryptsetup_token_dump()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup-pkcs11.c | 30 const char *pkcs11_uri, in decrypt_pkcs11_key() argument 49 assert(pkcs11_uri); in decrypt_pkcs11_key() 81 r = pkcs11_find_token(pkcs11_uri, pkcs11_crypt_device_callback, &data); in decrypt_pkcs11_key()
|
D | cryptsetup-pkcs11.h | 15 const char *pkcs11_uri, 38 const char *pkcs11_uri, in decrypt_pkcs11_key() argument
|
/systemd-251/src/shared/ |
D | pkcs11-util.c | 925 const char *pkcs11_uri, in pkcs11_find_token() argument 936 if (pkcs11_uri) { in pkcs11_find_token() 937 r = uri_from_string(pkcs11_uri, &search_uri); in pkcs11_find_token() 939 … return log_error_errno(r, "Failed to parse PKCS#11 URI '%s': %m", pkcs11_uri); in pkcs11_find_token()
|
D | pkcs11-util.h | 47 int pkcs11_find_token(const char *pkcs11_uri, pkcs11_find_token_callback_t callback, void *userdata…
|