Elliptic_curve_lib.Ec_fpn_ops_config
type fn = {
latency : int; |
impl : scope:Hardcaml.Scope.t ->
clock:Hardcaml.Signal.t ->
enable:Hardcaml.Signal.t ->
Hardcaml.Signal.t ->
Hardcaml.Signal.t option ->
Hardcaml.Signal.t; |
}
val coarse_reduce :
t ->
scope:Hardcaml.Scope.t ->
clock:Hardcaml.Signal.t ->
enable:Hardcaml.Signal.t ->
Hardcaml.Signal.t ->
Hardcaml.Signal.t
val reduce :
t ->
scope:Hardcaml.Scope.t ->
clock:Hardcaml.Signal.t ->
enable:Hardcaml.Signal.t ->
Hardcaml.Signal.t ->
Hardcaml.Signal.t
val multiply_latency : reduce:bool -> t -> int
val square_latency : reduce:bool -> t -> int