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

feat: Disabled ECHO challenge after fresh EDHOC session #42

Closed mopsiok closed 1 year ago

mopsiok commented 1 year ago

According to https://datatracker.ietf.org/doc/html/rfc8613#appendix-B.1, there is no need to execute echo challenge for fresh EDHOC sessions. Also, prior to this PR, fresh_master_secret_salt flag determined not only the freshness of the context, but also whether it can be stored in NVM or not. These aspects are independent of each other, as the user might need (for example):

Changes introduced: