trussed-dev / ctap-types

3 stars 9 forks source link

Use arrays and slices instead of heapless_bytes::Bytes where possible #45

Closed robin-nitrokey closed 4 months ago

robin-nitrokey commented 4 months ago

Some fields expect a fixed-length byte sequence, for example the RP ID hash. For these fields, serde_bytes::{Bytes, ByteArray} can be used instead of heapless_bytes::Bytes.