Conversation

Jarkko Sakkinen

This makes me happy:

tpm_struct!(
    #[derive(Debug, PartialEq, Eq, Clone)]
    TpmPcrEventCommand,
    TpmCc::PcrEvent,
    TpmSt::Sessions,
    1,
    {
        pub event_data: Tpm2b,
    }
);

tpm_response!(
    #[derive(Debug, Default, PartialEq, Eq, Clone)]
    TpmPcrEventResponse,
    TpmCc::PcrEvent,
    TpmSt::Sessions,
    {
        pub digests: TpmlDigestValues,
    }
);

Also the types inside use the same system (in fact tpm_struct is shared macro with data types and commands). This will generate full parsing and building for both commands and responses - all without heap involved.

1
0
0

AGRO TURBO SATAN πŸ‡ΊπŸ‡¦πŸ‡¨πŸ‡ΏπŸ‘ƒπŸ’¨

@jarkko bro you're lucky
i found out that tits make me happy
and cold beer sometimes

1
1
1
@lkundrak it's also for the reasons that now i have my rust insurance :-) now i don't have to think about the topic further can focus on side quests
1
0
1

AGRO TURBO SATAN πŸ‡ΊπŸ‡¦πŸ‡¨πŸ‡ΏπŸ‘ƒπŸ’¨

@jarkko oh not thinking is great

1
0
1
@lkundrak ya i mean i don't want to end up in a situation where i see a rust patch set and i try to say that the code is just plain bad and it is interpreted me being toxic person :-) and all reported in the usual news outlets... i can relate to the pain and suffering some maintainers have had tbh.
1
0
0

AGRO TURBO SATAN πŸ‡ΊπŸ‡¦πŸ‡¨πŸ‡ΏπŸ‘ƒπŸ’¨

@jarkko i don't understand

:(

1
0
0
@lkundrak ya basically want to make sure that whoever intends to do that gets it done smoothly and such and so forth (if that ever happens even) :-) that is the positive angle i guess... and now it is done
0
0
0