package hacl-star

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Return type used for AEAD functions

type error_code =
  1. | UnsupportedAlgorithm
  2. | InvalidKey
  3. | AuthenticationFailure
  4. | InvalidIVLength
  5. | DecodeError
  6. | MaximumLengthExceeded
type 'a result =
  1. | Success of 'a
  2. | Error of error_code
OCaml

Innovation. Community. Security.