Searched refs:pin_size (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/cryptsetup/cryptsetup-tokens/ |
D | luks2-pkcs11.c | 18 size_t pin_size; member 52 … r = pkcs11_token_login_by_pin(m, session, token_info, token_label, data->pin, data->pin_size); in luks2_pkcs11_callback() 108 size_t pin_size, in acquire_luks2_key_by_pin() argument 118 .pin_size = pin_size, in acquire_luks2_key_by_pin() 180 size_t pin_size, in acquire_luks2_key() argument 211 cd, pkcs11_uri, pin, pin_size, in acquire_luks2_key()
|
D | cryptsetup-token-systemd-fido2.c | 28 size_t pin_size, in cryptsetup_token_open_pin() argument 37 assert(!pin || pin_size); in cryptsetup_token_open_pin() 45 if (pin && memchr(pin, 0, pin_size - 1)) in cryptsetup_token_open_pin() 50 if (pin && pin[pin_size-1] != '\0') { in cryptsetup_token_open_pin() 51 pin_string = strndup(pin, pin_size); in cryptsetup_token_open_pin()
|
D | cryptsetup-token-systemd-pkcs11.c | 28 size_t pin_size, in cryptsetup_token_open_pin() argument 36 assert(!pin || pin_size); in cryptsetup_token_open_pin() 44 return acquire_luks2_key(cd, json, usrptr, pin, pin_size, password, password_len); in cryptsetup_token_open_pin()
|
D | luks2-pkcs11.h | 12 size_t pin_size,
|
D | cryptsetup-token.h | 12 const char *pin, size_t pin_size,
|
/systemd-251/src/shared/ |
D | pkcs11-util.h | 33 …ssion, const CK_TOKEN_INFO *token_info, const char *token_label, const void *pin, size_t pin_size);
|
D | pkcs11-util.c | 184 size_t pin_size) { in pkcs11_token_login_by_pin() argument 209 rv = m->C_Login(session, CKU_USER, (CK_UTF8CHAR*) pin, pin_size); in pkcs11_token_login_by_pin()
|