package jasmin
Compiler for High-Assurance and High-Speed Cryptography
Install
dune-project
Dependency
Authors
Maintainers
Sources
jasmin-compiler-v2025.06.1.tar.bz2
sha256=e92b42fa69da7c730b0c26dacf842a72b4febcaf4f2157a1dc18b3cce1f859fa
doc/src/jasmin.jasmin/syscall_ocaml.ml.html
Source file syscall_ocaml.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
type state = unit (* FIXME syscall : I don't think that this implementation is a good one. But it allows to have something quick for the evaluator, so it is not crutial *) let _ = Random.self_init () let initial_state () = () let random_char _ = let n = Random.int 256 in Word0.wrepr Wsize.U8 (CoreConv.cz_of_int n) let get_random (s : state) (z:BinNums.coq_Z) = let n = CoreConv.int_of_cz z in assert (0 <= n); s, List.init n random_char let sc_sem : state Syscall.syscall_sem = get_random
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>