package hacl-star

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
val hacl_Hash_Definitions_word_len : (Unsigned.uint8 -> Unsigned.uint32 Hacl_Hash_Base_stubs.return) Hacl_Hash_Base_stubs.result
val hacl_Hash_Definitions_block_len : (Unsigned.uint8 -> Unsigned.uint32 Hacl_Hash_Base_stubs.return) Hacl_Hash_Base_stubs.result
val hacl_Hash_Definitions_hash_word_len : (Unsigned.uint8 -> Unsigned.uint32 Hacl_Hash_Base_stubs.return) Hacl_Hash_Base_stubs.result
val hacl_Hash_Definitions_hash_len : (Unsigned.uint8 -> Unsigned.uint32 Hacl_Hash_Base_stubs.return) Hacl_Hash_Base_stubs.result
include sig ... end
val hacl_Hash_Core_MD5_legacy_init : (Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Hash_Core_MD5_legacy_finish : (Unsigned.uint32 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Hash_MD5_legacy_update_multi : (Unsigned.uint32 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Hash_MD5_legacy_update_last : (Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint64 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Hash_MD5_legacy_hash : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
type hacl_Streaming_MD5_state = [ `hacl_Streaming_MD_state_32 ] Ctypes.structure
val hacl_Streaming_MD5_state : [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes.typ
val hacl_Streaming_MD5_legacy_create_in : (unit -> [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Streaming_MD5_legacy_init : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Streaming_MD5_legacy_update : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> Unsigned.uint8 Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Streaming_MD5_legacy_finish : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Streaming_MD5_legacy_free : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Streaming_MD5_legacy_copy : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
val hacl_Streaming_MD5_legacy_hash : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_MD5_stubs.return) Hacl_Hash_MD5_stubs.result
include sig ... end
val hacl_Hash_Core_SHA1_legacy_init : (Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Hash_Core_SHA1_legacy_finish : (Unsigned.uint32 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Hash_SHA1_legacy_update_multi : (Unsigned.uint32 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Hash_SHA1_legacy_update_last : (Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint64 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Hash_SHA1_legacy_hash : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
type hacl_Streaming_SHA1_state = [ `hacl_Streaming_MD_state_32 ] Ctypes.structure
val hacl_Streaming_SHA1_state : [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes.typ
val hacl_Streaming_SHA1_legacy_create_in : (unit -> [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Streaming_SHA1_legacy_init : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Streaming_SHA1_legacy_update : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> Unsigned.uint8 Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Streaming_SHA1_legacy_finish : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Streaming_SHA1_legacy_free : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Streaming_SHA1_legacy_copy : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
val hacl_Streaming_SHA1_legacy_hash : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA1_stubs.return) Hacl_Hash_SHA1_stubs.result
include sig ... end
module Hacl_Streaming_Types_applied : sig ... end
val hacl_SHA2_Scalar32_sha256_init : (Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha256_update_nblocks : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha256_update_last : (Unsigned.uint64 -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha256_finish : (Unsigned.uint32 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha224_init : (Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha224_update_last : (Unsigned.uint64 -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha224_finish : (Unsigned.uint32 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha512_init : (Unsigned.uint64 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha512_update_nblocks : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint64 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha512_finish : (Unsigned.uint64 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha384_init : (Unsigned.uint64 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha384_update_nblocks : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint64 Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_SHA2_Scalar32_sha384_finish : (Unsigned.uint64 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
type hacl_Streaming_SHA2_state_sha2_224 = Hacl_Streaming_Types_applied.hacl_Streaming_MD_state_32
val hacl_Streaming_SHA2_state_sha2_224 : [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes.typ
type hacl_Streaming_SHA2_state_sha2_256 = Hacl_Streaming_Types_applied.hacl_Streaming_MD_state_32
val hacl_Streaming_SHA2_state_sha2_256 : [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes.typ
type hacl_Streaming_SHA2_state_sha2_384 = Hacl_Streaming_Types_applied.hacl_Streaming_MD_state_64
val hacl_Streaming_SHA2_state_sha2_384 : [ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes.typ
type hacl_Streaming_SHA2_state_sha2_512 = Hacl_Streaming_Types_applied.hacl_Streaming_MD_state_64
val hacl_Streaming_SHA2_state_sha2_512 : [ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes.typ
val hacl_Streaming_SHA2_create_in_256 : (unit -> [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_copy_256 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_init_256 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_update_256 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> Unsigned.uint8 Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_finish_256 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_free_256 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_hash_256 : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_create_in_224 : (unit -> [ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_init_224 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_update_224 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> Unsigned.uint8 Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_finish_224 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_free_224 : ([ `hacl_Streaming_MD_state_32 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_hash_224 : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_create_in_512 : (unit -> [ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_copy_512 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> [ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_init_512 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_update_512 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> Unsigned.uint8 Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_finish_512 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_free_512 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_hash_512 : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_create_in_384 : (unit -> [ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_init_384 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_update_384 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> Unsigned.uint8 Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_finish_384 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_free_384 : ([ `hacl_Streaming_MD_state_64 ] Ctypes.structure Ctypes_static.ptr -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
val hacl_Streaming_SHA2_hash_384 : (bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_SHA2_stubs.return) Hacl_Hash_SHA2_stubs.result
include sig ... end
val hacl_Blake2b_32_blake2b_init : (Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint32 -> Unsigned.uint32 -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2b_32_blake2b_update_key : (Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2b_32_blake2b_finish : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint64 Ctypes_static.ptr -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2b_32_blake2b : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2b_32_blake2b_malloc : (unit -> Unsigned.uint64 Ctypes_static.ptr Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2s_32_blake2s_init : (Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint32 -> Unsigned.uint32 -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2s_32_blake2s_update_key : (Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2s_32_blake2s_update_multi : (Unsigned.uint32 -> Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint64 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2s_32_blake2s_update_last : (Unsigned.uint32 -> Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint32 Ctypes_static.ptr -> Unsigned.uint64 -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2s_32_blake2s_finish : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 Ctypes_static.ptr -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2s_32_blake2s : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint32 -> bytes Ctypes_static.ocaml -> unit Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
val hacl_Blake2s_32_blake2s_malloc : (unit -> Unsigned.uint32 Ctypes_static.ptr Hacl_Hash_Blake2_stubs.return) Hacl_Hash_Blake2_stubs.result
OCaml

Innovation. Community. Security.