HF RL Explorer

The library currently includes hash functions for SHA-256, SHA-512, and SHA-3, but the Chinese national…

The library currently includes hash functions for SHA-256, SHA-512, and SHA-3, but the Chinese national…: a task in LegoFlow-SWE (Harbor dataset). We need an SM3 implementation that: - Follows the same external API pattern as the existing hashes, providing a sm3 hash function that writes a 32‑byte…

The task

We need an SM3 implementation that: - Follows the same external API pattern as the existing hashes, providing a `sm3_hash` function that writes a 32‑byte digest for an arbitrary‑length message. - Contains a pure software reference implementation that works on both RV32 and RV64 without relying on any cryptographic…

Part of Lego-X/LegoFlow-SWE.