eriptic / uoscore-uedhoc

C implementations for constrained (and non-constrained) devices of the IETF protocols OSCORE and EDHOC
Other
15 stars 15 forks source link

fixed piv encoding and decoding #33

Closed mopsiok closed 1 year ago

mopsiok commented 1 year ago

The two above resulted in wrong behavior while using aiocoap as a client, and uoscore as a server (after PIV=0xFF, receiving PIV=0x0100 was read by the server as 0x00, which resulted in replay error).

Also, added extensive tests for ssn <-> piv conversion functions.