Skip to main content

build_gmac_counter

Function build_gmac_counter 

Source
fn build_gmac_counter(iv: &[u8; 12]) -> [u8; 16]
Expand description

Builds the 128-bit counter block for GOST GMAC. The counter is IV (12 bytes) || 0x00000001 (4 bytes).