Revision aa211c2d5a40dd6969fe8a469fcadfd27e8c8fe3 authored by Jonathan Protzenko on 24 April 2020, 21:11:09 UTC, committed by Jonathan Protzenko on 24 April 2020, 21:11:09 UTC
1 parent 6f91754
Raw File
EverCryptDeprecated.rst
Deprecated APIs
---------------

Block cipher API (``EverCrypt_Cipher.h``)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

We decided to only offer an API for CTR mode rather than exposing the raw block
cipher function. Clients should used ``EverCrypt_CTR.h`` instead.

Legacy EverCrypt headers (``EverCrypt.h``, ``EverCrypt_Hacl.h``, ``EverCrypt_Vale.h``)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. warning::

  These are UNVERIFIED, legacy APIs and should not be used. In addition,
  ``EverCrypt.h`` relies on OpenSSL or BCrypt under the hood and is only there
  to support the needs of miTLS as we finish implementing remaining algorithms
  in EverCrypt.

If you were previously using ``EverCrypt.h``:

- Users of AES-GCM should use ``EverCrypt_AEAD.h`` instead with a suitable
  algorithm parameter.
- Users of AES-CTR should use ``EverCrypt_CTR.h``
- Users of randomness should use ``Lib.System.RandomBuffer`` combined with
  ``EverCrypt.HMAC.DRBG``
back to top