mbedTLS v0.99-pre5 Release Notes

Release Date: 2011-05-26 // almost 13 years ago
  • ๐Ÿ”‹ Features

    • Added additional Cipher Block Modes to symmetric ciphers (AES CTR, Camellia CTR, XTEA CBC) including the option to enable and disable individual modes when needed
    • Functions requiring File System functions can now be disabled by undefining POLARSSL_FS_IO
    • A error_strerror function() has been added to translate between error codes and their description.
    • Added mpi_get_bit() and mpi_set_bit() individual bit setter/getter functions.
    • Added ssl_mail_client and ssl_fork_server as example programs.

    ๐Ÿ”„ Changes

    • Major argument / variable rewrite. Introduced use of size_t instead of int for buffer lengths and loop variables for better unsigned / signed use. Renamed internal bigint types t_int and t_dbl to t_uint and t_udbl in the process
    • mpi_init() and mpi_free() now only accept a single MPI argument and do not accept variable argument lists anymore.
    • The error codes have been remapped and combining error codes is now done with a PLUS instead of an OR as error codes used are negative.
    • Changed behaviour of net_read(), ssl_fetch_input() and ssl_recv(). net_recv() now returns 0 on EOF instead of POLARSSL_ERR_NET_CONN_RESET. ssl_fetch_input() returns POLARSSL_ERR_SSL_CONN_EOF on an EOF from its f_recv() function. ssl_read() returns 0 if a POLARSSL_ERR_SSL_CONN_EOF is received after the handshake.
    • Network functions now return POLARSSL_ERR_NET_WANT_READ or POLARSSL_ERR_NET_WANT_WRITE instead of the ambiguous POLARSSL_ERR_NET_TRY_AGAIN