Conversation

Jarkko Sakkinen

Refurbished zerocopy code from Fall and rebased it on top of tpm2-protocol main branch.

https://docs.rs/tpm2-protocol/0.17.0/tpm2_protocol/

I.e. 0.17.0 casts in-wire data instead parsing.

Rest of the related components are still using previous version of the crate (and will likely be for while).

It's the single best crate available to process TPM2 protocol data.
1
0
0
Moving to zerocopy has not been a long stretch, as it was already structured to converge to that direction :-) Example: in a driver one could cast to a MMIO buffer, and process protocol data in structured manner.
1
0
0
zerocopy and zero dependencies. everything zero :-)
1
0
0

Vlastimil Babka πŸ‡¨πŸ‡ΏπŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦

@jarkko zero bugs too, I hope? ;)

2
0
1
@vbabka It's actually somewhat stable :-) It's built on top of syntax tree macros, so that crate's Rust code itself reads almost like a spec and there's very small surface of code that needs to be changed if architecture is reconsidered.

Test harness is basically live capture dumps that I collect as bugs show themselves but it works incredibly.
0
0
1
@oleksandr @vbabka This year I'm worried to publish anything at all as it is the year of slop copies not new amaziing software done with AI :-) This is what I'm seeing at least.
1
0
1
@oleksandr @vbabka and the year of middle managers on psychosis who think that there is actually someone "on the other side", robocalypse and whatnot.
0
0
1