Constructing an HPKE Context with the AEAD algorithm set to
HpkeExport resulted in a panic when calling Context::seal, or
Context::open. This was due to an underflowing integer subtraction
when calculating the length of a vector allocation for the AEAD nonce,
which would panic on its own in debug mode and cause out-of-memory
abort on the allocation in release mode.
Applications that could be made to use an HPKE context configured with
HpkeExport as AEAD algorithm to open or seal a ciphertext would
crash. Other applications are unaffected.
Starting with version 0.6.0, an error will be returned when
attempting to call Context::seal or Context::open on an HPKE
context with HpkeExport as AEADAlgorithm.
{
"license": "CC0-1.0"
}