Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Dcreds-util.c417 uint8_t iv[]; member
498 _cleanup_free_ void *tpm2_blob = NULL, *tpm2_policy_hash = NULL, *iv = NULL, *output = NULL; in encrypt_credential_and_warn() local
641 iv = malloc(ivsz); in encrypt_credential_and_warn()
642 if (!iv) in encrypt_credential_and_warn()
645 r = genuine_random_bytes(iv, ivsz, RANDOM_BLOCK); in encrypt_credential_and_warn()
657 if (EVP_EncryptInit_ex(context, cc, NULL, md, iv) != 1) in encrypt_credential_and_warn()
663 ALIGN8(offsetof(struct encrypted_credential_header, iv) + ivsz) + in encrypt_credential_and_warn()
679 memcpy(h->iv, iv, ivsz); in encrypt_credential_and_warn()
681 p = ALIGN8(offsetof(struct encrypted_credential_header, iv) + ivsz); in encrypt_credential_and_warn()
822 if (input_size < offsetof(struct encrypted_credential_header, iv)) in decrypt_credential_and_warn()
[all …]
/systemd-251/test/test-network/conf/
D25-batadv.netdev9 RoutingAlgorithm=batman-iv
/systemd-251/LICENSES/
DCC0-1.0.txt50 iv. rights protecting against unfair competition in regards to a Work,
71 medium and for any number of copies, and (iv) for any purpose whatsoever,
90 of copies, and (iv) for any purpose whatsoever, including without
/systemd-251/src/home/
Dhomework-luks.c816 _cleanup_free_ void *encrypted = NULL, *iv = NULL; in luks_validate_home_record() local
856 r = json_variant_unbase64(jiv, &iv, &iv_size); in luks_validate_home_record()
870 if (EVP_DecryptInit_ex(context, cc, NULL, volume_key, iv) != 1) in luks_validate_home_record()
930 _cleanup_free_ void *iv = NULL, *encrypted = NULL; in format_luks_token_text() local
948 iv = malloc(iv_size); in format_luks_token_text()
949 if (!iv) in format_luks_token_text()
952 r = genuine_random_bytes(iv, iv_size, RANDOM_BLOCK); in format_luks_token_text()
961 if (EVP_EncryptInit_ex(context, cc, NULL, volume_key, iv) != 1) in format_luks_token_text()
990 JSON_BUILD_PAIR("iv", JSON_BUILD_BASE64(iv, iv_size)))); in format_luks_token_text()
/systemd-251/docs/
DHOME_DIRECTORY.md96 JSON data of this token must also have an `iv` field, which contains a