package hacl-star-raw

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module CI = Cstubs_internals
val _1_Hacl_SHA2_Scalar32_sha256_init : ('a, 'b) CI.fatptr -> unit
val _2_Hacl_SHA2_Scalar32_sha256_update_nblocks : Unsigned.uint32 -> bytes CI.ocaml -> ('a, 'b) CI.fatptr -> unit
val _3_Hacl_SHA2_Scalar32_sha256_update_last : Unsigned.uint64 -> Unsigned.uint32 -> bytes CI.ocaml -> ('a, 'b) CI.fatptr -> unit
val _4_Hacl_SHA2_Scalar32_sha256_finish : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _5_Hacl_SHA2_Scalar32_sha224_init : ('a, 'b) CI.fatptr -> unit
val _6_Hacl_SHA2_Scalar32_sha224_update_last : Unsigned.uint64 -> Unsigned.uint32 -> bytes CI.ocaml -> ('a, 'b) CI.fatptr -> unit
val _7_Hacl_SHA2_Scalar32_sha224_finish : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _8_Hacl_SHA2_Scalar32_sha512_init : ('a, 'b) CI.fatptr -> unit
val _9_Hacl_SHA2_Scalar32_sha512_update_nblocks : Unsigned.uint32 -> bytes CI.ocaml -> ('a, 'b) CI.fatptr -> unit
val _10_Hacl_SHA2_Scalar32_sha512_finish : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _11_Hacl_SHA2_Scalar32_sha384_init : ('a, 'b) CI.fatptr -> unit
val _12_Hacl_SHA2_Scalar32_sha384_update_nblocks : Unsigned.uint32 -> bytes CI.ocaml -> ('a, 'b) CI.fatptr -> unit
val _13_Hacl_SHA2_Scalar32_sha384_finish : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _14_Hacl_Streaming_SHA2_create_in_256 : unit -> CI.voidp
val _15_Hacl_Streaming_SHA2_copy_256 : ('a, 'b) CI.fatptr -> CI.voidp
val _16_Hacl_Streaming_SHA2_init_256 : ('a, 'b) CI.fatptr -> unit
val _17_Hacl_Streaming_SHA2_update_256 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> Unsigned.uint32 -> Unsigned.uint8
val _18_Hacl_Streaming_SHA2_finish_256 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _19_Hacl_Streaming_SHA2_free_256 : ('a, 'b) CI.fatptr -> unit
val _20_Hacl_Streaming_SHA2_hash_256 : bytes CI.ocaml -> Unsigned.uint32 -> bytes CI.ocaml -> unit
val _21_Hacl_Streaming_SHA2_create_in_224 : unit -> CI.voidp
val _22_Hacl_Streaming_SHA2_init_224 : ('a, 'b) CI.fatptr -> unit
val _23_Hacl_Streaming_SHA2_update_224 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> Unsigned.uint32 -> Unsigned.uint8
val _24_Hacl_Streaming_SHA2_finish_224 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _25_Hacl_Streaming_SHA2_free_224 : ('a, 'b) CI.fatptr -> unit
val _26_Hacl_Streaming_SHA2_hash_224 : bytes CI.ocaml -> Unsigned.uint32 -> bytes CI.ocaml -> unit
val _27_Hacl_Streaming_SHA2_create_in_512 : unit -> CI.voidp
val _28_Hacl_Streaming_SHA2_copy_512 : ('a, 'b) CI.fatptr -> CI.voidp
val _29_Hacl_Streaming_SHA2_init_512 : ('a, 'b) CI.fatptr -> unit
val _30_Hacl_Streaming_SHA2_update_512 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> Unsigned.uint32 -> Unsigned.uint8
val _31_Hacl_Streaming_SHA2_finish_512 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _32_Hacl_Streaming_SHA2_free_512 : ('a, 'b) CI.fatptr -> unit
val _33_Hacl_Streaming_SHA2_hash_512 : bytes CI.ocaml -> Unsigned.uint32 -> bytes CI.ocaml -> unit
val _34_Hacl_Streaming_SHA2_create_in_384 : unit -> CI.voidp
val _35_Hacl_Streaming_SHA2_init_384 : ('a, 'b) CI.fatptr -> unit
val _36_Hacl_Streaming_SHA2_update_384 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> Unsigned.uint32 -> Unsigned.uint8
val _37_Hacl_Streaming_SHA2_finish_384 : ('a, 'b) CI.fatptr -> bytes CI.ocaml -> unit
val _38_Hacl_Streaming_SHA2_free_384 : ('a, 'b) CI.fatptr -> unit
val _39_Hacl_Streaming_SHA2_hash_384 : bytes CI.ocaml -> Unsigned.uint32 -> bytes CI.ocaml -> unit
type !'a result = 'a
type !'a return = 'a
type !'a1 fn =
  1. | Returns : 'a CI.typ -> 'a return fn
  2. | Function : 'a0 CI.typ * 'b fn -> ('a0 -> 'b) fn
val map_result : ('a -> 'b) -> 'a -> 'b
val returning : 'a CI.typ -> 'a return fn
val (@->) : 'a CI.typ -> 'b fn -> ('a -> 'b) fn
val foreign : string -> ('a -> 'b) fn -> 'a -> 'b
val foreign_value : string -> 'a Ctypes.typ -> 'a Ctypes.ptr
OCaml

Innovation. Community. Security.