batch_constant_time_eq

Function batch_constant_time_eq 

Source
pub fn batch_constant_time_eq(pairs: &[(&[u8], &[u8])]) -> Vec<bool>
Expand description

Batch constant-time comparison

Compares multiple pairs of slices in a single operation. All comparisons execute in constant time regardless of where mismatches occur.

§Arguments

  • pairs - Slice of (a, b) tuples to compare

§Returns

Vector of boolean results (same length as input pairs)