Skip to content

4.0.0

Compare
Choose a tag to compare
@garw garw released this 17 Aug 16:45
· 66 commits to openssl1.1 since this release
4.0.0

Multiple (self-contained) example programs have been added to illustrate the features of this
libary. Otherwise, just smaller clean up tasks.

As part of the clean up, the DigestTypes enum has been moved from the openssl namespace into
the mococrw namespace. A using statement was added to make this backwards-compatible API-wise.
It is, however, an ABI change. Thus, this is a new major version release.

Details

Changed

  • Replace explicit_bzero(3) with OPENSSL_cleanse(3) to fix compilation on non-glibc systems. (see #75)
  • Replaced manual calculation of hash digest length by library function in ECIES
  • Improved error message when attempting to create an AES-GCM cipher with empty IV. (see #83)
  • Move DigestTypes from openssl namespace to mococrw namespace. This is an ABI change!
  • Add error detection to utility::fromHex (This changes the behaviour of fromHex as it will throw
    errors on invalid string from now on.)

Fixed

  • Exception message in AESCipher (thrown if key has unexpected length)
  • Install target of documentation
  • Fix toggling stream cipher test when encrypting short messages

Added

  • Examples for KDF, MAC, ECIES and EdDSA, and updated existing examples and documentation
  • Expose mococrw/bio.h as public header to simplify interoperability with OpenSSL functions
  • Compilable examples for:
    • KDF
    • MAC
    • ECIES
    • RSA en-/decryption
    • ECC en-/decryption
    • RSA signatures, ECDSA, EdDSA
    • RSA, ECC, Ed25519 and Ed448 key creation
    • CSR creation
    • CA creation
    • CSR signing
    • hash calculation
    • Symmetric en-/decryption (incl. authenticated encryption)