Home
last modified time | relevance | path

Searched refs:le32toh (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/shared/
Dcreds-util.c826 if (le32toh(h->key_size) != sizeof(md)) in decrypt_credential_and_warn()
828 if (le32toh(h->block_size) <= 0 || le32toh(h->block_size) > CREDENTIAL_FIELD_SIZE_MAX) in decrypt_credential_and_warn()
830 if (le32toh(h->iv_size) > CREDENTIAL_FIELD_SIZE_MAX) in decrypt_credential_and_warn()
832 …if (le32toh(h->tag_size) != 16) /* FIXME: On OpenSSL 3, let's verify via EVP_CIPHER_CTX_get_tag_le… in decrypt_credential_and_warn()
838 ALIGN8(offsetof(struct encrypted_credential_header, iv) + le32toh(h->iv_size)) + in decrypt_credential_and_warn()
841 le32toh(h->tag_size)) in decrypt_credential_and_warn()
844 p = ALIGN8(offsetof(struct encrypted_credential_header, iv) + le32toh(h->iv_size)); in decrypt_credential_and_warn()
856 if (le32toh(t->blob_size) > CREDENTIAL_FIELD_SIZE_MAX) in decrypt_credential_and_warn()
858 if (le32toh(t->policy_hash_size) > CREDENTIAL_FIELD_SIZE_MAX) in decrypt_credential_and_warn()
864 ALIGN8(offsetof(struct encrypted_credential_header, iv) + le32toh(h->iv_size)) + in decrypt_credential_and_warn()
[all …]
Dask-password-api.c342 size = le32toh(size); in ask_password_plymouth()
Dbtrfs-util.c500 (usec_t) le32toh(ri->otime.nsec) / NSEC_PER_USEC; in btrfs_subvol_get_info_fd()
/systemd-251/src/libsystemd/sd-journal/
Djournal-file.h173 FLAGS_SET(le32toh((h)->compatible_flags), HEADER_COMPATIBLE_SEALED)
176 FLAGS_SET(le32toh((h)->incompatible_flags), HEADER_INCOMPATIBLE_COMPRESSED_XZ)
179 FLAGS_SET(le32toh((h)->incompatible_flags), HEADER_INCOMPATIBLE_COMPRESSED_LZ4)
182 FLAGS_SET(le32toh((h)->incompatible_flags), HEADER_INCOMPATIBLE_COMPRESSED_ZSTD)
185 FLAGS_SET(le32toh((h)->incompatible_flags), HEADER_INCOMPATIBLE_KEYED_HASH)
Djournal-file.c373 flags = le32toh(compatible ? f->header->compatible_flags : f->header->incompatible_flags); in warn_wrong_flags()
3259 (le32toh(f->header->compatible_flags) & ~HEADER_COMPATIBLE_ANY) ? " ???" : "", in journal_file_print_header()
3264 (le32toh(f->header->incompatible_flags) & ~HEADER_INCOMPATIBLE_ANY) ? " ???" : "", in journal_file_print_header()
Djournal-verify.c910 if (le32toh(f->header->compatible_flags) & ~HEADER_COMPATIBLE_SUPPORTED) { in journal_file_verify()
/systemd-251/src/basic/
Dsparse-endian.h51 #undef le32toh
82 static inline uint32_t le32toh(le32_t value) { return bswap_32_on_be((uint32_t __sd_force)value); } in le32toh() function
Dunaligned.h56 return le32toh(u->x); in unaligned_read_le32()
74 u->x = le32toh(a); in unaligned_write_le32()
/systemd-251/src/libsystemd/sd-bus/
Dbus-gvariant.c269 return le32toh(x.u32); in bus_gvariant_read_word_le()
Dbus-socket.c1119 a = le32toh(a); in bus_socket_read_message_need()
1120 b = le32toh(b); in bus_socket_read_message_need()