/systemd-251/src/cryptsetup/ |
D | cryptsetup-fido2.c | 38 size_t salt_size; in acquire_fido2_key() local 48 salt_size = key_data_size; in acquire_fido2_key() 62 (char**) &loaded_salt, &salt_size); in acquire_fido2_key() 83 salt, salt_size, in acquire_fido2_key() 135 size_t cid_size = 0, salt_size = 0; in find_fido2_auto_data() local 192 assert(salt_size == 0); in find_fido2_auto_data() 193 r = unbase64mem(json_variant_string(w), SIZE_MAX, &salt, &salt_size); in find_fido2_auto_data() 258 *ret_salt_size = salt_size; in find_fido2_auto_data()
|
/systemd-251/src/cryptsetup/cryptsetup-tokens/ |
D | luks2-fido2.c | 22 size_t cid_size, salt_size, decrypted_key_size; in acquire_luks2_key() local 32 r = parse_luks2_fido2_data(cd, json, &rp_id, &salt, &salt_size, &cid, &cid_size, &required); in acquire_luks2_key() 49 salt, salt_size, in acquire_luks2_key() 83 size_t cid_size = 0, salt_size = 0; in parse_luks2_fido2_data() local 114 r = unbase64mem(json_variant_string(w), SIZE_MAX, &salt, &salt_size); in parse_luks2_fido2_data() 153 *ret_salt_size = salt_size; in parse_luks2_fido2_data()
|
D | cryptsetup-token-systemd-fido2.c | 100 size_t cid_size, salt_size; in cryptsetup_token_dump() local 107 r = parse_luks2_fido2_data(cd, json, &rp_id, &salt, &salt_size, &cid, &cid_size, &required); in cryptsetup_token_dump() 115 r = crypt_dump_buffer_to_hex_string(salt, salt_size, &salt_str); in cryptsetup_token_dump()
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-fido2.c | 22 size_t cid_size, salt_size, secret_size; in enroll_fido2() local 48 &salt, &salt_size, in enroll_fido2() 82 … JSON_BUILD_PAIR("fido2-salt", JSON_BUILD_BASE64(salt, salt_size)), in enroll_fido2()
|
/systemd-251/src/home/ |
D | homework-fscrypt.c | 92 const void *salt, size_t salt_size, in fscrypt_slot_try_one() argument 109 assert(salt_size > 0); in fscrypt_slot_try_one() 129 salt, salt_size, in fscrypt_slot_try_one() 195 const void *salt, size_t salt_size, in fscrypt_slot_try_many() argument 203 …r = fscrypt_slot_try_one(*i, salt, salt_size, encrypted, encrypted_size, match_key_descriptor, ret… in fscrypt_slot_try_many() 232 size_t salt_size, encrypted_size; in fscrypt_setup() local 254 r = unbase64mem(value, e - value, &salt, &salt_size); in fscrypt_setup() 265 salt, salt_size, in fscrypt_setup()
|
D | homectl-fido2.c | 128 size_t cid_size, salt_size, secret_size; in identity_add_fido2_parameters() local 171 &salt, &salt_size, in identity_add_fido2_parameters() 190 salt_size, in identity_add_fido2_parameters()
|
D | homework-fido2.c | 59 salt->salt, salt->salt_size, in fido2_use_token()
|
/systemd-251/src/shared/ |
D | libfido2-util.c | 202 size_t salt_size, in fido2_use_hmac_hash_specific_token() argument 262 r = sym_fido_assert_set_hmac_salt(a, salt, salt_size); in fido2_use_hmac_hash_specific_token() 471 size_t salt_size, in fido2_use_hmac_hash() argument 488 …return fido2_use_hmac_hash_specific_token(device, rp_id, salt, salt_size, cid, cid_size, pins, req… in fido2_use_hmac_hash() 523 …r = fido2_use_hmac_hash_specific_token(path, rp_id, salt, salt_size, cid, cid_size, pins, required… in fido2_use_hmac_hash()
|
D | libfido2-util.h | 94 size_t salt_size,
|
D | user-record.h | 199 size_t salt_size; member
|
D | user-record.c | 856 k->salt_size = 0; in dispatch_fido2_hmac_salt_value() 869 k->salt_size = l; in dispatch_fido2_hmac_salt_value()
|
/systemd-251/src/resolve/ |
D | resolved-dns-dnssec.c | 1528 if (EVP_DigestUpdate(ctx, nsec3->nsec3.salt, nsec3->nsec3.salt_size) <= 0) in dnssec_nsec3_hash() 1540 if (EVP_DigestUpdate(ctx, nsec3->nsec3.salt, nsec3->nsec3.salt_size) <= 0) in dnssec_nsec3_hash() 1568 gcry_md_write(md, nsec3->nsec3.salt, nsec3->nsec3.salt_size); in dnssec_nsec3_hash() 1580 gcry_md_write(md, nsec3->nsec3.salt, nsec3->nsec3.salt_size); in dnssec_nsec3_hash() 1640 if (rr->nsec3.salt_size != nsec3->nsec3.salt_size) in nsec3_is_good() 1642 if (memcmp_safe(rr->nsec3.salt, nsec3->nsec3.salt, rr->nsec3.salt_size) != 0) in nsec3_is_good()
|
D | resolved-dns-rr.c | 1057 if (rr->nsec3.salt_size > 0) { in dns_resource_record_to_string() 1058 salt = hexmem(rr->nsec3.salt, rr->nsec3.salt_size); in dns_resource_record_to_string() 1076 rr->nsec3.salt_size > 0 ? salt : "-", in dns_resource_record_to_string() 1443 siphash24_compress_safe(rr->nsec3.salt, rr->nsec3.salt_size, state); in dns_resource_record_hash_func() 1632 copy->nsec3.salt = memdup(rr->nsec3.salt, rr->nsec3.salt_size); in dns_resource_record_copy() 1635 copy->nsec3.salt_size = rr->nsec3.salt_size; in dns_resource_record_copy()
|
D | resolved-dns-rr.h | 226 size_t salt_size; member
|
D | resolved-dns-packet.c | 1130 r = dns_packet_append_uint8(p, rr->nsec3.salt_size, NULL); in dns_packet_append_rr() 1134 r = dns_packet_append_blob(p, rr->nsec3.salt, rr->nsec3.salt_size, NULL); in dns_packet_append_rr() 2047 r = dns_packet_read_memdup(p, size, &rr->nsec3.salt, &rr->nsec3.salt_size, NULL); in dns_packet_read_rr()
|
D | test-dnssec.c | 772 rr->nsec3.salt_size = sizeof(salt); in TEST()
|