Skip to content

Conversation

sertonix
Copy link
Contributor

@sertonix sertonix commented Aug 23, 2025

Release Summary:

Resolved issues:

resolves #4097

Description of changes:

Using the "first" byte of a uint32_t is endian dependent. Casting curr_round to a single byte type fist makes sure endianes doesn't have any affect.

Call-outs:

I am not entirely sure if there should may be a & 0xff before the cast.

Testing:

This has been tested on alpine linux s390x and ppc by running the unit tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Using the "first" byte of a uint32_t is endian dependent.

Fixes 004b05e Add support for HKDF
Fixes aws#4097
@lrstewart lrstewart requested a review from goatgoose August 25, 2025 21:34
@goatgoose goatgoose added this pull request to the merge queue Aug 26, 2025
Merged via the queue into aws:main with commit a214bcb Aug 26, 2025
49 checks passed
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.

Some tests errors on Darwin PowerPC: 95% tests passed, 12 tests failed out of 239
3 participants