interplane.Get Omega
Read in your language

physics-mv

FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.

Brought by drakestapleton

branch main Branches Tags History

physics-mv / forge / v2 / forge_sha256.h

19 lines · 709 bytes Raw Blame History
1/* forge/v2/forge_sha256.h -- FORGE V2 private view of the pinned SHA-256.
2 *
3 * The implementation lives in ../../sha256_clean.c (audited and pinned into
4 * the firmware builds). Do not modify it and do not add a second exported
5 * SHA-256 (the symbols would clash at link time). This header only
6 * forward-declares the one entry point FORGE V2 uses.
7 *
8 * sha256_compute returns the eight state words; FORGE V2 packs them
9 * big-endian into the standard 32-byte digest (see forge_v2_sha256()).
10 */
11#ifndef FORGE_V2_SHA256_H
12#define FORGE_V2_SHA256_H
13
14#include <stdint.h>
15
16void sha256_compute(const uint8_t *data, uint64_t len, uint8_t scratch_buf[128],
17 uint32_t out_digest[8]);
18
19#endif