Dataset Viewer
Auto-converted to Parquet Duplicate
package_name
string
version
string
license
string
homepage
string
dev_repo
string
file_type
string
file_path
string
file_content
string
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
dune
mirage-crypto-2.1.0/bench/dune
(executables (names speed) (modules speed) (libraries mirage-crypto mirage-crypto-rng mirage-crypto-rng.unix mirage-crypto-pk mirage-crypto-ec)) ; marking as "(optional)" leads to OCaml-CI failures ; marking with "(package mirage-crypto-rng-miou-unix)" only has an effect with a "public_name" ;(executables ; (nam...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
ml
mirage-crypto-2.1.0/bench/miou.ml
open Mirage_crypto module Time = struct let time ~n f a = let t1 = Sys.time () in for _ = 1 to n do ignore (f a) done ; let t2 = Sys.time () in (t2 -. t1) let warmup () = let x = ref 0 in let rec go start = if Sys.time () -. start < 1. then begin for i = 0 to 10000 do x := !...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
ml
mirage-crypto-2.1.0/bench/speed.ml
open Mirage_crypto module Time = struct let time ~n f a = let t1 = Sys.time () in for _ = 1 to n do ignore (f a) done ; let t2 = Sys.time () in (t2 -. t1) let warmup () = let x = ref 0 in let rec go start = if Sys.time () -. start < 1. then begin for i = 0 to 10000 do x := !...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
ml
mirage-crypto-2.1.0/config/cfg.ml
let () = let c = Configurator.V1.create "mirage-crypto" in let ccomp_type_opt = Configurator.V1.ocaml_config_var c "ccomp_type" in let arch = let defines = Configurator.V1.C_define.import c ~includes:[] [("__x86_64__", Switch); ("__i386__", Switch); ("__powerpc64__", Switch); ...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
dune
mirage-crypto-2.1.0/config/dune
(executables (names cfg) (libraries dune-configurator))
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
dune
mirage-crypto-2.1.0/ec/dune
(library (name mirage_crypto_ec) (public_name mirage-crypto-ec) (libraries eqaf mirage-crypto-rng digestif) (foreign_stubs (language c) (names p256_stubs np256_stubs p384_stubs np384_stubs p521_stubs np521_stubs curve25519_stubs) (include_dirs ../src/native) (flags (:standard -DNDEBUG) (:include c...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
dune
mirage-crypto-2.1.0/ec/gen_tables/dune
(include_subdirs no) (executable (name gen_tables) (libraries mirage_crypto_ec))
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
ml
mirage-crypto-2.1.0/ec/gen_tables/gen_tables.ml
open Format let print_header name = printf {| /* Pre-computed %d-bit multiples of the generator point G for the curve %s, used for speeding up its scalar multiplication in point_operations.h. Generated by %s */|} Sys.word_size name Sys.argv.(0) let pp_array elem_fmt fmt arr = let fout =...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
ml
mirage-crypto-2.1.0/ec/mirage_crypto_ec.ml
type error = [ | `Invalid_format | `Invalid_length | `Invalid_range | `Not_on_curve | `At_infinity | `Low_order ] let error_to_string = function | `Invalid_format -> "invalid format" | `Not_on_curve -> "point is not on curve" | `At_infinity -> "point is at infinity" | `Invalid_length -> "invalid le...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
mli
mirage-crypto-2.1.0/ec/mirage_crypto_ec.mli
(** {1 Elliptic curve cryptography} *) (** Mirage-crypto-ec implements public key cryptography with named elliptic curves. Ephemeral key exchanges with {{!Dh}Diffie-Hellman} and {{!Dsa}digital signatures (ECDSA)} are implemented. The arithmetic operations uses code generated by {{:https://github.com/m...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
h
mirage-crypto-2.1.0/ec/native/curve25519_32.h
/* Autogenerated: '../fiat-crypto/src/ExtractionOCaml/unsaturated_solinas' --static --use-value-barrier --inline-internal 25519 32 '(auto)' '2^255 - 19' carry_mul carry_square carry add sub opp selectznz to_bytes from_bytes carry_scmul121666 */ /* curve description: 25519 */ /* machine_wordsize = 32 (from "32") */ /* r...
mirage-crypto
2.1.0
ISC
https://github.com/mirage/mirage-crypto
git+https://github.com/mirage/mirage-crypto.git
h
mirage-crypto-2.1.0/ec/native/curve25519_64.h
/* Autogenerated: '../fiat-crypto/src/ExtractionOCaml/unsaturated_solinas' --static --use-value-barrier --inline-internal 25519 64 '(auto)' '2^255 - 19' carry_mul carry_square carry add sub opp selectznz to_bytes from_bytes carry_scmul121666 */ /* curve description: 25519 */ /* machine_wordsize = 64 (from "64") */ /* r...
End of preview. Expand in Data Studio

This is a dataset automatically generated from ocaml/opam:archive. You can find more information about this dataset in this blogpost.

Downloads last month
341