Home
last modified time | relevance | path

Searched refs:usrptr (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dcryptsetup-token-systemd-pkcs11.c31 … void *usrptr /* plugin defined parameter passed to crypt_activate_by_token*() API */) { in cryptsetup_token_open_pin() argument
44 return acquire_luks2_key(cd, json, usrptr, pin, pin_size, password, password_len); in cryptsetup_token_open_pin()
65 … void *usrptr /* plugin defined parameter passed to crypt_activate_by_token*() API */) { in cryptsetup_token_open() argument
67 return cryptsetup_token_open_pin(cd, token, NULL, 0, password, password_len, usrptr); in cryptsetup_token_open()
Dcryptsetup-token-systemd-fido2.c31 … void *usrptr /* plugin defined parameter passed to crypt_activate_by_token*() API */) { in cryptsetup_token_open_pin() argument
56 …return acquire_luks2_key(cd, json, (const char *)usrptr, pin_string ?: pin, password, password_len… in cryptsetup_token_open_pin()
77 … void *usrptr /* plugin defined parameter passed to crypt_activate_by_token*() API */) { in cryptsetup_token_open() argument
79 return cryptsetup_token_open_pin(cd, token, NULL, 0, password, password_len, usrptr); in cryptsetup_token_open()
Dcryptsetup-token.h9 char **password, size_t *password_len, void *usrptr);
13 char **password, size_t *password_len, void *usrptr);
Dcryptsetup-token-systemd-tpm2.c56 … void *usrptr /* plugin defined parameter passed to crypt_activate_by_token*() API */) { in cryptsetup_token_open() argument
80 if (usrptr) in cryptsetup_token_open()
81 params = *(systemd_tpm2_plugin_params *)usrptr; in cryptsetup_token_open()
/systemd-251/src/shared/
Dcryptsetup-util.c39 …ack)(struct crypt_device *cd, void (*log)(int level, const char *msg, void *usrptr), void *usrptr);
110 static void cryptsetup_log_glue(int level, const char *msg, void *usrptr) { in cryptsetup_log_glue() argument
Dcryptsetup-util.h45 …ack)(struct crypt_device *cd, void (*log)(int level, const char *msg, void *usrptr), void *usrptr);
/systemd-251/src/cryptsetup/
Dcryptsetup.c859 void *usrptr, in attach_luks2_by_fido2_via_plugin() argument
867 …r = crypt_activate_by_token_pin(cd, name, "systemd-fido2", CRYPT_ANY_TOKEN, NULL, 0, usrptr, activ… in attach_luks2_by_fido2_via_plugin()
878 …by_token_pin(cd, name, "systemd-fido2", CRYPT_ANY_TOKEN, *p, strlen(*p), usrptr, activation_flags); in attach_luks2_by_fido2_via_plugin()
895 …by_token_pin(cd, name, "systemd-fido2", CRYPT_ANY_TOKEN, *p, strlen(*p), usrptr, activation_flags); in attach_luks2_by_fido2_via_plugin()