Searched refs:encrypted_key_size (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/cryptsetup/cryptsetup-tokens/ |
D | luks2-pkcs11.c | 20 size_t encrypted_key_size; member 91 data->encrypted_key_size, in luks2_pkcs11_callback() 110 size_t encrypted_key_size, in acquire_luks2_key_by_pin() argument 120 .encrypted_key_size = encrypted_key_size, in acquire_luks2_key_by_pin() 143 size_t encrypted_key_size, in acquire_luks2_key_systemd() argument 150 .encrypted_key_size = encrypted_key_size, in acquire_luks2_key_systemd() 185 size_t decrypted_key_size, encrypted_key_size; in acquire_luks2_key() local 196 r = parse_luks2_pkcs11_data(cd, json, &pkcs11_uri, &encrypted_key, &encrypted_key_size); in acquire_luks2_key() 207 encrypted_key, encrypted_key_size, in acquire_luks2_key() 212 encrypted_key, encrypted_key_size, in acquire_luks2_key()
|
/systemd-251/src/home/ |
D | homectl-pkcs11.c | 17 const void *encrypted_key, size_t encrypted_key_size, in add_pkcs11_encrypted_key() argument 27 assert(encrypted_key_size > 0); in add_pkcs11_encrypted_key() 43 … JSON_BUILD_PAIR("data", JSON_BUILD_BASE64(encrypted_key, encrypted_key_size)), in add_pkcs11_encrypted_key() 162 size_t decrypted_key_size, encrypted_key_size; in identity_add_pkcs11_key_data() local 191 … = rsa_encrypt_bytes(pkey, decrypted_key, decrypted_key_size, &encrypted_key, &encrypted_key_size); in identity_add_pkcs11_key_data() 204 encrypted_key, encrypted_key_size, in identity_add_pkcs11_key_data()
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-pkcs11.c | 21 size_t decrypted_key_size, encrypted_key_size; in enroll_pkcs11() local 57 … = rsa_encrypt_bytes(pkey, decrypted_key, decrypted_key_size, &encrypted_key, &encrypted_key_size); in enroll_pkcs11() 89 … JSON_BUILD_PAIR("pkcs11-key", JSON_BUILD_BASE64(encrypted_key, encrypted_key_size)))); in enroll_pkcs11()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup-pkcs11.c | 58 data.encrypted_key_size = key_data_size; in decrypt_pkcs11_key() 74 (char**) &data.encrypted_key, &data.encrypted_key_size); in decrypt_pkcs11_key()
|
/systemd-251/src/shared/ |
D | pkcs11-util.h | 57 size_t encrypted_key_size; member
|
D | pkcs11-util.c | 1244 data->encrypted_key_size, in pkcs11_crypt_device_callback()
|