Skip to content

Releases: leif-ibsen/SwiftHPKE

1.3.0

30 Aug 10:27
Compare
Choose a tag to compare

About SwiftHPKE release 1.3.0:

  1. A bug is fixed that caused the X448 function to compute wrong values on certain rare inputs.

  2. Several test cases from Project Wycheproof to test X25519 and X448 has been added.

1.2.0

22 Aug 10:37
Compare
Choose a tag to compare

About SwiftHPKE release 1.2.0:

  1. The 'asn1' property was computed in a wrong way for private keys of type X25519 and X448.
    This is fixed.

  2. More testcases from project Wycheproof to test X25519 and X448.

Release 1.1.0

21 Aug 12:30
Compare
Choose a tag to compare

About SwiftHPKE release 1.1.0:

  1. The PublicKey constructor for .P256, .P384 and .P521 now checks that
    the proposed curve point in fact lies on the curve,
    and throws an exception if it does not or is INFINITY.

  2. The PrivateKey constructor for .P256, .P384 and .P521 now reduces
    the proposed key value modulo the curve order.
    It throws an exception if the reduced value is 0.

  3. New test cases for Curve25519 and Curve448.

  4. New test cases for the Sender and Recipient classes.

Release 1.0.0

17 Aug 11:06
Compare
Choose a tag to compare

About SwiftHPKE release 1.0.0:

SwiftHPKE implements the Hybrid Public Key Encryption (HPKE) scheme as it is defined in RFC 9180.

This functionality used to be in the SwiftECC package,
but in order to achieve a cleaner division of functionality,
it is now implemented in its own package.

HPKE will be removed from SwiftECC in the coming 4.0.0 release.