Home
last modified time | relevance | path

Searched refs:keyslot_as_string (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/cryptenroll/
Dcryptenroll-recovery.c18 _cleanup_free_ char *keyslot_as_string = NULL; in enroll_recovery() local
72 if (asprintf(&keyslot_as_string, "%i", keyslot) < 0) { in enroll_recovery()
80 … JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))))); in enroll_recovery()
Dcryptenroll-fido2.c21 _cleanup_free_ char *keyslot_as_string = NULL; in enroll_fido2() local
74 if (asprintf(&keyslot_as_string, "%i", keyslot) < 0) in enroll_fido2()
80 … JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))), in enroll_fido2()
Dcryptenroll-pkcs11.c20 _cleanup_free_ char *keyslot_as_string = NULL; in enroll_pkcs11() local
81 if (asprintf(&keyslot_as_string, "%i", keyslot) < 0) in enroll_pkcs11()
87 … JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))), in enroll_pkcs11()
/systemd-251/src/shared/
Dtpm2-util.c1377 _cleanup_free_ char *keyslot_as_string = NULL; in tpm2_make_luks2_json() local
1385 if (asprintf(&keyslot_as_string, "%i", keyslot) < 0) in tpm2_make_luks2_json()
1409 … JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))), in tpm2_make_luks2_json()