Skip to content

Conversation

@simo5
Copy link
Member

@simo5 simo5 commented Mar 7, 2025

The code for this functions was all already available, just a matter of wiring up the calls.

Implements digest/encrypt, decrypt/digest, sign/encrypt, decrypt/verify.

@simo5 simo5 requested a review from Jakuje March 7, 2025 17:04
Implements:
- C_DigestEncryptUpdate
- C_DecryptDigestUpdate
- A roundtrip test

Signed-off-by: Simo Sorce <[email protected]>
Copy link
Contributor

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just typos for now. I will have to wrap my head around the operations next week

Implements:
- C_SignEncryptUpdate
- C_DecryptVerifyUpdate
- A roundtrip test

Signed-off-by: Simo Sorce <[email protected]>
@simo5
Copy link
Member Author

simo5 commented Mar 7, 2025

just typos for now. I will have to wrap my head around the operations next week

Note that I may add some de-duplication via a helper function for encryption/decryption, but haven't done it so far because just copy/paste looked cleaner.

Copy link
Contributor

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regardless of the formatting changes, looks good!

This ensures the update code is identical between the regular and the
combined operations.

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 merged commit 55647b0 into latchset:main Mar 10, 2025
23 checks passed
@simo5
Copy link
Member Author

simo5 commented Mar 10, 2025

Fixed style issues and merged, thanks!

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.

2 participants