Skip to content

feat(u32): add checked byte-to-bit adapter - #74

Open
brenorb wants to merge 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/u32-byte-bit-adapter
Open

brenorb wants to merge 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/u32-byte-bit-adapter

Conversation

@brenorb

@brenorb brenorb commented Sep 11, 2026

Copy link
Copy Markdown

Summary

  • add u32_to_le_bits() for four checked byte limbs to 32 little-endian bit items
  • reject numeric byte values outside 0..=255 and test all byte values plus boundary patterns
  • record the 520-byte / 9-byte witness / 35-item peak / 370-opcode profile

Validation

  • cargo test --locked arithmetic::u32::bits::tests -- --nocapture
  • python3 tools/kb.py validate
  • cargo test --locked --test primitive_metrics
  • cargo fmt --check
  • git diff --check

The full repository test suite was not run.

@brenorb
brenorb force-pushed the feat/u32-byte-bit-adapter branch from 08154b9 to fff07d1 Compare September 11, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant