Skip to content

Adding psk method#410

Closed
ElsaLopez133 wants to merge 11 commits into
lake-rs:mainfrom
ElsaLopez133:adding-psk-method
Closed

Adding psk method#410
ElsaLopez133 wants to merge 11 commits into
lake-rs:mainfrom
ElsaLopez133:adding-psk-method

Conversation

@ElsaLopez133

Copy link
Copy Markdown
Collaborator

Continuation of #406 : Adding PSK authentication method

TODO: lakers-python and lakers-c tests

For each function we match on state and create method-specific
fiunctions. For example, we have r_prepare_message_2 and we
match based on emthod to either use t_prepare_message_2_statstat
or r_prepare_message_2_psk
We avoid repetition of shared-values among methods
This affects ProcessingM2 and ProcessingM3
Adding enum in prepare_message_2 to define inputs based on method
- Made static keys I and R method dependednt (not needed ofr PSK)
- Added high level identity enums
- Made i_verify_message_2 take optional I
- Added ProcessedM2MethodSpecifics and ParsedMessage2Detials
- Updated i_parse_message_2 and high level initiaotr API
- Adapted lakers-python and lakers-c
Adding PSK specific functions
Adding coap examples
Adding edhoc/psk.rs module
@ElsaLopez133 ElsaLopez133 force-pushed the adding-psk-method branch 4 times, most recently from f1f39aa to 8d2ad30 Compare March 4, 2026 14:57
Fixing unused variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant