omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / qualification / security673 / relational / evidence / run4 / consumer / 4.src
| 1 | fn dseqhash s view uchar 65536 p ulong h view uchar 32 to ulong |
| 2 | for k ulong 32 |
| 3 | if ne get h k get s add p k |
| 4 | ret 0 |
| 5 | end |
| 6 | end |
| 7 | ret 1 |
| 8 | end |
| 9 | note SPDX-License-Identifier: Apache-2.0 |
| 10 | note Audit-only driver for byte-exact dseqhash excerpt, never linked into omnet. |
| 11 | fn main to int |
| 12 | s = new uchar 65536 0 |
| 13 | h = new uchar 32 0 |
| 14 | put h 0 uchar sub ulong argcnt 1 |
| 15 | ret int dseqhash s 0 h |
| 16 | end |