package hacl-star-raw

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

Parameters

module F : Cstubs.FOREIGN

Signature

module Hacl_Bignum_applied : sig ... end
val hacl_Bignum64_add : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 F.return) F.result
val hacl_Bignum64_sub : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 F.return) F.result
val hacl_Bignum64_add_mod : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_sub_mod : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_mul : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_sqr : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_mod : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> bool F.return) F.result
val hacl_Bignum64_mod_exp_vartime : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> bool F.return) F.result
val hacl_Bignum64_mod_exp_consttime : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> bool F.return) F.result
val hacl_Bignum64_mod_inv_prime_vartime : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> bool F.return) F.result
val hacl_Bignum64_mont_ctx_init : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> [ `hacl_Bignum_MontArithmetic_bn_mont_ctx_u64 ] Ctypes.structure Ctypes_static.ptr F.return) F.result
val hacl_Bignum64_mont_ctx_free : ([ `hacl_Bignum_MontArithmetic_bn_mont_ctx_u64 ] Ctypes.structure Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_mod_precomp : ([ `hacl_Bignum_MontArithmetic_bn_mont_ctx_u64 ] Ctypes.structure Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_mod_exp_vartime_precomp : ([ `hacl_Bignum_MontArithmetic_bn_mont_ctx_u64 ] Ctypes.structure Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_mod_exp_consttime_precomp : ([ `hacl_Bignum_MontArithmetic_bn_mont_ctx_u64 ] Ctypes.structure Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_mod_inv_prime_vartime_precomp : ([ `hacl_Bignum_MontArithmetic_bn_mont_ctx_u64 ] Ctypes.structure Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> unit F.return) F.result
val hacl_Bignum64_new_bn_from_bytes_be : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint64 Ctypes_static.ptr F.return) F.result
val hacl_Bignum64_new_bn_from_bytes_le : (Unsigned.uint32 -> bytes Ctypes_static.ocaml -> Unsigned.uint64 Ctypes_static.ptr F.return) F.result
val hacl_Bignum64_bn_to_bytes_be : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit F.return) F.result
val hacl_Bignum64_bn_to_bytes_le : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> unit F.return) F.result
val hacl_Bignum64_lt_mask : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 F.return) F.result
val hacl_Bignum64_eq_mask : (Unsigned.uint32 -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> Unsigned.uint64 F.return) F.result
OCaml

Innovation. Community. Security.