Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dcreds-util.c443 #define CREDENTIAL_FIELD_SIZE_MAX (16U*1024U) macro
598 assert(tpm2_blob_size <= CREDENTIAL_FIELD_SIZE_MAX); in encrypt_credential_and_warn()
599 assert(tpm2_policy_hash_size <= CREDENTIAL_FIELD_SIZE_MAX); in encrypt_credential_and_warn()
635 assert((size_t) bsz <= CREDENTIAL_FIELD_SIZE_MAX); in encrypt_credential_and_warn()
639 assert((size_t) ivsz <= CREDENTIAL_FIELD_SIZE_MAX); in encrypt_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()
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()