Home
last modified time | relevance | path

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

/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dluks2-pkcs11.c18 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()
Dcryptsetup-token-systemd-fido2.c28 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()
Dcryptsetup-token-systemd-pkcs11.c28 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()
Dluks2-pkcs11.h12 size_t pin_size,
Dcryptsetup-token.h12 const char *pin, size_t pin_size,
/systemd-251/src/shared/
Dpkcs11-util.h33 …ssion, const CK_TOKEN_INFO *token_info, const char *token_label, const void *pin, size_t pin_size);
Dpkcs11-util.c184 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()