oa::crypto::hash::verify_merkle_proofs
Verify version-one SHAKE-256 inclusion proof frames on the device. Leaves are U8 [proof_count, 32]; proofs have the frame layout returned by leaf_count must come from trusted tree metadata, not the proof header. merkle_proofs. Roots are U8 [1, 32] or [proof_count, 32]. Return rank-one U32 flags, exactly zero or one per row. Malformed headers, indices, duplicate-last paths, tampered leaves or roots return zero. Empty batches return ready empty storage; no input content is read on the host. Errors Rejects metadata, ownership, address limits, allocation or recording failures.
Function Documentation
Verify version-one SHAKE-256 inclusion proof frames on the device. Leaves are U8 [proof_count, 32]; proofs have the frame layout returned by leaf_count must come from trusted tree metadata, not the proof header. merkle_proofs. Roots are U8 [1, 32] or [proof_count, 32]. Return rank-one U32 flags, exactly zero or one per row. Malformed headers, indices, duplicate-last paths, tampered leaves or roots return zero. Empty batches return ready empty storage; no input content is read on the host. Errors Rejects metadata, ownership, address limits, allocation or recording failures.