Skip to content

Conversation

@DmitriyMusatkin
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment on lines 140 to 141
try bufferData.withUnsafeMutableBytes { bufferPointer in
var buffer = aws_byte_buf_from_empty_array(bufferPointer.baseAddress, bufferSize)
Copy link
Contributor

Choose a reason for hiding this comment

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

trivial: for readability, maybe rename bufferPointer so it's not the same from this two different disclosure?

The first one is for digest and the second one is for the buffer to return, right?

Oh, just like the verify functions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, went through the code and updated a bunch of places (original was based on hash impl naming, which we should probably refactor at some point as well)

Copy link
Contributor

@TingDaoK TingDaoK left a comment

Choose a reason for hiding this comment

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

lgtm

@DmitriyMusatkin DmitriyMusatkin merged commit cfed01f into main Nov 6, 2025
22 checks passed
@DmitriyMusatkin DmitriyMusatkin deleted the ec_bindings branch November 6, 2025 00:55
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