Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dcreds-util.h16 #define CREDENTIAL_SIZE_MAX (1024U*1024U) macro
21 #define CREDENTIALS_TOTAL_SIZE_MAX CREDENTIAL_SIZE_MAX
25 #define CREDENTIAL_ENCRYPTED_SIZE_MAX (CREDENTIAL_SIZE_MAX + 128U*1024U)
/systemd-251/src/creds/
Dcreds.c454 …r = read_full_file_full(AT_FDCWD, input_path, UINT64_MAX, CREDENTIAL_SIZE_MAX, READ_FULL_FILE_SECU… in verb_encrypt()
456 …r = read_full_stream_full(stdin, NULL, UINT64_MAX, CREDENTIAL_SIZE_MAX, READ_FULL_FILE_SECURE|READ… in verb_encrypt()
458 …r_errno(r, "Plaintext too long for credential (allowed size: %zu).", (size_t) CREDENTIAL_SIZE_MAX); in verb_encrypt()
/systemd-251/src/core/
Dimport-creds.c105 if (size > CREDENTIAL_SIZE_MAX) { in credential_size_ok()
106 … allowed limit (%s > %s), skipping.", name, FORMAT_BYTES(size), FORMAT_BYTES(CREDENTIAL_SIZE_MAX)); in credential_size_ok()
Dexecute.c2709 maxsz = encrypted ? CREDENTIAL_ENCRYPTED_SIZE_MAX : CREDENTIAL_SIZE_MAX; in load_credential()