Add 4 pseudorandom bytes to allow indexing used by some RP entities.

Fixes #185

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2025-09-11 11:31:45 +02:00
parent 56d5c61044
commit 54fb02995f
2 changed files with 7 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ typedef struct Credential {
#define CRED_PROTO_RESIDENT CRED_PROTO_23_S
#define CRED_PROTO_RESIDENT_LEN 4
#define CRED_RESIDENT_HEADER_LEN (CRED_PROTO_RESIDENT_LEN + 4)
#define CRED_RESIDENT_HEADER_LEN (CRED_PROTO_RESIDENT_LEN + 6)
#define CRED_RESIDENT_LEN (CRED_RESIDENT_HEADER_LEN + 32)
typedef enum