Skip to content

Releases: fpoirotte/tomcrypt

v0.3.2

25 Mar 22:05
v0.3.2
Compare
Choose a tag to compare

This version simply declares support for PHP 7.2.x.
No code change was required.

For Windows users, this version contains exactly the same code as v0.3.1, so the pre-built DLL from v0.3.1 can still be used.

v0.3.1

25 Feb 15:32
v0.3.1
Compare
Choose a tag to compare

Changes

  • Added instructions on how to build the extension on Windows.

Fixed bugs

  • Fixed config.w32 so that it actually works under Windows.
  • Replaced several calls to index() with equivalent calls to strchr()
    for MSVC/C89 compatibility.

v0.3.0

30 Dec 11:14
v0.3.0
Compare
Choose a tag to compare

Changes

  • Improved support for LibTomCrypt v1.18
  • Added support for pkg-config
  • Added support for these Ciphers (requires LTC v1.18+)
    • Camellia (block cipher)
    • ChaCha (stream cipher)
    • RC4, aka. Arcfour (stream cipher)
    • Sober128 (stream cipher)
  • Added support for these Pseudo-Random Number Generators (requires LTC v1.18+)
    • ChaCha20
  • Added support for these hashing algorithms (requires LTC v1.18+)
    • SHA512-256
    • SHA512-224
    • Blake2b-160
    • Blake2b-256
    • Blake2b-256
    • Blake2b-512
    • Blake2s-128
    • Blake2s-160
    • Blake2s-224
    • Blake2s-256
    • SHA3-224
    • SHA3-256
    • SHA3-384
    • SHA3-512
  • Added support for these Message Authentication Codes (requires LTC v1.18+)
    • Blake2b
    • Blake2s
    • Poly1305
  • Added support for these modes of operation (requires LTC v1.18+)
    • ChaCha20-Poly1305
    • OCB3
    • Stream (for stream ciphers)
  • Splitted the code into various modules to make it easier to add support
    for new algorithms in the future
  • Renamed tomcrypt_strerror() into tomcrypt_error()
  • Added tomcrypt_errno() to retrieve the error number for the last
    LibTomCrypt function that failed, making tomcrypt_error() actually useful
  • Added tomcrypt_clear() to clear the last error returned by a LibTomCrypt
    function
  • Added support for HKDF (Hash-based Key Derivation Function) through
    the new tomcrypt_hkdf() function (requires LTC v1.18+)

Fixed bugs

  • Fixed --with-tomcrypt=/custom/path not working properly
  • Fixed the test vector used for several tests (XTEA, MULTI2, NOEKEON)

Removed features

  • Removed buggy (incomplete) support for the Cipher Hash Construction
  • Removed the tomcrypt_cipher_name(), tomcrypt_hash_name() and
    tomcrypt_rng_name() functions. They were pretty much useless
    since you already had to know the object's name to call them.
  • Removed buggy RC4 stream cipher implementation (a proper
    implementation is now provided with LibTomCrypt v1.18+).

v0.2.3

14 May 17:26
Compare
Choose a tag to compare

Changes:

  • Make TOMCRYPT_CIPHER_AES an alias for TOMCRYPT_CIPHER_RIJNDAEL
  • Rename TOMCRYPT_CIPHER_KSEED into TOMCRYPT_CIPHER_SEED

v0.2.0

14 May 17:28
v0.2.0
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Fixed bugs:

  • Fixed compilation with PHP 5.3 - 7.1

Changes:

  • New API for MAC functions
  • Merged HMAC-specific functions into the regular MAC functions

Removed features:

  • Removed the old base64 functions since PHP already provides some
  • Removed the HMAC-specific functions (merged into MAC functions)

v0.1.0: First working version of the extension.

17 May 18:37
v0.1.0
Compare
Choose a tag to compare

First working version of the extension.

Provides access to the following APIs:

  • PRNGs (replacement for mcrypt_create_iv())
  • ciphers (replacement for all cipher-related functions in mcrypt)
  • hashes & MACs (can be used as a replacement for the hash extension)
  • base64 functions (pretty much useless since PHP already has built-in
    functions for that, but still)
  • the error_to_string() function