Problem:
The HPKE structure size had to be changed for ML-KEM support. This breaks ABI.
Solution:
Make these structs, and all structs with sizes that might change in the future, opaque.
- Does this change any public APIs? Structs that have sizes that might change in the future become pointers to heap-allocated opaque types.
- Which algorithm(s) will this impact? HPKE, possibly others.
Requirements / Acceptance Criteria:
Anything with a size that isn’t future-proof becomes a pointer to a heap-allocated opaque type.
- RFC links: None
- Related Issues: None
- Will the Usage Guide or other documentation need to be updated? Yes
- Testing: Normal testing of callers should suffice.
- Will this change trigger AWS LibCrypto Formal Verification changes? No
- Should this change be fuzz tested? Only for out of memory conditions.
Out of scope:
Being able to link OpenSSL and AWS-LC in the same binary.
Problem:
The HPKE structure size had to be changed for ML-KEM support. This breaks ABI.
Solution:
Make these structs, and all structs with sizes that might change in the future, opaque.
Requirements / Acceptance Criteria:
Anything with a size that isn’t future-proof becomes a pointer to a heap-allocated opaque type.
Out of scope:
Being able to link OpenSSL and AWS-LC in the same binary.